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

Stephan Bergmann sbergman at redhat.com
Fri Nov 20 07:05:55 PST 2015


 sfx2/source/sidebar/ResourceManager.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4f4a4d7eb6438cb35a82545d59d01259ba79cc96
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Nov 20 16:05:28 2015 +0100

    loplugin:nullptr
    
    Change-Id: Ieb8821ed16707afd26329cb84277c96dca66d5b7

diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index b46b257..1389c53 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -132,7 +132,7 @@ const DeckDescriptor* ResourceManager::ImplGetDeckDescriptor(const OUString& rsD
         if (iDeck->msId.equals(rsDeckId))
             return &*iDeck;
     }
-    return NULL;
+    return nullptr;
 }
 const DeckDescriptor* ResourceManager::GetDeckDescriptor(const OUString& rsDeckId) const
 {
@@ -153,7 +153,7 @@ const PanelDescriptor* ResourceManager::ImplGetPanelDescriptor(const OUString& r
         if (iPanel->msId.equals(rsPanelId))
             return &*iPanel;
     }
-    return NULL;
+    return nullptr;
 }
 const PanelDescriptor* ResourceManager::GetPanelDescriptor(const OUString& rsPanelId) const
 {


More information about the Libreoffice-commits mailing list