summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-26 19:12:07 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-26 21:10:51 -0400
commit861acd5b73956425da788c78fb1ed5c283a1f6a0 (patch)
treef4c0f28b89a63a9f8ab25b0a546dbd35f979e914 /sc
parent18118cd9c581659fa6f9aef1e1729e87c9fd1bba (diff)
Get it to build in non-dbgutil build with debug=true.
Diffstat (limited to 'sc')
-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
}