View | Details | Raw Unified | Return to issue 113748
Collapse All | Expand All

(-)xmloff.31m11/xmloff/source/text/XMLTextListAutoStylePool.cxx (+7 lines)
Lines 188-193 Link Here
188
188
189
XMLTextListAutoStylePool::~XMLTextListAutoStylePool()
189
XMLTextListAutoStylePool::~XMLTextListAutoStylePool()
190
{
190
{
191
	//
192
	// Memory leak.  The XMLTextListAutoStylePoolEntry_Impl object in the pool need delete explicitly in dtor.
193
	//
194
	sal_uInt32 nCount = pPool->Count();
195
	while ( nCount-- )
196
		delete pPool->Remove((ULONG)nCount);
197
191
	delete pPool;
198
	delete pPool;
192
	delete pNames;
199
	delete pNames;
193
}
200
}

Return to issue 113748