Kaydet (Commit) 286ce144 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

fdo#53938: Check for null pointer.

Change-Id: I4beb5e3c071933dce72468ca87faceca079aa50c
üst 6df97ec9
......@@ -870,6 +870,11 @@ void ScDPObject::SyncAllDimensionMembers()
return;
ScDPTableData* pData = GetTableData();
if (!pData)
// No table data exists. This can happen when refreshing from an
// external source which doesn't exist.
return;
// Refresh the cache wrapper since the cache may have changed.
pData->SetEmptyFlags(pSaveData->GetIgnoreEmptyRows(), pSaveData->GetRepeatIfEmpty());
pData->ReloadCacheTable();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment