# HG changeset patch
# User Henning Brinkmann <hbrinkm@openoffice.org>
# Date 1249308022 -7200
# Node ID 349f391ae964678193c1871590655ae997d12f5f
# Parent  5b08fa7724d58197431554e4cc4683d3b1764054
Removed code preventing build of sw with DEBUG.

diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2053,15 +2053,6 @@
     {
     }
     release();
-
-#if OSL_DEBUG_LEVEL > 1
-    OUString aRangeStr( getSourceRangeRepresentation() );
-
-	// check if it can properly convert into a SwUnoTableCrsr
-	// which is required for some functions
-    SwUnoTableCrsr* pUnoTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pTblCrsr);
-    DBG_ASSERT(pUnoTblCrsr, "SwChartDataSequence: cursor not SwUnoTableCrsr");
-#endif
 }
 
 
@@ -2103,15 +2094,6 @@
     {
     }
     release();
-
-#if OSL_DEBUG_LEVEL > 1
-    OUString aRangeStr( getSourceRangeRepresentation() );
-
-    // check if it can properly convert into a SwUnoTableCrsr
-	// which is required for some functions
-    SwUnoTableCrsr* pUnoTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pTblCrsr);
-    DBG_ASSERT(pUnoTblCrsr, "SwChartDataSequence: cursor not SwUnoTableCrsr");
-#endif
 }
 
 
