diff options
-rw-r--r-- | sd/source/ui/dlg/custsdlg.cxx | 2 | ||||
-rw-r--r-- | svx/source/xoutdev/xattr2.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx index bb7841137733..d55a688b0776 100644 --- a/sd/source/ui/dlg/custsdlg.cxx +++ b/sd/source/ui/dlg/custsdlg.cxx @@ -199,7 +199,7 @@ IMPL_LINK( SdCustomShowDlg, ClickButtonHdl, void *, p ) OUString aStrCopy( SdResId( STR_COPY_CUSTOMSHOW ) ); sal_uInt16 nStrPos = aStr.indexOf( aStrCopy ); - sal_uInt16 nNum = 1; + sal_Int32 nNum = 1; if( nStrPos == STRING_NOTFOUND ) { aStr = aStr + " (" + aStrCopy + OUString::valueOf( nNum ) + ")"; 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; |