summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/LayoutMenu.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-18 15:50:00 +0200
committerNoel Grandin <noel@peralex.com>2013-09-19 10:14:24 +0200
commita2b86b5fb75925e7e8b24751f83e1ecc8584cf72 (patch)
tree3fbb39c90b6cd9207b8bdc1e1f590e06b56df742 /sd/source/ui/sidebar/LayoutMenu.cxx
parent0bfd0378f9615283ed0dd02eb719cd434e5de7ea (diff)
convert the rest of the .cxx files in sd from String to OUString
Change-Id: I2f68a14baf707d7098b84c68b11a85cd28e49d95
Diffstat (limited to 'sd/source/ui/sidebar/LayoutMenu.cxx')
-rw-r--r--sd/source/ui/sidebar/LayoutMenu.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx
index bf392dbe3562..be13bda0fdeb 100644
--- a/sd/source/ui/sidebar/LayoutMenu.cxx
+++ b/sd/source/ui/sidebar/LayoutMenu.cxx
@@ -583,7 +583,7 @@ SfxRequest LayoutMenu::CreateRequest (
SetOfByte aVisibleLayers (pPage->TRG_GetMasterPageVisibleLayers());
aRequest.AppendItem(
- SfxStringItem (ID_VAL_PAGENAME, String()));//pPage->GetName()));
+ SfxStringItem (ID_VAL_PAGENAME, OUString()));//pPage->GetName()));
aRequest.AppendItem(SfxUInt32Item (ID_VAL_WHATLAYOUT, aLayout));
aRequest.AppendItem(
SfxBoolItem(ID_VAL_ISPAGEBACK, aVisibleLayers.IsSet(aBackground)));
@@ -654,7 +654,7 @@ void LayoutMenu::Fill (void)
if (bRightToLeft && (WritingMode_TB_RL != pInfo->meWritingMode))
aBmp.Mirror (BMP_MIRROR_HORZ);
- InsertItem (i, aBmp, String (SdResId (pInfo->mnStrResId)));
+ InsertItem (i, aBmp, SdResId (pInfo->mnStrResId));
SetItemData (i, new AutoLayout(pInfo->maAutoLayout));
n++;
}