summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-02-10 23:24:15 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-10 23:28:38 +0100
commit68c280f6230bf3203614678fc7eb81996c616d66 (patch)
tree2f29b9870d52afe342132fbf78c56ee2fae5e117 /sc
parent4c0e5eaea9155f40766116c5c44deab38ed80eb4 (diff)
fix import crash related to ooo94186
Change-Id: I2eb8c895eef53b5b14e81c5491d7ced6ead3c40a
Diffstat (limited to 'sc')
-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 de077dba0e69..bc9949f8fcfe 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()