diff options
author | elixir <prashant3.yishu@gmail.com> | 2013-02-21 03:54:57 +0530 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-02-28 01:25:40 +0000 |
commit | 9133cc452c9e473164755a2177b7a2285c09cb22 (patch) | |
tree | 1c4702c283e2af4b1d6043bba8f8c8ad1442376c /sd/source/ui/func | |
parent | 664a49160c927f1d6ad740455a7e27c7f352cbae (diff) |
fdo#38838,UniString,String_to_OUString
Change-Id: I024a2de18fe3c22be0860b62a862ede992e12c1e
Reviewed-on: https://gerrit.libreoffice.org/2303
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
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 ) |