sc/source/core/data/dpobject.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 286ce144981aaa426622624302e296588abab1c2 Author: Kohei Yoshida <kohei.yosh...@gmail.com> Date: Thu Aug 30 10:36:57 2012 -0400 fdo#53938: Check for null pointer. Change-Id: I4beb5e3c071933dce72468ca87faceca079aa50c diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index ce9b236..af6ac2d 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits