summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-07-24 14:47:46 +0200
committerEike Rathke <erack@redhat.com>2012-07-24 14:48:49 +0200
commit9b2ec8c2a3478047a270b31bc25ad1d782401306 (patch)
tree217d2199baf50a34651a6a49ca692f8e789428f4 /sc
parent15f69da73429638692c1706c2b819d8fc6dc21d4 (diff)
it's pData2
Change-Id: I1d1229f1c1ef229ca7454a712e027a78e25ab56f
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dptabsrc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index 039fa5897fc6..542d9911871f 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();
}
}