[Libreoffice-commits] core.git: sfx2/source
David Tardon
dtardon at redhat.com
Wed Apr 29 01:04:38 PDT 2015
sfx2/source/sidebar/DeckLayouter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 53f7e721cef99602302220bd4f2d49b3e56be9d5
Author: David Tardon <dtardon at redhat.com>
Date: Wed Apr 29 10:03:47 2015 +0200
WaE: C2666: 'operator ==' : 2 overloads have similar conversions
Change-Id: Ifa31130045c37aa37a1f3c9d3799a9f60fd8eb13
diff --git a/sfx2/source/sidebar/DeckLayouter.cxx b/sfx2/source/sidebar/DeckLayouter.cxx
index 110a77f..3a2edfc 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);
More information about the Libreoffice-commits
mailing list