User: obo Date: 2006/07/10 08:12:46 Modified: dba/dbaccess/source/core/inc/composertools.hxx
Log: INTEGRATION: CWS qiq (1.3.124); FILE MERGED 2006/06/30 13:28:23 fs 1.3.124.1: warning-free code File Changes: Directory: /dba/dbaccess/source/core/inc/ ========================================= File [changed]: composertools.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/inc/composertools.hxx?r1=1.3&r2=1.4 Delta lines: +9 -5 ------------------- --- composertools.hxx 8 Sep 2005 13:35:21 -0000 1.3 +++ composertools.hxx 10 Jul 2006 15:12:43 -0000 1.4 @@ -56,7 +56,7 @@ struct TokenComposer : public ::std::unary_function< ::rtl::OUString, void > { private: - #if OSL_DEBUG_LEVEL > 1 + #ifdef DBG_UTIL bool m_bUsed; #endif @@ -66,7 +66,7 @@ public: ::rtl::OUString getComposedAndClear() { - #if OSL_DEBUG_LEVEL > 1 + #ifdef DBG_UTIL m_bUsed = true; #endif return m_aBuffer.makeStringAndClear(); @@ -74,7 +74,7 @@ void clear() { - #if OSL_DEBUG_LEVEL > 1 + #ifdef DBG_UTIL m_bUsed = false; #endif m_aBuffer.makeStringAndClear(); @@ -82,12 +82,16 @@ public: TokenComposer() - #if OSL_DEBUG_LEVEL > 1 + #ifdef DBG_UTIL :m_bUsed( false ) #endif { } + virtual ~TokenComposer() + { + } + void operator() (const ::rtl::OUString& lhs) { append(lhs); @@ -95,7 +99,7 @@ void append( const ::rtl::OUString& lhs ) { - #if OSL_DEBUG_LEVEL > 1 + #ifdef DBG_UTIL OSL_ENSURE( !m_bUsed, "FilterCreator::append: already used up!" ); #endif if ( lhs.getLength() ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
