diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-04-09 05:09:58 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-04-09 05:09:58 +0000 |
commit | 875fdcb46a47058e8972184a8877627c131f575e (patch) | |
tree | 2550cf922c2105d7d92a7bc62fa1f344ccabc64b /connectivity | |
parent | d7cd00981e67b0e2efeb8ed5ad2dda954e54d4a6 (diff) |
m_nLivingIterators for _DEBUG, not DBG_UTIL
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/inc/connectivity/dbcharset.hxx | 9 | ||||
-rw-r--r-- | connectivity/source/commontools/dbcharset.cxx | 15 |
2 files changed, 15 insertions, 9 deletions
diff --git a/connectivity/inc/connectivity/dbcharset.hxx b/connectivity/inc/connectivity/dbcharset.hxx index 52660cbb7803..98883d9ce447 100644 --- a/connectivity/inc/connectivity/dbcharset.hxx +++ b/connectivity/inc/connectivity/dbcharset.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dbcharset.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: fs $ $Date: 2000-11-29 22:21:00 $ + * last change: $Author: fs $ $Date: 2001-04-09 06:09:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -107,7 +107,7 @@ namespace dbtools // logical names - #ifdef DBG_UTIL + #ifdef _DEBUG sal_Int32 m_nLivingIterators; /// just for debugging reasons, counts the living iterators #endif @@ -217,6 +217,9 @@ namespace dbtools /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.1 2000/11/29 22:21:00 fs + * initial checkin - helper class for translating charset representations + * * * Revision 1.0 29.11.00 18:29:26 fs ************************************************************************/ diff --git a/connectivity/source/commontools/dbcharset.cxx b/connectivity/source/commontools/dbcharset.cxx index b97ccdd541f7..44f636d754d8 100644 --- a/connectivity/source/commontools/dbcharset.cxx +++ b/connectivity/source/commontools/dbcharset.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dbcharset.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fs $ $Date: 2001-02-13 09:47:39 $ + * last change: $Author: fs $ $Date: 2001-04-09 06:09:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -90,7 +90,7 @@ namespace dbtools //========================================================================= //------------------------------------------------------------------------- OCharsetMap::OCharsetMap() - #ifdef DBG_UTIL + #ifdef _DEBUG :m_nLivingIterators(0) #endif { @@ -205,7 +205,7 @@ namespace dbtools ,m_nPosition(_nInitialPos) { OSL_ENSURE(m_pContainer, "OCharsetMap::CharsetIterator::CharsetIterator : invalid container!"); - #ifdef DBG_UTIL + #ifdef _DEBUG ++const_cast<OCharsetMap*>(m_pContainer)->m_nLivingIterators; #endif } @@ -215,7 +215,7 @@ namespace dbtools :m_pContainer(_rSource.m_pContainer) ,m_nPosition(_rSource.m_nPosition) { - #ifdef DBG_UTIL + #ifdef _DEBUG ++const_cast<OCharsetMap*>(m_pContainer)->m_nLivingIterators; #endif } @@ -223,7 +223,7 @@ namespace dbtools //------------------------------------------------------------------------- OCharsetMap::CharsetIterator::~CharsetIterator() { - #ifdef DBG_UTIL + #ifdef _DEBUG --const_cast<OCharsetMap*>(m_pContainer)->m_nLivingIterators; #endif } @@ -277,6 +277,9 @@ namespace dbtools /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.2 2001/02/13 09:47:39 fs + * #83632# merge IBMPC, IBMPC(850), DOS + * * Revision 1.1 2000/11/29 22:21:42 fs * initial checkin - helper class for translating charset representations * |