diff options
-rw-r--r-- | sc/inc/dpglobal.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dpsave.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dptablecache.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/excimp8.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/qpro/biff.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/qpro/qpro.cxx | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/dpglobal.hxx b/sc/inc/dpglobal.hxx index d635e145e..2fe184fcf 100644 --- a/sc/inc/dpglobal.hxx +++ b/sc/inc/dpglobal.hxx @@ -143,7 +143,7 @@ public: // case insensitive equality static sal_Int32 Compare( const ScDPItemData& rA, const ScDPItemData& rB ); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 void dump() const; #endif 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 ); diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx index d1c086469..10fac7222 100644 --- a/sc/source/filter/excel/excimp8.cxx +++ b/sc/source/filter/excel/excimp8.cxx @@ -346,7 +346,7 @@ void ImportExcel8::ReadBasic( void ) CTBWrapper wrapper; if ( wrapper.Read( xXCB ) ) { -#if DEBUG +#if OSL_DEBUG_LEVEL > 1 wrapper.Print( stderr ); #endif wrapper.ImportCustomToolBar( *pShell ); diff --git a/sc/source/filter/qpro/biff.cxx b/sc/source/filter/qpro/biff.cxx index 6a5ce8f26..b2a232e1c 100644 --- a/sc/source/filter/qpro/biff.cxx +++ b/sc/source/filter/qpro/biff.cxx @@ -77,7 +77,7 @@ bool ScBiffReader::nextRecord() *mpStream >> mnId >> mnLength; mnOffset = mpStream->Tell(); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "Read record 0x%x length 0x%x at offset 0x%x\n", (unsigned)mnId, (unsigned)mnLength, (unsigned)mnOffset ); diff --git a/sc/source/filter/qpro/qpro.cxx b/sc/source/filter/qpro/qpro.cxx index 03c40a405..0e1ed01cb 100644 --- a/sc/source/filter/qpro/qpro.cxx +++ b/sc/source/filter/qpro/qpro.cxx @@ -55,7 +55,7 @@ FltError ScQProReader::readSheet( SCTAB nTab, ScDocument* pDoc, ScQProStyle *pSt sal_uInt16 nStyle; bool bEndOfSheet = false; -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "Read sheet (%d)\n", nTab ); #endif |