summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/DeckLayouter.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-04-29 10:03:47 +0200
committerDavid Tardon <dtardon@redhat.com>2015-04-29 10:04:10 +0200
commit53f7e721cef99602302220bd4f2d49b3e56be9d5 (patch)
treec03801b75e8cda28e10589954633080e3a894c2d /sfx2/source/sidebar/DeckLayouter.cxx
parentfa4071bb522d7aad069ca24bafedb597455e95b0 (diff)
WaE: C2666: 'operator ==' : 2 overloads have similar conversions
Change-Id: Ifa31130045c37aa37a1f3c9d3799a9f60fd8eb13
Diffstat (limited to 'sfx2/source/sidebar/DeckLayouter.cxx')
-rw-r--r--sfx2/source/sidebar/DeckLayouter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/DeckLayouter.cxx b/sfx2/source/sidebar/DeckLayouter.cxx
index 110a77fc4cbb..3a2edfc2aef5 100644
--- a/sfx2/source/sidebar/DeckLayouter.cxx
+++ b/sfx2/source/sidebar/DeckLayouter.cxx
@@ -256,7 +256,7 @@ sal_Int32 PlacePanels (
// Assign heights and places.
IterateLayoutItems(iItem,rLayoutItems)
{
- if (iItem->mpPanel == 0)
+ if (!iItem->mpPanel)
continue;
Panel& rPanel (*iItem->mpPanel);