summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-11 13:20:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-11 15:37:21 +0200
commitb5cb211f80fd87c109633232cf340ac7969c8648 (patch)
tree7da4817be25f252ed71f48d4385c09cf4a6a5f03 /vcl/quartz
parentac411c83c82babb325e2bfd32f4e7009e86eac78 (diff)
loplugin:simplifypointertobool (macOS)
Change-Id: I414eaf0e61be09ccf12d04577c89dbcdb845f85f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96117 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/salbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 87861256be43..524fad183b8e 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -300,7 +300,7 @@ bool QuartzSalBitmap::AllocateUserData()
mnBytesPerRow = 0;
}
- return m_pUserBuffer.get() != nullptr;
+ return bool(m_pUserBuffer);
}
namespace {