diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-19 17:46:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-19 17:46:51 +0100 |
commit | dfcc20fd8ed59c44c0394e5608cd261345bb5e03 (patch) | |
tree | 1e60e3f4fb4bee7260d3bc975cb1b59492b5c860 /basic | |
parent | dc53c77ad54a156267ecd2b98b7940d40ab20065 (diff) |
More "compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareTo(s)" fixes
Change-Id: Ia93b281b07559fb6f0d67d53dd91dfacf2be0d0b
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/uno/namecont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index d0c7d14d7c9c..1f1031ee75fc 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -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() ) { |