summaryrefslogtreecommitdiff
path: root/include/vbahelper/vbahelper.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 /include/vbahelper/vbahelper.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 'include/vbahelper/vbahelper.hxx')
-rw-r--r--include/vbahelper/vbahelper.hxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx
index 6b3c2c29822c..ee7be80d7638 100644
--- a/include/vbahelper/vbahelper.hxx
+++ b/include/vbahelper/vbahelper.hxx
@@ -175,14 +175,14 @@ class VBAHELPER_DLLPUBLIC ConcreteXShapeGeometryAttributes : public AbstractGeom
std::auto_ptr< ShapeHelper > m_pShapeHelper;
public:
ConcreteXShapeGeometryAttributes( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::drawing::XShape >& xShape );
- virtual double getLeft() const;
- virtual void setLeft( double nLeft );
- virtual double getTop() const;
- virtual void setTop( double nTop );
- virtual double getHeight() const;
- virtual void setHeight( double nHeight );
- virtual double getWidth() const;
- virtual void setWidth( double nWidth);
+ virtual double getLeft() const SAL_OVERRIDE;
+ virtual void setLeft( double nLeft ) SAL_OVERRIDE;
+ virtual double getTop() const SAL_OVERRIDE;
+ virtual void setTop( double nTop ) SAL_OVERRIDE;
+ virtual double getHeight() const SAL_OVERRIDE;
+ virtual void setHeight( double nHeight ) SAL_OVERRIDE;
+ virtual double getWidth() const SAL_OVERRIDE;
+ virtual void setWidth( double nWidth) SAL_OVERRIDE;
virtual ~ConcreteXShapeGeometryAttributes();
};
@@ -195,20 +195,20 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::awt::XControl >& xControl,
double fOffsetX, double fOffsetY );
- virtual double getLeft() const;
- virtual void setLeft( double fLeft );
- virtual double getTop() const;
- virtual void setTop( double fTop );
- virtual double getWidth() const;
- virtual void setWidth( double fWidth );
- virtual double getHeight() const;
- virtual void setHeight( double fHeight );
- virtual double getInnerWidth() const;
- virtual void setInnerWidth( double fWidth );
- virtual double getInnerHeight() const;
- virtual void setInnerHeight( double fHeight );
- virtual double getOffsetX() const;
- virtual double getOffsetY() const;
+ virtual double getLeft() const SAL_OVERRIDE;
+ virtual void setLeft( double fLeft ) SAL_OVERRIDE;
+ virtual double getTop() const SAL_OVERRIDE;
+ virtual void setTop( double fTop ) SAL_OVERRIDE;
+ virtual double getWidth() const SAL_OVERRIDE;
+ virtual void setWidth( double fWidth ) SAL_OVERRIDE;
+ virtual double getHeight() const SAL_OVERRIDE;
+ virtual void setHeight( double fHeight ) SAL_OVERRIDE;
+ virtual double getInnerWidth() const SAL_OVERRIDE;
+ virtual void setInnerWidth( double fWidth ) SAL_OVERRIDE;
+ virtual double getInnerHeight() const SAL_OVERRIDE;
+ virtual void setInnerHeight( double fHeight ) SAL_OVERRIDE;
+ virtual double getOffsetX() const SAL_OVERRIDE;
+ virtual double getOffsetY() const SAL_OVERRIDE;
private:
double implGetPos( bool bPosY ) const;