summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-21 16:20:06 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-21 16:20:06 +0100
commitd954d449e4cfa946fcd5508cdbaca3ba732decf5 (patch)
tree9045098e20445fe37b1067b7ec1eeb577b0811a1 /xmloff/source/style
parentd3c3c55afffa2143556a1c5aa4323bf22145000c (diff)
RTL_CONSTASCII_USTRINGPARAM in libs core 45
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/prstylei.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx
index c91e470e9d4d..b96dc754a5fe 100644
--- a/xmloff/source/style/prstylei.cxx
+++ b/xmloff/source/style/prstylei.cxx
@@ -209,15 +209,15 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite )
{
aValues.realloc( nLen + 2 );
PropertyValue *pProps = aValues.getArray() + nLen;
- pProps->Name = rtl::OUString::createFromAscii("ParaStyleName");
+ pProps->Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaStyleName"));
OUString sParent( GetParentName() );
if( sParent.getLength() )
sParent = GetImport().GetStyleDisplayName( GetFamily(), sParent );
else
- sParent = rtl::OUString::createFromAscii("Standard");
+ sParent = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Standard"));
pProps->Value <<= sParent;
++pProps;
- pProps->Name = rtl::OUString::createFromAscii("ParaConditionalStyleName");
+ pProps->Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaConditionalStyleName"));
pProps->Value <<= sParent;
}
@@ -226,8 +226,8 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite )
{
Sequence< OUString > aPropNames(1);
aPropNames[0] = GetFamily() == XML_STYLE_FAMILY_TEXT_PARAGRAPH ?
- rtl::OUString::createFromAscii("ParaAutoStyleName") :
- rtl::OUString::createFromAscii("CharAutoStyleName");
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParaAutoStyleName")) :
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharAutoStyleName"));
Sequence< Any > aAny = xAutoStyle->getPropertyValues( aPropNames );
if( aAny.hasElements() )
{