Kaydet (Commit) 88ec498f authored tarafından himajin100000's avatar himajin100000 Kaydeden (comit) Noel Grandin

adapt to commit 1476d95b

Change-Id: Ie6582b324d4c7feb8dbc7cac852b2c52358a052a
Reviewed-on: https://gerrit.libreoffice.org/60547
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 76c7cabc
......@@ -417,7 +417,7 @@ std::shared_ptr<SfxItemSet> StylePoolImpl::insertItemSet( const SfxItemSet& rSet
#ifdef DEBUG
{
sal_Int32 nCheck = -1;
IStylePoolIteratorAccess* pIter = createIterator(false,false);
std::unique_ptr<IStylePoolIteratorAccess> pIter = createIterator(false,false);
std::shared_ptr<SfxItemSet> pTemp;
do
{
......@@ -425,7 +425,6 @@ std::shared_ptr<SfxItemSet> StylePoolImpl::insertItemSet( const SfxItemSet& rSet
pTemp = pIter->getNext();
} while( pTemp.get() );
DBG_ASSERT( mnCount == nCheck, "Wrong counting");
delete pIter;
}
#endif
return pCurNode->getItemSet();
......
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