[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Mon Feb 10 19:41:21 PST 2014


 sc/source/core/data/dpobject.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 0217136b204466181765fb63d8ef55fecda5b4be
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Mon Feb 10 23:24:15 2014 +0100

    fix import crash related to ooo94186
    
    Change-Id: I2eb8c895eef53b5b14e81c5491d7ced6ead3c40a
    Reviewed-on: https://gerrit.libreoffice.org/7984
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>

diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index eb4dad2..3c3244e 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()


More information about the Libreoffice-commits mailing list