summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-02-16 10:03:57 +0100
committerDavid Tardon <dtardon@redhat.com>2011-02-16 10:04:21 +0100
commit436c5065a085bef63343a10136c9c1d21a56afd3 (patch)
tree39ae555550c1c0d9d38f9f1dc11fac679a079bec /svl
parent82a9b594e81ca65d90cd88a364a03e9e4635523f (diff)
WaE: unused variable
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/stylepool.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx
index a2931c1933b5..af8ebe3db269 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;