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

Stephan Bergmann sbergman at redhat.com
Thu Mar 3 14:51:49 UTC 2016


 sc/source/ui/view/formatsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22b064a7859dbbf8e1f7988f95748bbbf0fb4c0c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Mar 3 15:51:23 2016 +0100

    loplugin:nullptr
    
    Change-Id: Ie50bf53a24d44a7f645f381a3d07710cc3986151

diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 8d7440b..b4114b9 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -970,7 +970,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
     }
     else if (nSlotId == SID_CLASSIFICATION_APPLY)
     {
-        const SfxPoolItem* pItem = 0;
+        const SfxPoolItem* pItem = nullptr;
         if (pArgs && pArgs->GetItemState(nSlotId, false, &pItem) == SfxItemState::SET)
         {
             const OUString& rName = static_cast<const SfxStringItem*>(pItem)->GetValue();


More information about the Libreoffice-commits mailing list