summaryrefslogtreecommitdiffstats
path: root/sw/source/core/view/printdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/printdata.cxx')
-rw-r--r--sw/source/core/view/printdata.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx
index 03526c134e56..ad101ee6abf2 100644
--- a/sw/source/core/view/printdata.cxx
+++ b/sw/source/core/view/printdata.cxx
@@ -272,7 +272,7 @@ SwPrintUIOptions::SwPrintUIOptions(
aPrintRangeOpt );
// create a choice for the content to create
- const OUString aPrintRangeName( "PrintContent" );
+ static const OUStringLiteral aPrintRangeName( u"PrintContent" );
uno::Sequence< OUString > aChoices( 3 );
uno::Sequence< sal_Bool > aChoicesDisabled( 3 );
uno::Sequence< OUString > aHelpIds( 3 );
@@ -341,7 +341,7 @@ SwPrintUIOptions::SwPrintUIOptions(
// create a bool option for brochure
bDefaultVal = rDefaultPrintData.IsPrintProspect();
- const OUString aBrochurePropertyName( "PrintProspect" );
+ static const OUStringLiteral aBrochurePropertyName( u"PrintProspect" );
m_aUIProperties[ nIdx++ ].Value = setBoolControlOpt("brochure", SwResId( STR_PRINTOPTUI_BROCHURE),
".HelpID:vcl:PrintDialog:PrintProspect:CheckBox",
aBrochurePropertyName,