summaryrefslogtreecommitdiff
path: root/include/svx/sdmetitm.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-21 11:05:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-21 11:05:46 +0100
commit226e0abd2c5ebd9fd591966b584d04e4ab5cd171 (patch)
treebfbea67a708378278ee49bae7c8094c9b3ccc022 /include/svx/sdmetitm.hxx
parentfde82414b4c0531c1addcfc99e55ca17d52c3fec (diff)
More fixes after SdrMetricItem changes
...like e0c2ea6bde31bd68e1794154b72fddcd40dda7f9 "Consistency around SdrMetricItem in svx/sderitm.hxx," similar to recent c3a9a9542b018f781ee12e6c8c943d4f19641afe "that's not right anyway, using the Distance as a which-id." Should all be found and fixed now with the removal of the unnecessary but harmful default value from the two-argument SdrMetricItem ctor. Change-Id: I6eaeb6633c9a350b18e02d476d2c8794a733cea8
Diffstat (limited to 'include/svx/sdmetitm.hxx')
-rw-r--r--include/svx/sdmetitm.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/sdmetitm.hxx b/include/svx/sdmetitm.hxx
index ece56a64fff6..0e2766f690e9 100644
--- a/include/svx/sdmetitm.hxx
+++ b/include/svx/sdmetitm.hxx
@@ -32,7 +32,7 @@ class SVX_DLLPUBLIC SdrMetricItem: public SfxInt32Item {
public:
TYPEINFO_OVERRIDE();
SdrMetricItem(): SfxInt32Item() {}
- SdrMetricItem(sal_uInt16 nId, sal_Int32 nVal=0): SfxInt32Item(nId,nVal) {}
+ SdrMetricItem(sal_uInt16 nId, sal_Int32 nVal): SfxInt32Item(nId,nVal) {}
SdrMetricItem(sal_uInt16 nId, SvStream& rIn): SfxInt32Item(nId,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const SAL_OVERRIDE;
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const SAL_OVERRIDE;