summaryrefslogtreecommitdiffstats
path: root/include/editeng/colritem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-13 15:30:58 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 09:16:06 +0200
commit0db25f68ab897953d9ca76ae094cc80e0ad11d34 (patch)
tree49113132a27fe96ebdcab497c9a2c8de796e54c4 /include/editeng/colritem.hxx
parentremove default value from PrinterOptionsHelper::getIntValue (diff)
downloadcore-0db25f68ab897953d9ca76ae094cc80e0ad11d34.tar.gz
core-0db25f68ab897953d9ca76ae094cc80e0ad11d34.zip
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 'include/editeng/colritem.hxx')
-rw-r--r--include/editeng/colritem.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx
index dadd4959f7a6..3ee4c355cd53 100644
--- a/include/editeng/colritem.hxx
+++ b/include/editeng/colritem.hxx
@@ -46,7 +46,7 @@ public:
// "pure virtual Methods" from SfxPoolItem
virtual bool operator==(const SfxPoolItem& rPoolItem) const SAL_OVERRIDE;
virtual bool QueryValue(css::uno::Any& rVal, sal_uInt8 nMemberId = 0) const SAL_OVERRIDE;
- virtual bool PutValue(const css::uno::Any& rVal, sal_uInt8 nMemberId = 0) SAL_OVERRIDE;
+ virtual bool PutValue(const css::uno::Any& rVal, sal_uInt8 nMemberId) SAL_OVERRIDE;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileVersion) const SAL_OVERRIDE;
virtual bool GetPresentation(SfxItemPresentation ePres,
@@ -84,7 +84,7 @@ class EDITENG_DLLPUBLIC SvxBackgroundColorItem : public SvxColorItem
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const SAL_OVERRIDE;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const SAL_OVERRIDE;
virtual bool QueryValue(css::uno::Any& rVal, sal_uInt8 nMemberId = 0) const SAL_OVERRIDE;
- virtual bool PutValue(const css::uno::Any& rVal, sal_uInt8 nMemberId = 0) SAL_OVERRIDE;
+ virtual bool PutValue(const css::uno::Any& rVal, sal_uInt8 nMemberId) SAL_OVERRIDE;
};
#endif