diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /tools | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff) |
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qa/cppunit/test_urlobj.cxx | 4 | ||||
-rw-r--r-- | tools/source/generic/poly.cxx | 8 | ||||
-rw-r--r-- | tools/source/inet/inetstrm.cxx | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/tools/qa/cppunit/test_urlobj.cxx b/tools/qa/cppunit/test_urlobj.cxx index 5d539eec720e..12d57c6abb53 100644 --- a/tools/qa/cppunit/test_urlobj.cxx +++ b/tools/qa/cppunit/test_urlobj.cxx @@ -43,11 +43,11 @@ namespace tools_urlobj public: // initialise your test code values here. - void setUp( ) + void setUp( ) SAL_OVERRIDE { } - void tearDown( ) + void tearDown( ) SAL_OVERRIDE { } diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index c5a45db86ede..3d7c1fb788dd 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -1081,8 +1081,8 @@ public: virtual ~ImplPolygonPointFilter() {} - virtual void LastPoint(); - virtual void Input( const Point& rPoint ); + virtual void LastPoint() SAL_OVERRIDE; + virtual void Input( const Point& rPoint ) SAL_OVERRIDE; }; void ImplPolygonPointFilter::Input( const Point& rPoint ) @@ -1132,8 +1132,8 @@ public: bool IsPolygon() const { return maFirstPoint == maLastPoint; } - virtual void Input( const Point& rPoint ); - virtual void LastPoint(); + virtual void Input( const Point& rPoint ) SAL_OVERRIDE; + virtual void LastPoint() SAL_OVERRIDE; }; inline int ImplEdgePointFilter::VisibleSide( const Point& rPoint ) const diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx index 71c8e474b1df..bb3437494595 100644 --- a/tools/source/inet/inetstrm.cxx +++ b/tools/source/inet/inetstrm.cxx @@ -48,7 +48,7 @@ class INetMessageEncodeQPStream_Impl : public INetMessageIStream INetMessageStreamState eState; bool bDone; - virtual int GetMsgLine(sal_Char* pData, sal_uIntPtr nSize); + virtual int GetMsgLine(sal_Char* pData, sal_uIntPtr nSize) SAL_OVERRIDE; public: INetMessageEncodeQPStream_Impl(sal_uIntPtr nMsgBufferSize = 1024); @@ -64,7 +64,7 @@ class INetMessageDecodeQPStream_Impl : public INetMessageOStream sal_uIntPtr nTokBufLen; sal_Char pTokBuffer[4]; - virtual int PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize); + virtual int PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize) SAL_OVERRIDE; public: INetMessageDecodeQPStream_Impl(void); @@ -88,7 +88,7 @@ class INetMessageEncode64Stream_Impl : public INetMessageIStream bool bDone; - virtual int GetMsgLine(sal_Char* pData, sal_uIntPtr nSize); + virtual int GetMsgLine(sal_Char* pData, sal_uIntPtr nSize) SAL_OVERRIDE; public: INetMessageEncode64Stream_Impl(sal_uIntPtr nMsgBufferSize = 2048); @@ -105,7 +105,7 @@ class INetMessageDecode64Stream_Impl : public INetMessageOStream sal_Char* pMsgRead; sal_Char* pMsgWrite; - virtual int PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize); + virtual int PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize) SAL_OVERRIDE; public: INetMessageDecode64Stream_Impl(sal_uIntPtr nMsgBufferSize = 128); |