diff options
Diffstat (limited to 'include/svx/paraprev.hxx')
-rw-r--r-- | include/svx/paraprev.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx index db1c498af86a..a67f6f07eeb4 100644 --- a/include/svx/paraprev.hxx +++ b/include/svx/paraprev.hxx @@ -62,8 +62,8 @@ private: Rectangle Lines[9]; protected: - virtual void Paint( const Rectangle& rRect ); - virtual Size GetOptimalSize() const; + virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; + virtual Size GetOptimalSize() const SAL_OVERRIDE; void DrawParagraph( bool bAll ); @@ -79,7 +79,7 @@ public: void SetLastLine( SvxAdjust eNew ) { eLastLine = eNew; } void SetLineSpace( SvxPrevLineSpace eNew, sal_uInt16 nNew = 0 ) { eLine = eNew; nLineVal = nNew; } - void SetText( const OUString& rStr ) { aText = rStr; } + void SetText( const OUString& rStr ) SAL_OVERRIDE { aText = rStr; } void SetSize( Size aNew ) { aSize = aNew; } short GetFirstLineOfst() const { return nFirstLineOfst; } @@ -91,7 +91,7 @@ public: SvxPrevLineSpace GetLineEnum() const { return eLine; } sal_uInt16 GetLineValue() const { return nLineVal; } - OUString GetText() const { return aText; } + OUString GetText() const SAL_OVERRIDE { return aText; } Size GetSize() const { return aSize; } void Draw( bool bAll ) { DrawParagraph( bAll ); } |