[Libreoffice-commits] .: sc/source

Eike Rathke erack at kemper.freedesktop.org
Tue Jul 24 05:48:54 PDT 2012


 sc/source/core/data/dptabsrc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9b2ec8c2a3478047a270b31bc25ad1d782401306
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Jul 24 14:47:46 2012 +0200

    it's pData2
    
    Change-Id: I1d1229f1c1ef229ca7454a712e027a78e25ab56f

diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index 039fa58..542d991 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -2578,7 +2578,7 @@ bool ScDPMember::IsNamedItem(SCROW nIndex) const
                 nHier, nLev );
             //  fValue is converted from integer, so simple comparison works
             const ScDPItemData* pData2 = GetItemData();
-            return pData && nComp == pData2->GetValue();
+            return pData2 && nComp == pData2->GetValue();
         }
     }
 


More information about the Libreoffice-commits mailing list