diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-13 15:30:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 09:16:06 +0200 |
commit | 0db25f68ab897953d9ca76ae094cc80e0ad11d34 (patch) | |
tree | 49113132a27fe96ebdcab497c9a2c8de796e54c4 /sw/inc/grfatr.hxx | |
parent | e50b5526e24ff552def8f08d393037d2c020dc29 (diff) |
remove default value from SfxPoolItem::PutValue
more useful to make it explicit.
Specifically, otherwise my defaultvalue clang plugin would want to
remove lots of places that contains #define constants which, while
technically the same as the default value, convey semantic
information which is quite useful.
Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb
Diffstat (limited to 'sw/inc/grfatr.hxx')
-rw-r--r-- | sw/inc/grfatr.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/grfatr.hxx b/sw/inc/grfatr.hxx index a2c27637c9b0..27f5803052c4 100644 --- a/sw/inc/grfatr.hxx +++ b/sw/inc/grfatr.hxx @@ -66,7 +66,7 @@ public: 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; + sal_uInt8 nMemberId ) SAL_OVERRIDE; inline SwMirrorGrf& operator=( const SwMirrorGrf& rMirrorGrf ) { @@ -113,7 +113,7 @@ public: 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; + sal_uInt8 nMemberId ) SAL_OVERRIDE; const Size& GetUnrotatedSize() const { return aUnrotatedSize; } }; @@ -221,7 +221,7 @@ public: 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; + sal_uInt8 nMemberId ) SAL_OVERRIDE; const double& GetValue() const { return nValue; } void SetValue( const double& rVal ) { nValue = rVal; } @@ -260,7 +260,7 @@ public: 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; + sal_uInt8 nMemberId ) SAL_OVERRIDE; }; class SW_DLLPUBLIC SwDrawModeGrf : public SfxEnumItem @@ -284,7 +284,7 @@ public: 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; + sal_uInt8 nMemberId ) SAL_OVERRIDE; }; // Implementation of graphics attributes methods of SwAttr |