summaryrefslogtreecommitdiff
path: root/include/vcl/combobox.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:34:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:31 +0200
commita9a4d46ce74fc3c4ff1b7399ea6be6ffeeeb8863 (patch)
treef44261f69c3c6c5cb13095d092ea538a8d47a5e0 /include/vcl/combobox.hxx
parent9796e52ab3bbf64fa751c71e695c64d6215e1df6 (diff)
loplugin:simplifybool
Change-Id: I8276e8b356ff26241613de64bcd90b5dbcd92f29
Diffstat (limited to 'include/vcl/combobox.hxx')
-rw-r--r--include/vcl/combobox.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index c7a8cef99851..34e6702a09bc 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -88,7 +88,7 @@ protected:
SAL_DLLPRIVATE long getMaxWidthScrollBarAndDownButton() const;
protected:
- bool IsDropDownBox() const { return mpFloatWin ? true : false; }
+ bool IsDropDownBox() const { return mpFloatWin != nullptr; }
virtual void FillLayoutData() const SAL_OVERRIDE;
public: