summaryrefslogtreecommitdiff
path: root/cppuhelper/source/unourl.cxx
diff options
context:
space:
mode:
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:");