summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-05 20:52:56 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-06 17:38:49 +0100
commitbc7ef12b714a58afc09d6befa28695b2986f2999 (patch)
tree65f4b025c61c8a34cbbd43eb00b86f497b881bff /sc/source/core/data
parentdc54f86dede1a66ea21c652d56702f863980edc1 (diff)
Migrate DEBUG to OSL_DEBUG_LEVEL
Diffstat (limited to 'sc/source/core/data')
-rw-r--r--sc/source/core/data/dpsave.cxx2
-rw-r--r--sc/source/core/data/dptablecache.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/dpsave.cxx b/sc/source/core/data/dpsave.cxx
index e1cecddb3..9f0ae49fd 100644
--- a/sc/source/core/data/dpsave.cxx
+++ b/sc/source/core/data/dpsave.cxx
@@ -1342,7 +1342,7 @@ void ScDPSaveDimension::Refresh( const com::sun::star::uno::Reference<
if ( pReferenceValue && pReferenceValue->ReferenceItemType == DataPilotFieldReferenceItemType::NAMED )
{//check pReferenceValue
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
switch( pReferenceValue->ReferenceType)
{
case sheet::DataPilotFieldReferenceType::ITEM_PERCENTAGE: //both
diff --git a/sc/source/core/data/dptablecache.cxx b/sc/source/core/data/dptablecache.cxx
index d87a88d42..f482d132e 100644
--- a/sc/source/core/data/dptablecache.cxx
+++ b/sc/source/core/data/dptablecache.cxx
@@ -277,7 +277,7 @@ sal_Int32 ScDPItemData::Compare( const ScDPItemData& rA,
return ScGlobal::GetCollator()->compareString( rA.aString, rB.aString );
}
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
void ScDPItemData::dump() const
{
DBG_TRACE1( "Numberformat= %o", nNumFormat );