summaryrefslogtreecommitdiffstats
path: root/sfx2/source/sidebar/DeckLayouter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/DeckLayouter.cxx')
-rw-r--r--sfx2/source/sidebar/DeckLayouter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/DeckLayouter.cxx b/sfx2/source/sidebar/DeckLayouter.cxx
index ade08bb99e5f..d68ae296d340 100644
--- a/sfx2/source/sidebar/DeckLayouter.cxx
+++ b/sfx2/source/sidebar/DeckLayouter.cxx
@@ -202,7 +202,7 @@ sal_Int32 DeckLayouter::PlacePanels (
// Assign heights and places.
IterateLayoutItems(iItem,rLayoutItems)
{
- if (iItem->mpPanel == NULL)
+ if (iItem->mpPanel == 0)
continue;
Panel& rPanel (*iItem->mpPanel);
@@ -294,7 +294,7 @@ void DeckLayouter::GetRequestedSizes (
IterateLayoutItems(iItem,rLayoutItems)
{
ui::LayoutSize aLayoutSize (ui::LayoutSize(0,0,0));
- if (iItem->mpPanel != NULL)
+ if (iItem->mpPanel != 0)
{
if (rLayoutItems.size() == 1
&& iItem->mpPanel->IsTitleBarOptional())