summaryrefslogtreecommitdiff
path: root/cppuhelper/source/unourl.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-10-22 21:58:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-23 10:44:09 +0200
commit1ed2c24a6e638ad7793c46427e4c49e42d435239 (patch)
treec1da9eb5d79baea4eb1e3bbf87e11407d8894076 /cppuhelper/source/unourl.cxx
parentcd7c0c6adfff3509630fda21d483c2cf5d76d275 (diff)
remove RTL_CONSTASCII_(U)STRINGPARAM
Change-Id: I0bce921bfc7102b9a33b1c87eee3ddec0ebaed7b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with one little typo fix
Diffstat (limited to 'cppuhelper/source/unourl.cxx')
-rw-r--r--cppuhelper/source/unourl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/unourl.cxx b/cppuhelper/source/unourl.cxx
index f073ef4ee2a7..c5981f9a4264 100644
--- a/cppuhelper/source/unourl.cxx
+++ b/cppuhelper/source/unourl.cxx
@@ -209,7 +209,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
inline UnoUrl::Impl * UnoUrl::Impl::create(rtl::OUString const & rUrl)
{
- if (!rUrl.matchIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("uno:"), 0))
+ if (!rUrl.startsWithIgnoreAsciiCase("uno:"))
throw rtl::MalformedUriException(
rtl::OUString("UNO URL does not start with \"uno:\""));
sal_Int32 i = RTL_CONSTASCII_LENGTH("uno:");