Kaydet (Commit) 62d551cd authored tarafından Miklos Vajna's avatar Miklos Vajna

unused WRITERFILTER_RESOURCEMODEL_DLLPUBLIC

Change-Id: Ia09cd8738e7bfbb942690efb193c0de30e93f69c
üst f07bdba6
...@@ -40,12 +40,6 @@ ...@@ -40,12 +40,6 @@
#define WRITERFILTER_RTFTOK_DLLPUBLIC SAL_DLLPUBLIC_IMPORT #define WRITERFILTER_RTFTOK_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif #endif
#if defined(WRITERFILTER_RESOURCEMODEL_DLLIMPLEMENTATION)
#define WRITERFILTER_RESOURCEMODEL_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define WRITERFILTER_RESOURCEMODEL_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#if defined(WRITERFILTER_WRITERFILTER_DLLIMPLEMENTATION) #if defined(WRITERFILTER_WRITERFILTER_DLLIMPLEMENTATION)
#define WRITERFILTER_WRITERFILTER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT #define WRITERFILTER_WRITERFILTER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else #else
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
namespace writerfilter { namespace writerfilter {
namespace resourcemodel { namespace resourcemodel {
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Fraction class Fraction
{ {
public: public:
explicit Fraction(sal_Int32 nNumerator, sal_Int32 nDenominator = 1); explicit Fraction(sal_Int32 nNumerator, sal_Int32 nDenominator = 1);
......
...@@ -29,7 +29,7 @@ namespace writerfilter ...@@ -29,7 +29,7 @@ namespace writerfilter
{ {
#ifdef DEBUG_LOGGING #ifdef DEBUG_LOGGING
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC LoggedResourcesHelper class LoggedResourcesHelper
{ {
public: public:
explicit LoggedResourcesHelper(TagLogger::Pointer_t pLogger, const string & sPrefix); explicit LoggedResourcesHelper(TagLogger::Pointer_t pLogger, const string & sPrefix);
...@@ -48,7 +48,7 @@ private: ...@@ -48,7 +48,7 @@ private:
}; };
#endif #endif
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC LoggedStream : public Stream class LoggedStream : public Stream
{ {
public: public:
explicit LoggedStream(TagLogger::Pointer_t pLogger, const string & sPrefix); explicit LoggedStream(TagLogger::Pointer_t pLogger, const string & sPrefix);
...@@ -92,7 +92,7 @@ protected: ...@@ -92,7 +92,7 @@ protected:
#endif #endif
}; };
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC LoggedProperties : public Properties class LoggedProperties : public Properties
{ {
public: public:
explicit LoggedProperties(TagLogger::Pointer_t pLogger, const string & sPrefix); explicit LoggedProperties(TagLogger::Pointer_t pLogger, const string & sPrefix);
...@@ -110,7 +110,7 @@ protected: ...@@ -110,7 +110,7 @@ protected:
#endif #endif
}; };
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC LoggedTable : public Table class LoggedTable : public Table
{ {
public: public:
explicit LoggedTable(TagLogger::Pointer_t pLogger, const string & sPrefix); explicit LoggedTable(TagLogger::Pointer_t pLogger, const string & sPrefix);
......
...@@ -31,7 +31,7 @@ namespace writerfilter ...@@ -31,7 +31,7 @@ namespace writerfilter
{ {
using namespace ::std; using namespace ::std;
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC QNameToString class QNameToString
{ {
typedef boost::shared_ptr<QNameToString> Pointer_t; typedef boost::shared_ptr<QNameToString> Pointer_t;
typedef map < Id, string > Map; typedef map < Id, string > Map;
...@@ -54,7 +54,7 @@ public: ...@@ -54,7 +54,7 @@ public:
string operator()(Id qName); string operator()(Id qName);
}; };
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC SprmIdToString class SprmIdToString
{ {
typedef boost::shared_ptr<SprmIdToString> Pointer_t; typedef boost::shared_ptr<SprmIdToString> Pointer_t;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
namespace writerfilter { namespace writerfilter {
namespace resourcemodel { namespace resourcemodel {
void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC resolveSprmProps(Properties & rHandler, Sprm & rSprm); void resolveSprmProps(Properties & rHandler, Sprm & rSprm);
}} }}
......
...@@ -41,7 +41,7 @@ namespace writerfilter ...@@ -41,7 +41,7 @@ namespace writerfilter
~IdToString() {} ~IdToString() {}
}; };
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC TagLogger class TagLogger
{ {
public: public:
typedef boost::shared_ptr<TagLogger> Pointer_t; typedef boost::shared_ptr<TagLogger> Pointer_t;
......
...@@ -116,7 +116,7 @@ class Sprm; ...@@ -116,7 +116,7 @@ class Sprm;
/** /**
Handler for properties. Handler for properties.
*/ */
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Properties class Properties
{ {
public: public:
/** /**
...@@ -141,7 +141,7 @@ protected: ...@@ -141,7 +141,7 @@ protected:
/** /**
Handler for tables. Handler for tables.
*/ */
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Table class Table
{ {
public: public:
typedef boost::shared_ptr<Table> Pointer_t; typedef boost::shared_ptr<Table> Pointer_t;
...@@ -161,7 +161,7 @@ protected: ...@@ -161,7 +161,7 @@ protected:
/** /**
Handler for binary objects. Handler for binary objects.
*/ */
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC BinaryObj class BinaryObj
{ {
public: public:
/** /**
...@@ -181,7 +181,7 @@ protected: ...@@ -181,7 +181,7 @@ protected:
/** /**
Handler for a stream. Handler for a stream.
*/ */
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Stream class Stream
{ {
public: public:
...@@ -291,7 +291,7 @@ protected: ...@@ -291,7 +291,7 @@ protected:
makes no sense for a certain value, e.g. the integer value of a makes no sense for a certain value, e.g. the integer value of a
string. string.
*/ */
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Value class Value
{ {
public: public:
/** /**
...@@ -343,7 +343,7 @@ public: ...@@ -343,7 +343,7 @@ public:
An SPRM. An SPRM.
*/ */
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Sprm class Sprm
{ {
public: public:
SAL_WNODEPRECATED_DECLARATIONS_PUSH SAL_WNODEPRECATED_DECLARATIONS_PUSH
......
...@@ -34,7 +34,7 @@ using ::std::stack; ...@@ -34,7 +34,7 @@ using ::std::stack;
using ::std::string; using ::std::string;
using ::std::vector; using ::std::vector;
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC XPathLogger class XPathLogger
{ {
typedef boost::unordered_map<string, unsigned int> TokenMap_t; typedef boost::unordered_map<string, unsigned int> TokenMap_t;
typedef boost::shared_ptr<TokenMap_t> TokenMapPointer_t; typedef boost::shared_ptr<TokenMap_t> TokenMapPointer_t;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
namespace writerfilter { namespace writerfilter {
using namespace ::std; using namespace ::std;
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Exception class Exception
{ {
string mText; string mText;
...@@ -36,13 +36,13 @@ public: ...@@ -36,13 +36,13 @@ public:
const string & getText() const { return mText; } const string & getText() const { return mText; }
}; };
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC ExceptionNotFound : public Exception class ExceptionNotFound : public Exception
{ {
public: public:
ExceptionNotFound(string text) : Exception(text) {} ExceptionNotFound(string text) : Exception(text) {}
}; };
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC ExceptionOutOfBounds : public Exception class ExceptionOutOfBounds : public Exception
{ {
public: public:
ExceptionOutOfBounds(string text) : Exception(text) {} ExceptionOutOfBounds(string text) : Exception(text) {}
......
...@@ -29,10 +29,10 @@ namespace writerfilter ...@@ -29,10 +29,10 @@ namespace writerfilter
using namespace ::std; using namespace ::std;
using namespace ::com::sun::star; using namespace ::com::sun::star;
string WRITERFILTER_RESOURCEMODEL_DLLPUBLIC xmlify(const string & str); string xmlify(const string & str);
#if OSL_DEBUG_LEVEL > 1 #if OSL_DEBUG_LEVEL > 1
string WRITERFILTER_RESOURCEMODEL_DLLPUBLIC toString(uno::Reference< text::XTextRange > textRange); string toString(uno::Reference< text::XTextRange > textRange);
#endif #endif
} }
#endif // INCLUDED_RESOURCEMODEL_UTIL_HXX #endif // INCLUDED_RESOURCEMODEL_UTIL_HXX
......
...@@ -23,7 +23,7 @@ namespace writerfilter ...@@ -23,7 +23,7 @@ namespace writerfilter
QNameToString::Pointer_t QNameToString::pInstance; QNameToString::Pointer_t QNameToString::pInstance;
QNameToString::Pointer_t WRITERFILTER_RESOURCEMODEL_DLLPUBLIC QNameToString::Instance() QNameToString::Pointer_t QNameToString::Instance()
{ {
if (pInstance.get() == NULL) if (pInstance.get() == NULL)
pInstance = QNameToString::Pointer_t(new QNameToString()); pInstance = QNameToString::Pointer_t(new QNameToString());
...@@ -31,7 +31,7 @@ QNameToString::Pointer_t WRITERFILTER_RESOURCEMODEL_DLLPUBLIC QNameToString::Ins ...@@ -31,7 +31,7 @@ QNameToString::Pointer_t WRITERFILTER_RESOURCEMODEL_DLLPUBLIC QNameToString::Ins
return pInstance; return pInstance;
} }
string WRITERFILTER_RESOURCEMODEL_DLLPUBLIC QNameToString::operator()(Id qName) string QNameToString::operator()(Id qName)
{ {
string sResult; string sResult;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment