summaryrefslogtreecommitdiff
path: root/unoxml/source/xpath/xpathapi.cxx
diff options
context:
space:
mode:
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 dac4b2e2ca9d..2c436645f1a4 100644
--- a/unoxml/source/xpath/xpathapi.cxx
+++ b/unoxml/source/xpath/xpathapi.cxx
@@ -310,7 +310,7 @@ namespace XPath
va_end(args);
::rtl::OUStringBuffer buf(
- OUString(RTL_CONSTASCII_USTRINGPARAM("libxml2 error:\n")));
+ "libxml2 error:\n");
buf.appendAscii(str);
OString msg = OUStringToOString(buf.makeStringAndClear(),
RTL_TEXTENCODING_ASCII_US);
@@ -321,11 +321,11 @@ namespace XPath
{
(void) userData;
::rtl::OUStringBuffer buf(
- OUString(RTL_CONSTASCII_USTRINGPARAM("libxml2 error:\n")));
+ "libxml2 error:\n");
if (error) {
buf.append(make_error_message(error));
} else {
- buf.append(OUString(RTL_CONSTASCII_USTRINGPARAM("no error argument!")));
+ buf.append("no error argument!");
}
OString msg = OUStringToOString(buf.makeStringAndClear(),
RTL_TEXTENCODING_ASCII_US);