summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-21 17:45:09 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-21 17:45:09 +0100
commit42321f12d9f58c247703e742d23d99750cf716fc (patch)
tree4fa96ef3cd9b148b7863777d29cadaba9e48faff /xmloff
parent0ca362ffc694f42c95807e309fec85556bdd88dc (diff)
RTL_CONSTASCII_USTRINGPARAM in libs core 47
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlexp.cxx2
-rw-r--r--xmloff/source/meta/xmlmetai.cxx4
-rw-r--r--xmloff/source/style/xmlnumfi.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index e6a0efa757..45413cfc92 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 fd37b424bc..62d738c677 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 495345245b..1bc295746b 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() )