summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/excel/xlroot.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xlroot.cxx b/sc/source/filter/excel/xlroot.cxx
index 6f088f4b63a2..a3168c652619 100644
--- a/sc/source/filter/excel/xlroot.cxx
+++ b/sc/source/filter/excel/xlroot.cxx
@@ -177,7 +177,7 @@ XclRootData::~XclRootData()
XclRoot::XclRoot( XclRootData& rRootData ) :
mrData( rRootData )
{
-#if OSL_DEBUG_LEVEL > 0
+#if defined(DBG_UTIL) && OSL_DEBUG_LEVEL > 0
++mrData.mnObjCnt;
#endif
@@ -189,14 +189,14 @@ XclRoot::XclRoot( XclRootData& rRootData ) :
XclRoot::XclRoot( const XclRoot& rRoot ) :
mrData( rRoot.mrData )
{
-#if OSL_DEBUG_LEVEL > 0
+#if defined(DBG_UTIL) && OSL_DEBUG_LEVEL > 0
++mrData.mnObjCnt;
#endif
}
XclRoot::~XclRoot()
{
-#if OSL_DEBUG_LEVEL > 0
+#if defined(DBG_UTIL) && OSL_DEBUG_LEVEL > 0
--mrData.mnObjCnt;
#endif
}