summaryrefslogtreecommitdiffstats
path: root/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx')
-rw-r--r--binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx b/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx
index 0ca24d8d3..282be3eac 100644
--- a/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx
+++ b/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx
@@ -1655,7 +1655,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIn
nInsertPos = nMPageCount;
// now generate a unique name for the new masterpage
- const String aStdPrefix( SdResId(STR_LAYOUT_DEFAULT_NAME) );
+ const String aStdPrefix( SdResId(STR_LAYOUT_DEFAULT_NAME).toString() );
String aPrefix( aStdPrefix );
sal_Bool bUnique = sal_True;
@@ -1685,7 +1685,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIn
String aLayoutName( aPrefix );
aLayoutName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( SD_LT_SEPARATOR ));
- aLayoutName += String(SdResId(STR_LAYOUT_OUTLINE));
+ aLayoutName += SdResId(STR_LAYOUT_OUTLINE).toString();
// create styles
((SdStyleSheetPool*)pDoc->GetStyleSheetPool())->CreateLayoutStyleSheets( aPrefix );