sal/osl/w32/file_url.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db6d645c19b31f511f7c23723500da0832f18f80
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Sep 16 15:28:42 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Oct 3 12:34:47 2022 +0200

    OUString::matchIgnoreAsciiCase returns bool
    
    Regression introduced with d2272426cc79d9aacf4a34c5fd7744b59c29e95b "Use 
some
    more C++ in sal/osl/w32", found with loplugin:implicitboolconversion.
    
    Change-Id: I5d929dd64bc02559318b8c89cb66bb0f5bba33f7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140072
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>
    Signed-off-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140618

diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 390b58beed63..57d5fee5b320 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -581,7 +581,7 @@ oslFileError osl_getSystemPathFromFileURL_(const OUString& 
strURL, rtl_uString *
 
     SAL_WARN_IF(
         sUTF8.getLength() != strURL.getLength() &&
-        0 == strURL.matchIgnoreAsciiCase("file:\\")
+        strURL.matchIgnoreAsciiCase("file:\\")
         , "sal.osl"
         ,"osl_getSystemPathFromFileURL: \"" << strURL << "\" is not encoded 
!!!");
 

Reply via email to