diff options
Diffstat (limited to 'xmloff/source/style/xmlstyle.cxx')
-rw-r--r-- | xmloff/source/style/xmlstyle.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx index 8d16668415..21ecbb0ea0 100644 --- a/xmloff/source/style/xmlstyle.cxx +++ b/xmloff/source/style/xmlstyle.cxx @@ -46,8 +46,8 @@ #endif #include <tools/debug.hxx> #include <tools/list.hxx> -#include <svtools/cntnrsrt.hxx> -#include <svtools/itemset.hxx> +#include <svl/cntnrsrt.hxx> +#include <svl/itemset.hxx> #include <xmloff/nmspmap.hxx> #include "xmlnmspe.hxx" #include <xmloff/xmltoken.hxx> @@ -283,7 +283,7 @@ class SvXMLStylesContext_Impl SvXMLStyleIndices_Impl *pIndices; sal_Bool bAutomaticStyle; -#ifndef PRODUCT +#ifdef DBG_UTIL sal_uInt32 nIndexCreated; #endif @@ -317,7 +317,7 @@ SvXMLStylesContext_Impl::SvXMLStylesContext_Impl( sal_Bool bAuto ) : aStyles( 20, 5 ), pIndices( 0 ), bAutomaticStyle( bAuto ) -#ifndef PRODUCT +#ifdef DBG_UTIL , nIndexCreated( 0 ) #endif {} @@ -363,7 +363,7 @@ const SvXMLStyleContext *SvXMLStylesContext_Impl::FindStyleChildContext( if( !pIndices && bCreateIndex && aStyles.Count() > 0 ) { -#ifndef PRODUCT +#ifdef DBG_UTIL DBG_ASSERT( 0==nIndexCreated, "Performance warning: sdbcx::Index created multiple times" ); #endif @@ -379,7 +379,7 @@ const SvXMLStyleContext *SvXMLStylesContext_Impl::FindStyleChildContext( delete pStyleIndex; } } -#ifndef PRODUCT +#ifdef DBG_UTIL ((SvXMLStylesContext_Impl *)this)->nIndexCreated++; #endif } |