ofz#942 fix leak
Change-Id: I52f69e9dc4c47764c1b3773b1c41b2f04807703e
This commit is contained in:
@@ -7597,13 +7597,14 @@ SdrObject* SdrPowerPointImport::CreateTable( SdrObject* pGroup, sal_uInt32* pTab
|
||||
aColumns.insert( aSnapRect.Left() );
|
||||
}
|
||||
}
|
||||
sdr::table::SdrTableObj* pTable = new sdr::table::SdrTableObj( pSdrModel );
|
||||
pTable->uno_lock();
|
||||
Reference< XTable > xTable( pTable->getTable() );
|
||||
|
||||
if (aRows.empty())
|
||||
return pRet;
|
||||
|
||||
sdr::table::SdrTableObj* pTable = new sdr::table::SdrTableObj( pSdrModel );
|
||||
pTable->uno_lock();
|
||||
Reference< XTable > xTable( pTable->getTable() );
|
||||
|
||||
try
|
||||
{
|
||||
CreateTableRows( xTable->getRows(), aRows, pGroup->GetSnapRect().Bottom() );
|
||||
|
Reference in New Issue
Block a user