diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:13:01 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:13:01 +0000 |
commit | 396e30f5847f83f347293d161ab1c2599418f8d1 (patch) | |
tree | 7419d967ada62b8c59890dca9b4a965a6413051e /xmlscript | |
parent | 7d43477e4daab5858535e764ccf3856242708588 (diff) |
INTEGRATION: CWS dbgmacros1 (1.3.52); FILE MERGED
2003/04/10 09:33:49 kso 1.3.52.1: #108413# - debug macro unification.
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xml_helper/xml_impctx.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index a33b83db9f46..a3eb7ee91cea 100644 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xml_impctx.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: dbo $ $Date: 2001-04-04 14:35:08 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:13:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -240,7 +240,7 @@ DocumentHandlerImpl::~DocumentHandlerImpl() if (_pMutex) { delete _pMutex; -#ifndef _DEBUG +#if OSL_DEBUG_LEVEL == 0 _pMutex = 0; #endif } @@ -514,7 +514,7 @@ void DocumentHandlerImpl::startElement( if (_nSkipElements) // currently skipping elements and waiting for end tags? { ++_nSkipElements; // wait for another end tag -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString aQName( OUStringToOString( rQElementName, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "### no context given on createChildContext() => ignoring element \"%s\" ...", aQName.getStr() ); #endif @@ -607,7 +607,7 @@ void DocumentHandlerImpl::startElement( else { ++_nSkipElements; -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString aQName( OUStringToOString( rQElementName, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "### no context given on createChildContext() => ignoring element \"%s\" ...", aQName.getStr() ); #endif @@ -625,7 +625,7 @@ void DocumentHandlerImpl::endElement( if (_nSkipElements) { --_nSkipElements; -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString aQName( OUStringToOString( rQElementName, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "### received endElement() for \"%s\".", aQName.getStr() ); #endif @@ -637,7 +637,7 @@ void DocumentHandlerImpl::endElement( ContextEntry * pEntry = _contexts.back(); xCurrentContext = pEntry->_xContext; -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 sal_Int32 nUid; OUString aLocalName; getElementName( rQElementName, &nUid, &aLocalName ); |