Kaydet (Commit) dfcc20fd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More "compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareTo(s)" fixes

Change-Id: Ia93b281b07559fb6f0d67d53dd91dfacf2be0d0b
üst dc53c77a
......@@ -2842,7 +2842,7 @@ void SAL_CALL SfxLibraryContainer::exportLibrary( const OUString& Name, const OU
OUString SfxLibraryContainer::expand_url( const OUString& url )
throw(::com::sun::star::uno::RuntimeException)
{
if (0 == url.compareTo( EXPAND_PROTOCOL ":" ))
if (url.startsWith( EXPAND_PROTOCOL ":" ))
{
if( !mxMacroExpander.is() )
{
......
......@@ -52,7 +52,7 @@ registerAtUcb(
OSL_ENSURE(rServiceFactory.is(),
"ucb::registerAtUcb(): No service factory");
bool bNoProxy = rArguments.compareTo("{noproxy}") == 0;
bool bNoProxy = rArguments.startsWith("{noproxy}");
rtl::OUString
aProviderArguments(bNoProxy ?
rArguments.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment