[Libreoffice-commits] core.git: unotools/source

Noel Grandin noel at peralex.com
Thu Jul 23 01:00:11 PDT 2015


 unotools/source/misc/mediadescriptor.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be7569acc13e90a049117b84802e92dbc4214238
Author: Noel Grandin <noel at peralex.com>
Date:   Thu Jul 23 09:59:31 2015 +0200

    loplugin:stringconstant
    
    Change-Id: I02aa11489a993b9788dc1038d9772672f1d2ecef

diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index f874a97..78c6482 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -694,7 +694,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
                         aContent.get().is() ? aContent.get()->getIdentifier() : 0 );
                     if ( xContId.is() )
                         aScheme = xContId->getContentProviderScheme();
-                    if(!aScheme.equalsIgnoreAsciiCaseAscii( "http" ) && !aScheme.equalsIgnoreAsciiCaseAscii( "https" ))
+                    if(!aScheme.equalsIgnoreAsciiCase( "http" ) && !aScheme.equalsIgnoreAsciiCase( "https" ))
                         return false;
                 }
                 xStream.clear();


More information about the Libreoffice-commits mailing list