diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-08-31 15:37:33 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-09-01 07:31:03 +0200 |
commit | ca7caf212a90b6e4290782159cbdbb36e4538f19 (patch) | |
tree | db1d2066423ab92ff6c99e4422b44e435decaba5 /cui/source | |
parent | 2e635d22cdbfcfe163b46427d04ebce9fe21a61e (diff) |
Fix warning condition
Missed that I needed to reverse the condition when replacing OSL_ENSURE
with SAL_WARN_IF in 37f452bc2beeae9b4648013a3bf4f2e8b56c0c85.
Thanks Julien for noticing!
Change-Id: Id24216e11ca970b05aac40a09ed02cdbb4cf9865
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101678
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/about.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index 69fdc922c994..558f54b3da0e 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -158,7 +158,7 @@ OUString AboutDialog::GetVersionString() { OUString AboutDialog::GetBuildString() { OUString sBuildId(utl::Bootstrap::getBuildIdData("")); - SAL_WARN_IF(!sBuildId.isEmpty(), "cui.dialogs", "No BUILDID in bootstrap file"); + SAL_WARN_IF(sBuildId.isEmpty(), "cui.dialogs", "No BUILDID in bootstrap file"); return sBuildId; } |