[Libreoffice-commits] .: svl/source
David Tardon
dtardon at kemper.freedesktop.org
Wed Feb 16 01:04:26 PST 2011
svl/source/items/stylepool.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit c1a6f4e999c18d692b8c0dff46f71b80f44778a1
Author: David Tardon <dtardon at redhat.com>
Date: Wed Feb 16 10:03:57 2011 +0100
WaE: unused variable
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx
index a931f7d..5fea592 100644
--- a/svl/source/items/stylepool.cxx
+++ b/svl/source/items/stylepool.cxx
@@ -456,18 +456,12 @@ StylePool::SfxItemSet_Pointer_t StylePoolImpl::insertItemSet( const SfxItemSet&
#ifdef DEBUG
{
sal_Int32 nCheck = -1;
- sal_Int32 nNo = -1;
IStylePoolIteratorAccess* pIter = createIterator();
StylePool::SfxItemSet_Pointer_t pTemp;
do
{
++nCheck;
pTemp = pIter->getNext();
- if( pCurNode->hasItemSet( false ) && pTemp.get() == pCurNode->getItemSet().get() )
- {
- ::rtl::OUString aStr = StylePool::nameOf( pTemp );
- nNo = nCheck;
- }
} while( pTemp.get() );
DBG_ASSERT( mnCount == nCheck, "Wrong counting");
delete pIter;
More information about the Libreoffice-commits
mailing list