diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-27 10:13:34 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-27 10:13:34 +0100 |
commit | 36c323e365c3b480f10a2bb6c6227a4592f70c2a (patch) | |
tree | a405f066e25c852f729f97f874bd72d18251ed1c /unoxml/source/xpath/xpathapi.cxx | |
parent | 4e379b063e2a9cfd559d1e748e516fad3b04d44f (diff) |
RTL_CONSTASCII_USTRINGPARAM in filters 3-4
Diffstat (limited to 'unoxml/source/xpath/xpathapi.cxx')
-rw-r--r-- | unoxml/source/xpath/xpathapi.cxx | 6 |
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); |