diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
commit | 567ef6d5782cdb729b49005caf6005610ce03e22 (patch) | |
tree | 7e3be1da41382e555d9091914ef7e064852a4fd4 /sw/inc/viscrs.hxx | |
parent | c36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff) |
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'sw/inc/viscrs.hxx')
-rw-r--r-- | sw/inc/viscrs.hxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx index 89a0ffcc6c93..6dc470370a7c 100644 --- a/sw/inc/viscrs.hxx +++ b/sw/inc/viscrs.hxx @@ -127,7 +127,7 @@ public: SwShellCrsr( SwShellCrsr& ); virtual ~SwShellCrsr(); - virtual void FillRects(); // For Table- und normal cursors. + virtual void FillRects() SAL_OVERRIDE; // For Table- und normal cursors. void Show(); // Update and display all selections. void Hide(); // Hide all selections. @@ -142,19 +142,19 @@ public: const Point& GetEndPos() const { return( SwPaM::End() == pPt ? aPtPt : aMkPt ); } Point& GetEndPos() { return( SwPaM::End() == pPt ? aPtPt : aMkPt ); } - virtual void SetMark(); + virtual void SetMark() SAL_OVERRIDE; - virtual SwCursor* Create( SwPaM* pRing = 0 ) const; + virtual SwCursor* Create( SwPaM* pRing = 0 ) const SAL_OVERRIDE; - virtual short MaxReplaceArived(); //returns RET_YES/RET_CANCEL/RET_NO - virtual void SaveTblBoxCntnt( const SwPosition* pPos = 0 ); + virtual short MaxReplaceArived() SAL_OVERRIDE; //returns RET_YES/RET_CANCEL/RET_NO + virtual void SaveTblBoxCntnt( const SwPosition* pPos = 0 ) SAL_OVERRIDE; bool UpDown( bool bUp, sal_uInt16 nCnt = 1 ); // true: Cursor can be set to this position. - virtual bool IsAtValidPos( bool bPoint = true ) const; + virtual bool IsAtValidPos( bool bPoint = true ) const SAL_OVERRIDE; - virtual bool IsReadOnlyAvailable() const; + virtual bool IsReadOnlyAvailable() const SAL_OVERRIDE; DECL_FIXEDMEMPOOL_NEWDEL( SwShellCrsr ) }; @@ -172,19 +172,19 @@ public: const SwPosition &rPtPos, const Point& rPtPt ); virtual ~SwShellTableCrsr(); - virtual void FillRects(); // For table and normal cursor. + virtual void FillRects() SAL_OVERRIDE; // For table and normal cursor. // Check if SPoint is within table SSelection. bool IsInside( const Point& rPt ) const; - virtual void SetMark(); - virtual SwCursor* Create( SwPaM* pRing = 0 ) const; + virtual void SetMark() SAL_OVERRIDE; + virtual SwCursor* Create( SwPaM* pRing = 0 ) const SAL_OVERRIDE; - virtual short MaxReplaceArived(); //returns RET_YES/RET_CANCEL/RET_NO - virtual void SaveTblBoxCntnt( const SwPosition* pPos = 0 ); + virtual short MaxReplaceArived() SAL_OVERRIDE; //returns RET_YES/RET_CANCEL/RET_NO + virtual void SaveTblBoxCntnt( const SwPosition* pPos = 0 ) SAL_OVERRIDE; // true: Cursor can be set to this position. - virtual bool IsAtValidPos( bool bPoint = true ) const; + virtual bool IsAtValidPos( bool bPoint = true ) const SAL_OVERRIDE; }; |