summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 4392c1b1c979..682049cc341e 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -290,7 +290,7 @@ void SidebarController::BroadcastPropertyChange()
void SidebarController::NotifyResize()
{
- if (mpTabBar == 0)
+ if (!mpTabBar)
{
OSL_ASSERT(mpTabBar!=nullptr);
return;