summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-05 20:48:37 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-06 17:38:49 +0100
commit11d358ef1f3df45448a1196b7ee9c489690341e9 (patch)
tree7f87f8b582212ae18b864ec19fb3c8bbb4028edb /chart2
parent548b32a73b89faac9cdc18e0505ccc41efa0d369 (diff)
Use OSL_DEBUG_LEVEL > 1 instead of > 2
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController.cxx2
-rw-r--r--chart2/source/inc/InternalData.hxx2
-rw-r--r--chart2/source/model/template/DataInterpreter.cxx2
-rw-r--r--chart2/source/tools/InternalData.cxx10
4 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index da635df1175e..ba8ecd6c3752 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -237,7 +237,7 @@ void ChartController::TheModel::tryTermination()
//since we have indicated to give up the ownership with paramter true in close call
//the one who has thrown the CloseVetoException is the new owner
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
OSL_ENSURE( !m_bOwnership,
"INFO: a well known owner has catched a CloseVetoException after calling close(true)" );
#endif
diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx
index f3eb3ac2645d..3a618dcd99a9 100644
--- a/chart2/source/inc/InternalData.hxx
+++ b/chart2/source/inc/InternalData.hxx
@@ -86,7 +86,7 @@ public:
void setComplexColumnLabels( const tVecVecString& rNewColumnLabels );
tVecVecString getComplexColumnLabels() const;
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
void traceData() const;
#endif
diff --git a/chart2/source/model/template/DataInterpreter.cxx b/chart2/source/model/template/DataInterpreter.cxx
index 5f23e2bbc670..301e23a5350f 100644
--- a/chart2/source/model/template/DataInterpreter.cxx
+++ b/chart2/source/model/template/DataInterpreter.cxx
@@ -85,7 +85,7 @@ InterpretedData SAL_CALL DataInterpreter::interpretDataSource(
if( ! xSource.is())
return InterpretedData();
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
lcl_ShowDataSource( xSource );
#endif
diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx
index 10729906f4d1..57c7195a5a59 100644
--- a/chart2/source/tools/InternalData.cxx
+++ b/chart2/source/tools/InternalData.cxx
@@ -365,7 +365,7 @@ void InternalData::insertColumn( sal_Int32 nAfterIndex )
if( nAfterIndex < static_cast< sal_Int32 >( m_aColumnLabels.size()))
m_aColumnLabels.insert( m_aColumnLabels.begin() + (nAfterIndex + 1), vector< OUString >(1) );
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
traceData();
#endif
}
@@ -417,7 +417,7 @@ void InternalData::insertRow( sal_Int32 nAfterIndex )
if( nAfterIndex < static_cast< sal_Int32 >( m_aRowLabels.size()))
m_aRowLabels.insert( m_aRowLabels.begin() + nIndex, vector< OUString> (1));
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
traceData();
#endif
}
@@ -453,7 +453,7 @@ void InternalData::deleteColumn( sal_Int32 nAtIndex )
if( nAtIndex < static_cast< sal_Int32 >( m_aColumnLabels.size()))
m_aColumnLabels.erase( m_aColumnLabels.begin() + nAtIndex );
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
traceData();
#endif
}
@@ -493,7 +493,7 @@ void InternalData::deleteRow( sal_Int32 nAtIndex )
if( nAtIndex < static_cast< sal_Int32 >( m_aRowLabels.size()))
m_aRowLabels.erase( m_aRowLabels.begin() + nAtIndex );
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
traceData();
#endif
}
@@ -538,7 +538,7 @@ vector< vector< OUString > > InternalData::getComplexColumnLabels() const
return m_aColumnLabels;
}
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
void InternalData::traceData() const
{
OSL_TRACE( "InternalData: Data in rows\n" );