summaryrefslogtreecommitdiff
path: root/xmloff/source/transform
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r--xmloff/source/transform/StyleOASISTContext.cxx2
-rw-r--r--xmloff/source/transform/StyleOOoTContext.cxx2
-rw-r--r--xmloff/source/transform/TransformerBase.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx
index 6856cb8983..9f52f8f731 100644
--- a/xmloff/source/transform/StyleOASISTContext.cxx
+++ b/xmloff/source/transform/StyleOASISTContext.cxx
@@ -503,7 +503,7 @@ void XMLPropertiesTContext_Impl::StartElement(
{
if ( aNewAttrValue.getLength() > 0 )
{
- aNewAttrValue += rtl::OUString::createFromAscii( " " );
+ aNewAttrValue += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( " " ));
}
if ( IsXMLToken( aToken, XML_HORIZONTAL_ON_EVEN ) )
diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx
index f779868ce0..74dafbffc6 100644
--- a/xmloff/source/transform/StyleOOoTContext.cxx
+++ b/xmloff/source/transform/StyleOOoTContext.cxx
@@ -906,7 +906,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement(
{
if ( aStyleMirrorAttrValue.getLength() > 0 )
{
- aStyleMirrorAttrValue += rtl::OUString::createFromAscii( " " );
+ aStyleMirrorAttrValue += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( " " ));
}
if ( IsXMLToken( aToken, XML_HORIZONTAL_ON_LEFT_PAGES ) )
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index f07bc01c14..0d2b4c8858 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -1055,8 +1055,8 @@ sal_Bool XMLTransformerBase::EncodeStyleName( OUString& rName ) const
->xCharClass =
Reference < XCharacterClassification >(
xFactory->createInstance(
- OUString::createFromAscii(
- "com.sun.star.i18n.CharacterClassification_Unicode") ),
+ OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.i18n.CharacterClassification_Unicode")) ),
UNO_QUERY );
OSL_ENSURE( xCharClass.is(),