textrendering/texthandling/stext/TXTRTFLD.CPP
branchRCL_3
changeset 55 336bee5c2d35
parent 54 748ec5531811
--- a/textrendering/texthandling/stext/TXTRTFLD.CPP	Tue Aug 31 17:01:26 2010 +0300
+++ b/textrendering/texthandling/stext/TXTRTFLD.CPP	Wed Sep 01 12:39:40 2010 +0100
@@ -25,11 +25,6 @@
 #include "TXTINDEX.H"
 #include "ParseLst.h"
 
-#include "OstTraceDefinitions.h"
-#ifdef OST_TRACE_COMPILER_IN_USE
-#include "TXTRTFLDTraces.h"
-#endif
-
 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
 #include "TXTETEXT_INTERNAL.H"
 #endif 
@@ -52,10 +47,6 @@
 position, or a panic occurs. */
 	{
 	__TEST_INVARIANT;
-	if (aPos < 0 || aPos > DocumentLength())
-	    {
-	    OstTrace0( TRACE_DUMP, CRICHTEXT_UPDATEFIELDL, "ECharPosBeyondDocument" );
-	    }
 	__ASSERT_ALWAYS(aPos >= 0 && aPos <= DocumentLength(), Panic(ECharPosBeyondDocument));
 
  	TFindFieldInfo fieldInfo;