summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextHeaderFooterContext.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-21 18:25:47 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-21 18:25:47 +0100
commit110e8ccb8567bec3a1410868bd5d917f6212a2bb (patch)
tree089d683273d58e84f07b85a96a4b435320546cff /xmloff/source/text/XMLTextHeaderFooterContext.cxx
parentae8f29fa66a341f97513db5d34e2bb0e5564b34e (diff)
RTL_CONSTASCII_USTRINGPARAM in libs core 48
Diffstat (limited to 'xmloff/source/text/XMLTextHeaderFooterContext.cxx')
-rw-r--r--xmloff/source/text/XMLTextHeaderFooterContext.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLTextHeaderFooterContext.cxx b/xmloff/source/text/XMLTextHeaderFooterContext.cxx
index 4470094bae70..3de0e70bfc52 100644
--- a/xmloff/source/text/XMLTextHeaderFooterContext.cxx
+++ b/xmloff/source/text/XMLTextHeaderFooterContext.cxx
@@ -61,12 +61,12 @@ XMLTextHeaderFooterContext::XMLTextHeaderFooterContext( SvXMLImport& rImport, sa
sal_Bool bFooter, sal_Bool bLft ) :
SvXMLImportContext( rImport, nPrfx, rLName ),
xPropSet( rPageStylePropSet ),
- sOn( OUString::createFromAscii( bFooter ? "FooterIsOn" : "HeaderIsOn" ) ),
- sShareContent( OUString::createFromAscii( bFooter ? "FooterIsShared"
- : "HeaderIsShared" ) ),
- sText( OUString::createFromAscii( bFooter ? "FooterText" : "HeaderText" ) ),
- sTextLeft( OUString::createFromAscii( bFooter ? "FooterTextLeft"
- : "HeaderTextLeft" ) ),
+ sOn( bFooter ? OUString(RTL_CONSTASCII_USTRINGPARAM( "FooterIsOn" )) : OUString(RTL_CONSTASCII_USTRINGPARAM( "HeaderIsOn" )) ),
+ sShareContent( bFooter ? OUString(RTL_CONSTASCII_USTRINGPARAM( "FooterIsShared" ))
+ : OUString(RTL_CONSTASCII_USTRINGPARAM( "HeaderIsShared" )) ),
+ sText( bFooter ? OUString(RTL_CONSTASCII_USTRINGPARAM( "FooterText" )) : OUString(RTL_CONSTASCII_USTRINGPARAM( "HeaderText" )) ),
+ sTextLeft( bFooter ? OUString(RTL_CONSTASCII_USTRINGPARAM( "FooterTextLeft" ))
+ : OUString(RTL_CONSTASCII_USTRINGPARAM( "HeaderTextLeft" )) ),
bInsertContent( sal_True ),
bLeft( bLft )
{