summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-02-10 23:24:15 +0100
committerKohei Yoshida <libreoffice@kohei.us>2014-02-11 03:40:57 +0000
commit0217136b204466181765fb63d8ef55fecda5b4be (patch)
tree6c67c29002362ed289ebe94e306b96eb31170912
parent684a0308dcb847f816967202ba87f536b83dcb4e (diff)
fix import crash related to ooo94186
Change-Id: I2eb8c895eef53b5b14e81c5491d7ced6ead3c40a Reviewed-on: https://gerrit.libreoffice.org/7984 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
-rw-r--r--sc/source/core/data/dpobject.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index eb4dad227e86..3c3244e17c1c 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -978,7 +978,9 @@ void ScDPObject::BuildAllDimensionMembers()
if (pServDesc)
return;
- pSaveData->BuildAllDimensionMembers(GetTableData());
+ ScDPTableData* pTableData = GetTableData();
+ if(pTableData)
+ pSaveData->BuildAllDimensionMembers(pTableData);
}
bool ScDPObject::SyncAllDimensionMembers()