summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev/xattr2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/xoutdev/xattr2.cxx')
-rw-r--r--svx/source/xoutdev/xattr2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/xoutdev/xattr2.cxx b/svx/source/xoutdev/xattr2.cxx
index dc7e3c1447bc..64e2ed82c8b6 100644
--- a/svx/source/xoutdev/xattr2.cxx
+++ b/svx/source/xoutdev/xattr2.cxx
@@ -99,7 +99,7 @@ SfxItemPresentation XLineTransparenceItem::GetPresentation
rText = XubString( ResId( RID_SVXSTR_TRANSPARENCE, DIALOG_MGR() ) );
rText.AppendAscii(": ");
case SFX_ITEM_PRESENTATION_NAMELESS:
- rText += OUString::valueOf(static_cast<sal_Int32>(GetValue()));
+ rText += OUString::number(GetValue());
rText += sal_Unicode('%');
return ePres;
default:
@@ -495,7 +495,7 @@ SfxItemPresentation XFillTransparenceItem::GetPresentation
rText = XubString( ResId( RID_SVXSTR_TRANSPARENCE, DIALOG_MGR() ) );
rText.AppendAscii(": ");
case SFX_ITEM_PRESENTATION_NAMELESS:
- rText += OUString::valueOf(static_cast<sal_Int32>(GetValue()));
+ rText += OUString::number(GetValue());
rText += sal_Unicode('%');
return ePres;
default:
@@ -622,7 +622,7 @@ SfxItemPresentation XGradientStepCountItem::GetPresentation
// rText = XubString( ResId( RID_SVXSTR_GRADIENTSTEPCOUNT, DIALOG_MGR() ) );
// rText += ": ";
case SFX_ITEM_PRESENTATION_NAMELESS:
- rText += OUString::valueOf(static_cast<sal_Int32>(GetValue()));
+ rText += OUString::number(GetValue());
return ePres;
default:
return SFX_ITEM_PRESENTATION_NONE;