[Libreoffice-commits] core.git: sfx2/source

Stephan Bergmann sbergman at redhat.com
Fri Nov 20 06:35:52 PST 2015


 sfx2/source/sidebar/SidebarController.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8e0ef3a3964ff6b43adfa173c2286e437f36f2bc
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Nov 20 15:35:23 2015 +0100

    loplugin:nullptr
    
    Change-Id: I12e145be9c9f19c51e86075298f616b003054e10

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 9fcb82b6..aad709f 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,


More information about the Libreoffice-commits mailing list