summaryrefslogtreecommitdiff
path: root/sw/source/ui/index
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/ui/index
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/ui/index')
-rw-r--r--sw/source/ui/index/cnttab.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 00872409616f..8009c364671d 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -166,11 +166,11 @@ class SwEntryBrowseBox : public SwEntryBrowseBox_Base
void SetModified() {bModified = true;}
protected:
- virtual bool SeekRow( long nRow );
- virtual void PaintCell(OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColId) const;
- virtual void InitController(::svt::CellControllerRef& rController, long nRow, sal_uInt16 nCol);
- virtual ::svt::CellController* GetController(long nRow, sal_uInt16 nCol);
- virtual bool SaveModified();
+ virtual bool SeekRow( long nRow ) SAL_OVERRIDE;
+ virtual void PaintCell(OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColId) const SAL_OVERRIDE;
+ virtual void InitController(::svt::CellControllerRef& rController, long nRow, sal_uInt16 nCol) SAL_OVERRIDE;
+ virtual ::svt::CellController* GetController(long nRow, sal_uInt16 nCol) SAL_OVERRIDE;
+ virtual bool SaveModified() SAL_OVERRIDE;
std::vector<long> GetOptimalColWidths() const;
@@ -179,11 +179,11 @@ public:
void ReadEntries(SvStream& rInStr);
void WriteEntries(SvStream& rOutStr);
- bool IsModified()const;
+ bool IsModified()const SAL_OVERRIDE;
- virtual OUString GetCellText( long nRow, sal_uInt16 nColumn ) const;
- virtual void Resize();
- virtual Size GetOptimalSize() const;
+ virtual OUString GetCellText( long nRow, sal_uInt16 nColumn ) const SAL_OVERRIDE;
+ virtual void Resize() SAL_OVERRIDE;
+ virtual Size GetOptimalSize() const SAL_OVERRIDE;
};
class SwAutoMarkDlg_Impl : public ModalDialog
@@ -554,9 +554,9 @@ class SwIndexTreeLB : public SvSimpleTable
{
public:
SwIndexTreeLB(SvSimpleTableContainer& rParent, WinBits nBits = 0);
- virtual void KeyInput( const KeyEvent& rKEvt );
- virtual void Resize();
- virtual sal_IntPtr GetTabPos( SvTreeListEntry*, SvLBoxTab* );
+ virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
+ virtual void Resize() SAL_OVERRIDE;
+ virtual sal_IntPtr GetTabPos( SvTreeListEntry*, SvLBoxTab* ) SAL_OVERRIDE;
void setColSizes();
};
@@ -1501,8 +1501,8 @@ public:
{
}
- virtual void KeyInput( const KeyEvent& rKEvt );
- virtual void RequestHelp( const HelpEvent& rHEvt );
+ virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
+ virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE;
bool IsNextControl() const {return bNextControl;}
void SetPrevNextLink( const Link& rLink ) {aPrevNextControlLink = rLink;}
@@ -1586,8 +1586,8 @@ public:
{
}
- virtual void KeyInput( const KeyEvent& rKEvt );
- virtual void RequestHelp( const HelpEvent& rHEvt );
+ virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
+ virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE;
bool IsNextControl() const {return bNextControl;}
void SetPrevNextLink(const Link& rLink) {aPrevNextControlLink = rLink;}