diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-21 11:05:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-21 14:03:48 +0100 |
commit | eef61f54285c718ea78da631ebdd2d806d153fea (patch) | |
tree | 9e5b33de0bed7c7e7b98f7553718144de52fc8ba /svx | |
parent | e934ca0c21d390204e490ce92c9740930d50ba60 (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
(cherry picked from commit 226e0abd2c5ebd9fd591966b584d04e4ab5cd171)
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdfmtf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx index a457b2271ed3..12c19db1456f 100644 --- a/svx/source/svdraw/svdfmtf.cxx +++ b/svx/source/svdraw/svdfmtf.cxx @@ -735,7 +735,7 @@ void ImpSdrGDIMetaFileImport::DoAction(MetaRoundRectAction& rAct) long nRad=(rAct.GetHorzRound()+rAct.GetVertRound())/2; if (nRad!=0) { SfxItemSet aSet(*mpLineAttr->GetPool(), SDRATTR_ECKENRADIUS, SDRATTR_ECKENRADIUS, 0, 0); - aSet.Put(SdrMetricItem(nRad)); + aSet.Put(SdrMetricItem(SDRATTR_ECKENRADIUS, nRad)); pRect->SetMergedItemSet(aSet); } InsertObj(pRect); |