summaryrefslogtreecommitdiff
path: root/cppcanvas/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /cppcanvas/source/inc
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'cppcanvas/source/inc')
-rw-r--r--cppcanvas/source/inc/canvasgraphichelper.hxx14
-rw-r--r--cppcanvas/source/inc/implrenderer.hxx6
2 files changed, 10 insertions, 10 deletions
diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx b/cppcanvas/source/inc/canvasgraphichelper.hxx
index f0ab8bce88c3..ec607aed8169 100644
--- a/cppcanvas/source/inc/canvasgraphichelper.hxx
+++ b/cppcanvas/source/inc/canvasgraphichelper.hxx
@@ -47,13 +47,13 @@ namespace cppcanvas
CanvasGraphicHelper( const CanvasSharedPtr& rParentCanvas );
// CanvasGraphic implementation
- virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix );
- virtual ::basegfx::B2DHomMatrix getTransformation() const;
- virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly );
- virtual void setClip();
- virtual ::basegfx::B2DPolyPolygon const* getClip() const;
- virtual void setCompositeOp( CompositeOp aOp );
- virtual CompositeOp getCompositeOp() const;
+ virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) SAL_OVERRIDE;
+ virtual ::basegfx::B2DHomMatrix getTransformation() const SAL_OVERRIDE;
+ virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly ) SAL_OVERRIDE;
+ virtual void setClip() SAL_OVERRIDE;
+ virtual ::basegfx::B2DPolyPolygon const* getClip() const SAL_OVERRIDE;
+ virtual void setCompositeOp( CompositeOp aOp ) SAL_OVERRIDE;
+ virtual CompositeOp getCompositeOp() const SAL_OVERRIDE;
protected:
// for our clients
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index 55fe6f132c1b..65593876155a 100644
--- a/cppcanvas/source/inc/implrenderer.hxx
+++ b/cppcanvas/source/inc/implrenderer.hxx
@@ -192,11 +192,11 @@ static float GetSwapFloat( SvStream& rSt )
virtual ~ImplRenderer();
- virtual bool draw() const;
+ virtual bool draw() const SAL_OVERRIDE;
virtual bool drawSubset( sal_Int32 nStartIndex,
- sal_Int32 nEndIndex ) const;
+ sal_Int32 nEndIndex ) const SAL_OVERRIDE;
virtual ::basegfx::B2DRange getSubsetArea( sal_Int32 nStartIndex,
- sal_Int32 nEndIndex ) const;
+ sal_Int32 nEndIndex ) const SAL_OVERRIDE;
// element of the Renderer's action vector. Need to be