diff options
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/b3dtrans.hxx | 6 | ||||
-rw-r--r-- | include/tools/config.hxx | 2 | ||||
-rw-r--r-- | include/tools/errinf.hxx | 12 | ||||
-rw-r--r-- | include/tools/globname.hxx | 6 | ||||
-rw-r--r-- | include/tools/inetmime.hxx | 2 | ||||
-rw-r--r-- | include/tools/inetmsg.hxx | 4 | ||||
-rw-r--r-- | include/tools/line.hxx | 2 | ||||
-rw-r--r-- | include/tools/mempool.hxx | 2 | ||||
-rw-r--r-- | include/tools/multisel.hxx | 4 | ||||
-rw-r--r-- | include/tools/rc.hxx | 2 | ||||
-rw-r--r-- | include/tools/resary.hxx | 2 | ||||
-rw-r--r-- | include/tools/resid.hxx | 2 | ||||
-rw-r--r-- | include/tools/resmgr.hxx | 2 | ||||
-rw-r--r-- | include/tools/simplerm.hxx | 2 | ||||
-rw-r--r-- | include/tools/svborder.hxx | 2 | ||||
-rw-r--r-- | include/tools/unqidx.hxx | 2 | ||||
-rw-r--r-- | include/tools/wldcrd.hxx | 2 | ||||
-rw-r--r-- | include/tools/zcodec.hxx | 2 |
18 files changed, 29 insertions, 29 deletions
diff --git a/include/tools/b3dtrans.hxx b/include/tools/b3dtrans.hxx index 9787cb76419a..ae50f4596ac6 100644 --- a/include/tools/b3dtrans.hxx +++ b/include/tools/b3dtrans.hxx @@ -30,7 +30,7 @@ #include <tools/toolsdllapi.h> /// Transformation sets for 3D output -class TOOLS_DLLPUBLIC B3dTransformationSet +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC B3dTransformationSet { private: // Object Matrix Object -> World @@ -147,7 +147,7 @@ protected: Uses a simplified model, in which a point is described using a View Reference Point (VRP). */ -class TOOLS_DLLPUBLIC B3dViewport : public B3dTransformationSet +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC B3dViewport : public B3dTransformationSet { private: basegfx::B3DPoint aVRP; // View Reference Point @@ -174,7 +174,7 @@ protected: // B3D camera -class TOOLS_DLLPUBLIC B3dCamera : public B3dViewport +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC B3dCamera : public B3dViewport { private: basegfx::B3DPoint aPosition; diff --git a/include/tools/config.hxx b/include/tools/config.hxx index 845dd08917d4..776799d3f7df 100644 --- a/include/tools/config.hxx +++ b/include/tools/config.hxx @@ -25,7 +25,7 @@ struct ImplConfigData; struct ImplGroupData; -class TOOLS_DLLPUBLIC Config +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC Config { private: OUString maFileName; diff --git a/include/tools/errinf.hxx b/include/tools/errinf.hxx index 3a9af9a568b8..9559eecfc918 100644 --- a/include/tools/errinf.hxx +++ b/include/tools/errinf.hxx @@ -34,7 +34,7 @@ namespace vcl { class Window; } class DynamicErrorInfo_Impl; class ErrorHandler_Impl; -class TOOLS_DLLPUBLIC ErrorInfo +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ErrorInfo { private: sal_uIntPtr lUserId; @@ -50,7 +50,7 @@ public: static ErrorInfo* GetErrorInfo(sal_uIntPtr); }; -class TOOLS_DLLPUBLIC DynamicErrorInfo : public ErrorInfo +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC DynamicErrorInfo : public ErrorInfo { friend class DynamicErrorInfo_Impl; @@ -66,7 +66,7 @@ public: sal_uInt16 GetDialogMask() const; }; -class TOOLS_DLLPUBLIC StringErrorInfo : public DynamicErrorInfo +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC StringErrorInfo : public DynamicErrorInfo { private: OUString aString; @@ -79,7 +79,7 @@ public: const OUString& GetErrorString() const { return aString; } }; -class TOOLS_DLLPUBLIC TwoStringErrorInfo: public DynamicErrorInfo +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC TwoStringErrorInfo: public DynamicErrorInfo { private: OUString aArg1; @@ -96,7 +96,7 @@ public: }; struct ErrorContextImpl; -class TOOLS_DLLPUBLIC ErrorContext +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ErrorContext { friend class ErrorHandler; @@ -119,7 +119,7 @@ typedef sal_uInt16 WindowDisplayErrorFunc( typedef void BasicDisplayErrorFunc( const OUString &rErr, const OUString &rAction); -class TOOLS_DLLPUBLIC ErrorHandler +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ErrorHandler { friend class ErrorHandler_Impl; diff --git a/include/tools/globname.hxx b/include/tools/globname.hxx index 76bcef149640..b8d73d730ec1 100644 --- a/include/tools/globname.hxx +++ b/include/tools/globname.hxx @@ -25,7 +25,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <o3tl/cow_wrapper.hxx> -struct SvGUID +struct SAL_WARN_UNUSED SvGUID { sal_uInt32 Data1; sal_uInt16 Data2; @@ -33,7 +33,7 @@ struct SvGUID sal_uInt8 Data4[8]; }; -struct ImpSvGlobalName +struct SAL_WARN_UNUSED ImpSvGlobalName { struct SvGUID szData; @@ -52,7 +52,7 @@ struct ImpSvGlobalName class SvStream; -class TOOLS_DLLPUBLIC SvGlobalName +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC SvGlobalName { ::o3tl::cow_wrapper< ImpSvGlobalName > pImp; diff --git a/include/tools/inetmime.hxx b/include/tools/inetmime.hxx index 3b737c889622..69e9c1ce451f 100644 --- a/include/tools/inetmime.hxx +++ b/include/tools/inetmime.hxx @@ -59,7 +59,7 @@ typedef std::unordered_map<OString, INetContentTypeParameter, OStringHash> INetContentTypeParameterList; -class TOOLS_DLLPUBLIC INetMIME +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC INetMIME { public: /** Check for US-ASCII visible character. diff --git a/include/tools/inetmsg.hxx b/include/tools/inetmsg.hxx index b62b53e609ef..6bfe6bab92f7 100644 --- a/include/tools/inetmsg.hxx +++ b/include/tools/inetmsg.hxx @@ -31,7 +31,7 @@ class DateTime; -class INetMessageHeader +class SAL_WARN_UNUSED INetMessageHeader { OString m_aName; OString m_aValue; @@ -70,7 +70,7 @@ enum class InetMessageMime NUMHDR = 4, }; -class TOOLS_DLLPUBLIC INetMIMEMessage +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC INetMIMEMessage { ::std::vector< INetMessageHeader* > m_aHeaderList; diff --git a/include/tools/line.hxx b/include/tools/line.hxx index ec023abfc516..58b94e0c68c0 100644 --- a/include/tools/line.hxx +++ b/include/tools/line.hxx @@ -25,7 +25,7 @@ namespace tools { -class TOOLS_DLLPUBLIC Line +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC Line { private: Point maStart; diff --git a/include/tools/mempool.hxx b/include/tools/mempool.hxx index 4ff29d2d950d..a3b13f228ca1 100644 --- a/include/tools/mempool.hxx +++ b/include/tools/mempool.hxx @@ -26,7 +26,7 @@ struct FixedMemPool_Impl; -class TOOLS_DLLPUBLIC FixedMemPool +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC FixedMemPool { FixedMemPool_Impl * m_pImpl; char const * m_pTypeName; diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index 7e54c4db97fd..4671cfd9d2f0 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -30,7 +30,7 @@ typedef ::std::vector< Range* > ImpSelList; #define SFX_ENDOFSELECTION ULONG_MAX -class TOOLS_DLLPUBLIC MultiSelection +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC MultiSelection { private: ImpSelList aSels; // array of SV-selections @@ -77,7 +77,7 @@ public: const Range& GetRange( size_t nRange ) const { return *aSels[nRange]; } }; -class TOOLS_DLLPUBLIC StringRangeEnumerator +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC StringRangeEnumerator { struct Range { diff --git a/include/tools/rc.hxx b/include/tools/rc.hxx index ebf946a07e9a..3636d60c4896 100644 --- a/include/tools/rc.hxx +++ b/include/tools/rc.hxx @@ -22,7 +22,7 @@ #include <tools/toolsdllapi.h> #include <tools/resmgr.hxx> -class TOOLS_DLLPUBLIC Resource +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC Resource { protected: ResMgr* m_pResMgr; diff --git a/include/tools/resary.hxx b/include/tools/resary.hxx index 0cec8eb351b8..5a935c271066 100644 --- a/include/tools/resary.hxx +++ b/include/tools/resary.hxx @@ -27,7 +27,7 @@ class ResId; -class TOOLS_DLLPUBLIC ResStringArray +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ResStringArray { struct Impl; std::unique_ptr<Impl> mpImpl; diff --git a/include/tools/resid.hxx b/include/tools/resid.hxx index 9dd7b22abf2e..c39dd675da05 100644 --- a/include/tools/resid.hxx +++ b/include/tools/resid.hxx @@ -32,7 +32,7 @@ typedef sal_uInt32 RESOURCE_TYPE; class ResMgr; -class ResId +class SAL_WARN_UNUSED ResId { /* Consider two cases: diff --git a/include/tools/resmgr.hxx b/include/tools/resmgr.hxx index 024c745dbd23..eec8d1a2c209 100644 --- a/include/tools/resmgr.hxx +++ b/include/tools/resmgr.hxx @@ -80,7 +80,7 @@ struct ImpRCStack void Init( ResMgr * pMgr, const Resource * pObj, sal_uInt32 nId ); }; -class TOOLS_DLLPUBLIC ResMgr +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ResMgr { private: InternalResMgr* pImpRes; diff --git a/include/tools/simplerm.hxx b/include/tools/simplerm.hxx index 79e267ad07f2..d82764f70f18 100644 --- a/include/tools/simplerm.hxx +++ b/include/tools/simplerm.hxx @@ -31,7 +31,7 @@ class InternalResMgr; -class TOOLS_DLLPUBLIC SimpleResMgr final +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC SimpleResMgr final { osl::Mutex m_aAccessSafety; std::unique_ptr<InternalResMgr> diff --git a/include/tools/svborder.hxx b/include/tools/svborder.hxx index 50ee5814139c..95b1ff48ca80 100644 --- a/include/tools/svborder.hxx +++ b/include/tools/svborder.hxx @@ -23,7 +23,7 @@ #include <tools/toolsdllapi.h> #include <tools/gen.hxx> -class TOOLS_DLLPUBLIC SvBorder +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC SvBorder { long nTop, nRight, nBottom, nLeft; diff --git a/include/tools/unqidx.hxx b/include/tools/unqidx.hxx index 2a83ed70ca72..2c0543256dcc 100644 --- a/include/tools/unqidx.hxx +++ b/include/tools/unqidx.hxx @@ -49,7 +49,7 @@ public: }; template<typename T> -class UniqueIndex : private UniqueIndexImpl +class SAL_WARN_UNUSED UniqueIndex : private UniqueIndexImpl { public: using UniqueIndexImpl::Index; diff --git a/include/tools/wldcrd.hxx b/include/tools/wldcrd.hxx index 0e42b43c8502..9ff2a5b8ffd6 100644 --- a/include/tools/wldcrd.hxx +++ b/include/tools/wldcrd.hxx @@ -23,7 +23,7 @@ #include <osl/thread.h> #include <rtl/ustring.hxx> -class TOOLS_DLLPUBLIC WildCard +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC WildCard { private: OString aWildString; diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx index d3c17792092d..f12ee4a62830 100644 --- a/include/tools/zcodec.hxx +++ b/include/tools/zcodec.hxx @@ -33,7 +33,7 @@ class SvStream; // * BeginCompression, Write*, EndCompression // * BeginCompression, Read*, EndCompression // * BeginCompression, ReadAsynchron*, EndCompression -class TOOLS_DLLPUBLIC ZCodec +class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ZCodec { enum State { STATE_INIT, STATE_DECOMPRESS, STATE_COMPRESS }; State meState; |