diff options
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r-- | sd/source/ui/func/fuprobjs.cxx | 12 | ||||
-rw-r--r-- | sd/source/ui/func/futempl.cxx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/func/fuprobjs.cxx b/sd/source/ui/func/fuprobjs.cxx index 899b75e6d261..f38b91f899f2 100644 --- a/sd/source/ui/func/fuprobjs.cxx +++ b/sd/source/ui/func/fuprobjs.cxx @@ -121,8 +121,8 @@ void FuPresentationObjects::DoExecute( SfxRequest& ) if( bUnique ) { - String aStyleName = aLayoutName; - aStyleName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( SD_LT_SEPARATOR ) ); + OUString aStyleName = aLayoutName; + aStyleName += SD_LT_SEPARATOR ; sal_uInt16 nDlgId = TAB_PRES_LAYOUT_TEMPLATE; PresentationObjects ePO; @@ -130,15 +130,15 @@ void FuPresentationObjects::DoExecute( SfxRequest& ) { ePO = PO_TITLE; String aStr(SdResId( STR_LAYOUT_TITLE )); - aStyleName.Append( aStr ); + aStyleName += aStr ; } else { ePO = (PresentationObjects) ( PO_OUTLINE_1 + nDepth - 1 ); String aStr(SdResId( STR_LAYOUT_OUTLINE )); - aStyleName.Append( aStr ); - aStyleName.Append( sal_Unicode(' ') ); - aStyleName.Append( OUString::number( nDepth ) ); + aStyleName += aStr ; + aStyleName += OUString(' ') ; + aStyleName += OUString::number( nDepth ) ; } SfxStyleSheetBasePool* pStyleSheetPool = mpDocSh->GetStyleSheetPool(); diff --git a/sd/source/ui/func/futempl.cxx b/sd/source/ui/func/futempl.cxx index 91d06f32ca85..14a60352e0d2 100644 --- a/sd/source/ui/func/futempl.cxx +++ b/sd/source/ui/func/futempl.cxx @@ -126,7 +126,7 @@ void FuTemplate::DoExecute( SfxRequest& rReq ) nFamily = SD_STYLE_FAMILY_PSEUDO; } - String aStyleName; + OUString aStyleName; sal_uInt16 nRetMask = SFXSTYLEBIT_ALL; switch( nSId ) |