diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-25 17:25:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-25 17:25:40 +0200 |
commit | e0c2ea6bde31bd68e1794154b72fddcd40dda7f9 (patch) | |
tree | fa93197152567b8179719a0ebb65c59406e185ce /svx/source/svdraw/svdotext.cxx | |
parent | c6477b9dd1564a0b3e8c63fea489f7ad464e3792 (diff) |
Consistency around SdrMetricItem in svx/sderitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: I4a0715b18bc3aa032779252cad2450c905a467a4
Diffstat (limited to 'svx/source/svdraw/svdotext.cxx')
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 7e339f2c8c7b..d74d9b0fec77 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -540,7 +540,7 @@ void SdrTextObj::SetModel(SdrModel* pNewModel) bool SdrTextObj::NbcSetEckenradius(long nRad) { - SetObjectItem(SdrEckenradiusItem(nRad)); + SetObjectItem(makeSdrEckenradiusItem(nRad)); return true; } @@ -1756,7 +1756,7 @@ bool SdrTextObj::IsRealyEdited() const long SdrTextObj::GetEckenradius() const { - return ((SdrEckenradiusItem&)(GetObjectItemSet().Get(SDRATTR_ECKENRADIUS))).GetValue(); + return ((SdrMetricItem&)(GetObjectItemSet().Get(SDRATTR_ECKENRADIUS))).GetValue(); } long SdrTextObj::GetMinTextFrameHeight() const |