More "compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareTo(s)" fixes
Change-Id: Ia93b281b07559fb6f0d67d53dd91dfacf2be0d0b
This commit is contained in:
parent
dc53c77ad5
commit
dfcc20fd8e
@ -2842,7 +2842,7 @@ void SAL_CALL SfxLibraryContainer::exportLibrary( const OUString& Name, const OU
|
|||||||
OUString SfxLibraryContainer::expand_url( const OUString& url )
|
OUString SfxLibraryContainer::expand_url( const OUString& url )
|
||||||
throw(::com::sun::star::uno::RuntimeException)
|
throw(::com::sun::star::uno::RuntimeException)
|
||||||
{
|
{
|
||||||
if (0 == url.compareTo( EXPAND_PROTOCOL ":" ))
|
if (url.startsWith( EXPAND_PROTOCOL ":" ))
|
||||||
{
|
{
|
||||||
if( !mxMacroExpander.is() )
|
if( !mxMacroExpander.is() )
|
||||||
{
|
{
|
||||||
|
@ -52,7 +52,7 @@ registerAtUcb(
|
|||||||
OSL_ENSURE(rServiceFactory.is(),
|
OSL_ENSURE(rServiceFactory.is(),
|
||||||
"ucb::registerAtUcb(): No service factory");
|
"ucb::registerAtUcb(): No service factory");
|
||||||
|
|
||||||
bool bNoProxy = rArguments.compareTo("{noproxy}") == 0;
|
bool bNoProxy = rArguments.startsWith("{noproxy}");
|
||||||
rtl::OUString
|
rtl::OUString
|
||||||
aProviderArguments(bNoProxy ?
|
aProviderArguments(bNoProxy ?
|
||||||
rArguments.
|
rArguments.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user