diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 9fcb82b66758..aad709fcf770 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -615,7 +615,7 @@ void SidebarController::CreatePanels(const ::rtl::OUString& rDeckId) // Depending on the context we have to change the command // for the "more options" dialog. PanelTitleBar* pTitleBar = aNewPanels[nWriteIndex]->GetTitleBar(); - if (pTitleBar != NULL) + if (pTitleBar != nullptr) { pTitleBar->SetMoreOptionsCommand( rPanelContexDescriptor.msMenuCommand, |