summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdattr.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:07:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:10:35 +0200
commit64b993e046f23baaacaff1572b7d2a816588b5ef (patch)
tree237dce36a1d4787d168a0520839f6aab22500487 /svx/source/svdraw/svdattr.cxx
parent75f41baab6ce75786a91fe461835ee16a23ec18e (diff)
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
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
{