diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-29 20:59:45 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-29 20:59:45 -0500 |
commit | cc1743fe8025af04d63060760d99a23e8fcd5e0c (patch) | |
tree | f61da012c8c9acd0f6da69b609f06d5d920980b3 /xmloff/source/style/prstylei.cxx | |
parent | 212d2341609e2aa2fc362dc2c6980020b7360ae7 (diff) |
targeted string re-work
Change-Id: Ibc811f2ef501a91172e096a700821ab6bd9406ea
Diffstat (limited to 'xmloff/source/style/prstylei.cxx')
-rw-r--r-- | xmloff/source/style/prstylei.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx index 92178880fdea..7bb3f4e0ce20 100644 --- a/xmloff/source/style/prstylei.cxx +++ b/xmloff/source/style/prstylei.cxx @@ -81,8 +81,8 @@ XMLPropStyleContext::XMLPropStyleContext( SvXMLImport& rImport, SvXMLStylesContext& rStyles, sal_uInt16 nFamily, sal_Bool bDefault ) : SvXMLStyleContext( rImport, nPrfx, rLName, xAttrList, nFamily, bDefault ) -, msIsPhysical( RTL_CONSTASCII_USTRINGPARAM( "IsPhysical" ) ) -, msFollowStyle( RTL_CONSTASCII_USTRINGPARAM( "FollowStyle" ) ) +, msIsPhysical( "IsPhysical" ) +, msFollowStyle( "FollowStyle" ) , mxStyles( &rStyles ) { } @@ -207,15 +207,15 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite ) { aValues.realloc( nLen + 2 ); PropertyValue *pProps = aValues.getArray() + nLen; - pProps->Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaStyleName")); + pProps->Name = rtl::OUString("ParaStyleName"); OUString sParent( GetParentName() ); if( !sParent.isEmpty() ) sParent = GetImport().GetStyleDisplayName( GetFamily(), sParent ); else - sParent = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Standard")); + sParent = rtl::OUString("Standard"); pProps->Value <<= sParent; ++pProps; - pProps->Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaConditionalStyleName")); + pProps->Name = rtl::OUString("ParaConditionalStyleName"); pProps->Value <<= sParent; } @@ -224,8 +224,8 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite ) { Sequence< OUString > aPropNames(1); aPropNames[0] = GetFamily() == XML_STYLE_FAMILY_TEXT_PARAGRAPH ? - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaAutoStyleName")) : - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharAutoStyleName")); + rtl::OUString("ParaAutoStyleName") : + rtl::OUString("CharAutoStyleName"); Sequence< Any > aAny = xAutoStyle->getPropertyValues( aPropNames ); if( aAny.hasElements() ) { |