summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porref.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/text/porref.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/text/porref.hxx')
-rw-r--r--sw/source/core/text/porref.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/text/porref.hxx b/sw/source/core/text/porref.hxx
index 553faee334b3..ccf7f7152760 100644
--- a/sw/source/core/text/porref.hxx
+++ b/sw/source/core/text/porref.hxx
@@ -29,8 +29,8 @@ class SwRefPortion : public SwTxtPortion
{
public:
inline SwRefPortion(){ SetWhichPor( POR_REF ); }
- virtual void Paint( const SwTxtPaintInfo &rInf ) const;
- OUTPUT_OPERATOR
+ virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE;
+ OUTPUT_OPERATOR_OVERRIDE
};
/*************************************************************************
@@ -43,15 +43,15 @@ class SwIsoRefPortion : public SwRefPortion
public:
SwIsoRefPortion();
- virtual bool Format( SwTxtFormatInfo &rInf );
- virtual void Paint( const SwTxtPaintInfo &rInf ) const;
- virtual SwLinePortion *Compress();
- virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const;
+ virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE;
+ virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE;
+ virtual SwLinePortion *Compress() SAL_OVERRIDE;
+ virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const SAL_OVERRIDE;
// Accessibility: pass information about this portion to the PortionHandler
- virtual void HandlePortion( SwPortionHandler& rPH ) const;
+ virtual void HandlePortion( SwPortionHandler& rPH ) const SAL_OVERRIDE;
- OUTPUT_OPERATOR
+ OUTPUT_OPERATOR_OVERRIDE
};
#endif