diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-30 16:21:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-30 17:01:20 +0100 |
commit | 155c5cae0b02ccf59db1de3e1f94cd5dce30b647 (patch) | |
tree | 88683feec1d711039883dbf32340f0c92c0a8c27 /svtools/source/config/fontsubstconfig.cxx | |
parent | 3da59050683632fb01d10e7a870a40688de09243 (diff) |
small startup optimization
Diffstat (limited to 'svtools/source/config/fontsubstconfig.cxx')
-rw-r--r-- | svtools/source/config/fontsubstconfig.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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<OUString> 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); |