summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-01-10 09:18:59 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-01-10 09:19:46 +0400
commit24edbb1900e95d3fee6c27006191e9ab67f60c21 (patch)
tree55666951f59ab80fb343662c72a79ff240833b28 /svx
parentd158a09e56e3944458d63a6c572f60dbe4632dad (diff)
valueOf sal_uInt16 -> valueOf sal_Int32
Change-Id: Ibd92f5ebe3079dd0b75a0f429efc68842a4305ec
Diffstat (limited to 'svx')
-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 d7b04d513b45..dc7e3c1447bc 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((sal_uInt16) GetValue());
+ rText += OUString::valueOf(static_cast<sal_Int32>(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((sal_uInt16) GetValue() );
+ rText += OUString::valueOf(static_cast<sal_Int32>(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((sal_uInt16) GetValue() );
+ rText += OUString::valueOf(static_cast<sal_Int32>(GetValue()));
return ePres;
default:
return SFX_ITEM_PRESENTATION_NONE;