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 /include/svx/fntctrl.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 'include/svx/fntctrl.hxx')
-rw-r--r-- | include/svx/fntctrl.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index b431c418a123..aaa73142dd7f 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -50,8 +50,8 @@ public: SvxFontPrevWindow(Window* pParent, WinBits nStyle); virtual ~SvxFontPrevWindow(); - virtual void StateChanged( StateChangedType nStateChange ); - virtual void DataChanged( const DataChangedEvent& rDCEvt ); + virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; + virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; void Init( const SfxItemSet& rSet ); @@ -65,7 +65,7 @@ public: void ResetColor(); void SetBackColor( const Color& rColor ); void UseResourceText( bool bUse = true ); - void Paint( const Rectangle& ); + void Paint( const Rectangle& ) SAL_OVERRIDE; bool IsTwoLines() const; void SetTwoLines(bool bSet); @@ -87,7 +87,7 @@ public: void SetFromItemSet( const SfxItemSet &rSet, bool bPreviewBackgroundToCharacter = false ); - virtual Size GetOptimalSize() const; + virtual Size GetOptimalSize() const SAL_OVERRIDE; }; #endif // INCLUDED_SVX_FNTCTRL_HXX |