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() );
|
aColumns.insert( aSnapRect.Left() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sdr::table::SdrTableObj* pTable = new sdr::table::SdrTableObj( pSdrModel );
|
|
||||||
pTable->uno_lock();
|
|
||||||
Reference< XTable > xTable( pTable->getTable() );
|
|
||||||
|
|
||||||
if (aRows.empty())
|
if (aRows.empty())
|
||||||
return pRet;
|
return pRet;
|
||||||
|
|
||||||
|
sdr::table::SdrTableObj* pTable = new sdr::table::SdrTableObj( pSdrModel );
|
||||||
|
pTable->uno_lock();
|
||||||
|
Reference< XTable > xTable( pTable->getTable() );
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
CreateTableRows( xTable->getRows(), aRows, pGroup->GetSnapRect().Bottom() );
|
CreateTableRows( xTable->getRows(), aRows, pGroup->GetSnapRect().Bottom() );
|
||||||
|
Reference in New Issue
Block a user