Kaydet (Commit) b9892037 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#876 avoid accessing empty rows

Change-Id: Iba539fb03611bbe5627cc7976c1146d08a2ab5fd
üst 61bb3acc
......@@ -7584,6 +7584,10 @@ SdrObject* SdrPowerPointImport::CreateTable( SdrObject* pGroup, sal_uInt32* pTab
sdr::table::SdrTableObj* pTable = new sdr::table::SdrTableObj( pSdrModel );
pTable->uno_lock();
Reference< XTable > xTable( pTable->getTable() );
if (aRows.empty())
return pRet;
try
{
CreateTableRows( xTable->getRows(), aRows, pGroup->GetSnapRect().Bottom() );
......
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