summaryrefslogtreecommitdiff
path: root/unoxml/source/xpath/xpathapi.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-28 18:35:13 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-28 18:35:13 +0100
commit3f8861ce64ba6b43b7871c0a365a145bfa1bbf08 (patch)
tree7cd9317f69df2efea85b03cf0f1d2d7af6c4a6b1 /unoxml/source/xpath/xpathapi.cxx
parentb7aae00f598c1d9b23f95198362d3482e5b53b0c (diff)
RTL_CONSTASCII_USTRINGPARAM in filters 12
Diffstat (limited to 'unoxml/source/xpath/xpathapi.cxx')
-rw-r--r--unoxml/source/xpath/xpathapi.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/xpath/xpathapi.cxx b/unoxml/source/xpath/xpathapi.cxx
index aa83217797d1..a800cefc5f52 100644
--- a/unoxml/source/xpath/xpathapi.cxx
+++ b/unoxml/source/xpath/xpathapi.cxx
@@ -279,7 +279,7 @@ namespace XPath
va_end(args);
::rtl::OUStringBuffer buf(
- OUString::createFromAscii("libxml2 error:\n"));
+ OUString(RTL_CONSTASCII_USTRINGPARAM("libxml2 error:\n")));
buf.appendAscii(str);
OString msg = OUStringToOString(buf.makeStringAndClear(),
RTL_TEXTENCODING_ASCII_US);
@@ -290,11 +290,11 @@ namespace XPath
{
(void) userData;
::rtl::OUStringBuffer buf(
- OUString::createFromAscii("libxml2 error:\n"));
+ OUString(RTL_CONSTASCII_USTRINGPARAM("libxml2 error:\n")));
if (error) {
buf.append(make_error_message(error));
} else {
- buf.append(OUString::createFromAscii("no error argument!"));
+ buf.append(OUString(RTL_CONSTASCII_USTRINGPARAM("no error argument!")));
}
OString msg = OUStringToOString(buf.makeStringAndClear(),
RTL_TEXTENCODING_ASCII_US);