summaryrefslogtreecommitdiff
path: root/unoxml/source/xpath
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-06-01 17:19:58 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-06-01 17:40:03 +0100
commitff43ad1a77a89d1d1ebc0c20807bb9ec508fc9fd (patch)
treedaca69d3fceb0a7ec682360418033cf0126a6e95 /unoxml/source/xpath
parentfcc31f1749e01e4184c4347929a9e1d7e782dee1 (diff)
targetted string cleanup
Change-Id: Iaf77bb427d62d7f3be00a96cba4dfb25a01934ac
Diffstat (limited to 'unoxml/source/xpath')
-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);