summaryrefslogtreecommitdiff
path: root/sw/source/core/uibase/inc/content.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
commit567ef6d5782cdb729b49005caf6005610ce03e22 (patch)
tree7e3be1da41382e555d9091914ef7e064852a4fd4 /sw/source/core/uibase/inc/content.hxx
parentc36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (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/source/core/uibase/inc/content.hxx')
-rw-r--r--sw/source/core/uibase/inc/content.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/uibase/inc/content.hxx b/sw/source/core/uibase/inc/content.hxx
index 2700bd261e83..b4a6c92f6988 100644
--- a/sw/source/core/uibase/inc/content.hxx
+++ b/sw/source/core/uibase/inc/content.hxx
@@ -36,7 +36,7 @@ class SwRangeRedline;
class SwPopup : public PopupMenu
{
sal_uInt16 nCurId;
- virtual void Select(){nCurId = GetCurItemId();}
+ virtual void Select() SAL_OVERRIDE {nCurId = GetCurItemId();}
public:
SwPopup() :
@@ -96,7 +96,7 @@ public:
: SwContent( pCnt, rName, nYPos ), sURL( rURL ), pINetAttr( pAttr )
{}
- virtual sal_Bool IsProtect() const;
+ virtual sal_Bool IsProtect() const SAL_OVERRIDE;
const OUString& GetURL() { return sURL; }
const SwTxtINetFmt* GetINetAttr() { return pINetAttr; }
};
@@ -128,7 +128,7 @@ public:
const SwFmtFld* GetPostIt() { return pFld; }
SwRangeRedline* GetRedline() { return pRedline; }
- virtual sal_Bool IsProtect() const;
+ virtual sal_Bool IsProtect() const SAL_OVERRIDE;
bool IsPostIt() {return mbPostIt; }
};