summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui/attrdesc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/utlui/attrdesc.cxx')
-rw-r--r--sw/source/ui/utlui/attrdesc.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/utlui/attrdesc.cxx b/sw/source/ui/utlui/attrdesc.cxx
index 5b6a4c9ea49c..4d03bcf2e7ce 100644
--- a/sw/source/ui/utlui/attrdesc.cxx
+++ b/sw/source/ui/utlui/attrdesc.cxx
@@ -1095,7 +1095,7 @@ SfxItemPresentation SwRotationGrf::GetPresentation(
rText = SW_RESSTR( STR_ROTATION );
else if( rText.Len() )
rText.Erase();
- ( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '\xB0';
+ ( rText += OUString::number( GetValue() )) += '\xB0';
break;
default:
@@ -1118,7 +1118,7 @@ SfxItemPresentation SwLuminanceGrf::GetPresentation(
rText = SW_RESSTR( STR_LUMINANCE );
else if( rText.Len() )
rText.Erase();
- ( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '%';
+ ( rText += OUString::number( GetValue() )) += '%';
break;
default:
@@ -1141,7 +1141,7 @@ SfxItemPresentation SwContrastGrf::GetPresentation(
rText = SW_RESSTR( STR_CONTRAST );
else if( rText.Len() )
rText.Erase();
- ( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '%';
+ ( rText += OUString::number( GetValue() )) += '%';
break;
default:
@@ -1177,7 +1177,7 @@ SfxItemPresentation SwChannelGrf::GetPresentation(
}
else if( rText.Len() )
rText.Erase();
- ( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '%';
+ ( rText += OUString::number( GetValue() )) += '%';
break;
default:
@@ -1245,7 +1245,7 @@ SfxItemPresentation SwTransparencyGrf::GetPresentation(
rText = SW_RESSTR( STR_TRANSPARENCY );
else if( rText.Len() )
rText.Erase();
- ( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '%';
+ ( rText += OUString::number( GetValue() )) += '%';
break;
default: