diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:09 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:09 +0100 |
commit | ae64bf305155b40af138e490e524e34a74ba6ad7 (patch) | |
tree | a75ca6fa2a6736a0747debd760dfecb155a7c6ad /sw/inc/ndindex.hxx | |
parent | 772063ba8ad6b18f609cdc7da02534c15b785965 (diff) |
sw: remove debug instance counting
There are various classes that in DBG_UTIL mode count their instances
with a global variable, and give each instance a unique serial number.
The purpose of this exercise is somewhat unclear to me.
This removes the instance counting from:
SwNumberTree, SwIndex, SwNodeIndex, SwNumRule
Diffstat (limited to 'sw/inc/ndindex.hxx')
-rw-r--r-- | sw/inc/ndindex.hxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx index af1028b70607..566d180cf91d 100644 --- a/sw/inc/ndindex.hxx +++ b/sw/inc/ndindex.hxx @@ -44,11 +44,6 @@ class SW_DLLPUBLIC SwNodeIndex friend void SwNodes::DeRegisterIndex( SwNodeIndex& ); friend void SwNodes::RemoveNode( sal_uLong, sal_uLong, sal_Bool ); -#ifdef DBG_UTIL - static int s_nSerial; - int m_nSerial; -#endif - SwNode* pNd; SwNodeIndex *pNext, *pPrev; |