Kaydet (Commit) d067102a authored tarafından David Tardon's avatar David Tardon

fdo#52015 do not crash importing connector to table from .ppt

Change-Id: Ib7d7860cd422b28b6987f94da0a9c664ff7dfde1
üst 6aff9717
......@@ -7460,6 +7460,14 @@ SdrObject* SdrPowerPointImport::CreateTable( SdrObject* pGroup, sal_uInt32* pTab
for ( size_t i = 0; i < pSolverContainer->aCList.size(); ++i )
{
SvxMSDffConnectorRule* pPtr = pSolverContainer->aCList[ i ];
// check connections to the group object
if ( pPtr->pAObj == pGroup )
pPtr->pAObj = NULL;
if ( pPtr->pBObj == pGroup )
pPtr->pBObj = NULL;
// check connections to all its subobjects
SdrObjListIter aIter( *pGroup, IM_DEEPWITHGROUPS );
while( aIter.IsMore() )
{
......
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