diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-21 17:45:09 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-21 17:45:09 +0100 |
commit | ae8f29fa66a341f97513db5d34e2bb0e5564b34e (patch) | |
tree | 6f5d6c444018c4135b315eab7ff716d40359969b /xmloff | |
parent | 3b58d2b7e3ba1274240a4a2ca41f2ef5cf7c65c6 (diff) |
RTL_CONSTASCII_USTRINGPARAM in libs core 47
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/meta/xmlmetai.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 079a1869904c..cd1e83cafdd6 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -1274,7 +1274,7 @@ lcl_AddGrddl(SvXMLExport & rExport, const sal_Int32 nExportMode) if (EXPORT_SETTINGS != nExportMode) // meta, content, styles { rExport.AddAttribute( XML_NAMESPACE_GRDDL, XML_TRANSFORMATION, - OUString::createFromAscii(s_grddl_xsl) ); + OUString(RTL_CONSTASCII_USTRINGPARAM(s_grddl_xsl)) ); } } diff --git a/xmloff/source/meta/xmlmetai.cxx b/xmloff/source/meta/xmlmetai.cxx index b0c501559175..1776d708a908 100644 --- a/xmloff/source/meta/xmlmetai.cxx +++ b/xmloff/source/meta/xmlmetai.cxx @@ -200,9 +200,9 @@ void SvXMLMetaDocumentContext::initDocumentProperties() throw; } catch (uno::Exception & e) { throw lang::WrappedTargetRuntimeException( - ::rtl::OUString::createFromAscii( + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "SvXMLMetaDocumentContext::initDocumentProperties: " - "properties init exception"), + "properties init exception")), GetImport(), makeAny(e)); } } diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index c5ea65853c84..ae3e22c2322a 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -893,7 +893,7 @@ void lcl_EnquoteIfNecessary( rtl::OUStringBuffer& rContent, const SvXMLNumFormat { // A quote is turned into "\"" - a quote to end quoted text, an escaped quote, // and a quote to resume quoting. - rtl::OUString aInsert( rtl::OUString::createFromAscii( "\"\\\"" ) ); + rtl::OUString aInsert( RTL_CONSTASCII_USTRINGPARAM( "\"\\\"" ) ); sal_Int32 nPos = 0; while ( nPos < rContent.getLength() ) |