From 155c5cae0b02ccf59db1de3e1f94cd5dce30b647 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 30 Oct 2010 16:21:16 +0100 Subject: small startup optimization --- svtools/source/config/fontsubstconfig.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svtools/source/config/fontsubstconfig.cxx') diff --git a/svtools/source/config/fontsubstconfig.cxx b/svtools/source/config/fontsubstconfig.cxx index b1b4ee834a47..4202ffa45a52 100644 --- a/svtools/source/config/fontsubstconfig.cxx +++ b/svtools/source/config/fontsubstconfig.cxx @@ -68,7 +68,7 @@ struct SvtFontSubstConfig_Impl ---------------------------------------------------------------------------*/ SvtFontSubstConfig::SvtFontSubstConfig() : - ConfigItem(C2U("Office.Common/Font/Substitution")), + ConfigItem(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Common/Font/Substitution"))), bIsEnabled(sal_False), pImpl(new SvtFontSubstConfig_Impl) { @@ -87,13 +87,13 @@ SvtFontSubstConfig::SvtFontSubstConfig() : Sequence aPropNames(aNodeNames.getLength() * 4); OUString* pNames = aPropNames.getArray(); sal_Int32 nName = 0; - sPropPrefix += C2U("/"); + sPropPrefix += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")); sal_Int32 nNode; for(nNode = 0; nNode < aNodeNames.getLength(); nNode++) { OUString sStart(sPropPrefix); sStart += pNodeNames[nNode]; - sStart += C2U("/"); + sStart += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")); pNames[nName] = sStart; pNames[nName++] += C2U(cReplaceFont); pNames[nName] = sStart; pNames[nName++] += C2U(cSubstituteFont); pNames[nName] = sStart; pNames[nName++] += C2U(cAlways); -- cgit