summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-09-16 15:28:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-09-16 17:37:11 +0200
commitb040cf97c343076d8b98b16b5275df663cb86669 (patch)
treec75efc71a9840f639dceb3e8dd5fe723bc992b4b /sal
parentb97e8b9d13ef0f57f7cf0badbefcb038a8bbd137 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/file_url.cxx2
1 files changed, 1 insertions, 1 deletions
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 !!!");