diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-01-09 13:02:42 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-01-09 13:02:42 +0000 |
commit | 004c72330a132bbff09267459b35decdea3d8cf6 (patch) | |
tree | 35a9bbe58f42459353c5a03f7e28cd89f5e2f1f1 /sd/source | |
parent | 2be3423657ddb067d17b4af0869b2300a0f0bc3e (diff) |
lame_OUString_valueOf_sal_Int32_casts += 2;
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/dlg/prltempl.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/func/fuprobjs.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/prltempl.cxx b/sd/source/ui/dlg/prltempl.cxx index 787d717f47f7..625c1915b9c3 100644 --- a/sd/source/ui/dlg/prltempl.cxx +++ b/sd/source/ui/dlg/prltempl.cxx @@ -213,7 +213,8 @@ SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, case PO_OUTLINE_7: case PO_OUTLINE_8: case PO_OUTLINE_9: - aTitle = OUString(SdResId( STR_PSEUDOSHEET_OUTLINE )) + " " + OUString::valueOf( ePO - PO_OUTLINE_1 + 1 ); + aTitle = OUString(SdResId( STR_PSEUDOSHEET_OUTLINE )) + " " + + OUString::valueOf( static_cast<sal_Int32>( ePO - PO_OUTLINE_1 + 1 ) ); break; case PO_NOTES: diff --git a/sd/source/ui/func/fuprobjs.cxx b/sd/source/ui/func/fuprobjs.cxx index 0f465660d402..5ce8eb525898 100644 --- a/sd/source/ui/func/fuprobjs.cxx +++ b/sd/source/ui/func/fuprobjs.cxx @@ -138,7 +138,7 @@ void FuPresentationObjects::DoExecute( SfxRequest& ) String aStr(SdResId( STR_LAYOUT_OUTLINE )); aStyleName.Append( aStr ); aStyleName.Append( sal_Unicode(' ') ); - aStyleName.Append( OUString::valueOf( nDepth ) ); + aStyleName.Append( OUString::valueOf( static_cast<sal_Int32>( nDepth ) ) ); } SfxStyleSheetBasePool* pStyleSheetPool = mpDocSh->GetStyleSheetPool(); |