From 2d9ce9191da681e4fd9f1d08933ca5117c56601b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Mar 2013 13:02:46 +0100 Subject: Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength) ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75 --- xmlhelp/source/cxxhelp/provider/urlparameter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlhelp') diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index f82117de342a..2f968f64a36f 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -537,7 +537,7 @@ bool URLParameter::scheme() for( sal_Int32 nPrefixLen = 20 ; nPrefixLen >= 18 ; --nPrefixLen ) { - if( m_aExpr.compareToAscii( "vnd.sun.star.help://", nPrefixLen ) == 0 ) + if( m_aExpr.matchAsciiL( "vnd.sun.star.help://", nPrefixLen ) ) { m_aExpr = m_aExpr.copy( nPrefixLen ); return true; -- cgit