diff options
Diffstat (limited to 'include/editeng/shaditem.hxx')
-rw-r--r-- | include/editeng/shaditem.hxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/editeng/shaditem.hxx b/include/editeng/shaditem.hxx index 91b52642d305..36c589a7cbd1 100644 --- a/include/editeng/shaditem.hxx +++ b/include/editeng/shaditem.hxx @@ -52,20 +52,20 @@ public: inline SvxShadowItem& operator=( const SvxShadowItem& rFmtShadow ); // "pure virtual Methods" from SfxPoolItem - virtual bool operator==( const SfxPoolItem& ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); + virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; + virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, - OUString &rText, const IntlWrapper * = 0 ) const; + OUString &rText, const IntlWrapper * = 0 ) const SAL_OVERRIDE; - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; - virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const; - virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const; - virtual bool ScaleMetrics( long nMult, long nDiv ); - virtual bool HasMetrics() const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; + virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const SAL_OVERRIDE; + virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const SAL_OVERRIDE; + virtual bool ScaleMetrics( long nMult, long nDiv ) SAL_OVERRIDE; + virtual bool HasMetrics() const SAL_OVERRIDE; const Color& GetColor() const { return aShadowColor;} void SetColor( const Color &rNew ) { aShadowColor = rNew; } @@ -79,10 +79,10 @@ public: // Calculate width of the shadow on the page. sal_uInt16 CalcShadowSpace( sal_uInt16 nShadow ) const; - virtual sal_uInt16 GetValueCount() const; - virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const; - virtual sal_uInt16 GetEnumValue() const; - virtual void SetEnumValue( sal_uInt16 nNewVal ); + virtual sal_uInt16 GetValueCount() const SAL_OVERRIDE; + virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const SAL_OVERRIDE; + virtual sal_uInt16 GetEnumValue() const SAL_OVERRIDE; + virtual void SetEnumValue( sal_uInt16 nNewVal ) SAL_OVERRIDE; }; inline SvxShadowItem &SvxShadowItem::operator=( const SvxShadowItem& rFmtShadow ) |