summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdattr.cxx')
-rw-r--r--svx/source/svdraw/svdattr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index 7320c1c7aa66..ca28596f8666 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -931,10 +931,10 @@ bool SdrMetricItem::GetPresentation(SfxItemPresentation ePres,
MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper *) const
{
long nValue=GetValue();
- SdrFormatter aFmt((MapUnit)eCoreMetric,(MapUnit)ePresMetric);
+ SdrFormatter aFmt(eCoreMetric,ePresMetric);
aFmt.TakeStr(nValue,rText);
OUString aStr;
- SdrFormatter::TakeUnitStr((MapUnit)ePresMetric,aStr);
+ SdrFormatter::TakeUnitStr(ePresMetric,aStr);
rText += " " + aStr;
if (ePres==SfxItemPresentation::Complete) {
OUString aStr2;
@@ -1320,11 +1320,11 @@ bool SdrTextAniAmountItem::GetPresentation(
}
else
{
- SdrFormatter aFmt((MapUnit)eCoreMetric, (MapUnit)ePresMetric);
+ SdrFormatter aFmt(eCoreMetric, ePresMetric);
OUString aStr;
aFmt.TakeStr(nValue, rText);
- SdrFormatter::TakeUnitStr((MapUnit)ePresMetric, aStr);
+ SdrFormatter::TakeUnitStr(ePresMetric, aStr);
rText += aStr;
}