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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index 5d50104572ac..68251fcd7e8c 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -667,11 +667,11 @@ SfxItemPresentation SdrFractionItem::GetPresentation(
if(nValue.IsValid())
{
sal_Int32 nDiv = nValue.GetDenominator();
- rText = OUString::valueOf(nValue.GetNumerator());
+ rText = OUString::number(nValue.GetNumerator());
if(nDiv != 1)
{
- rText = rText + "/" + OUString::valueOf(nDiv);
+ rText = rText + "/" + OUString::number(nDiv);
}
}
else
@@ -721,7 +721,7 @@ SfxItemPresentation SdrScaleItem::GetPresentation(
{
sal_Int32 nDiv = GetValue().GetDenominator();
- rText = OUString::valueOf(GetValue().GetNumerator()) + ":" + OUString::valueOf(nDiv);
+ rText = OUString::number(GetValue().GetNumerator()) + ":" + OUString::number(nDiv);
}
else
{
@@ -876,7 +876,7 @@ SfxItemPresentation SdrAngleItem::GetPresentation(
if(bNeg)
nValue = -nValue;
- OUStringBuffer aText = OUString::valueOf(nValue);
+ OUStringBuffer aText = OUString::number(nValue);
if(nValue)
{
@@ -1360,7 +1360,7 @@ SfxItemPresentation SdrTextAniAmountItem::GetPresentation(
if(nValue < 0)
{
- rText = OUString::valueOf(-nValue) + "pixel";
+ rText = OUString::number(-nValue) + "pixel";
}
else
{