diff -r 748ec5531811 -r 336bee5c2d35 textrendering/texthandling/stext/TXTFMLYR.CPP --- a/textrendering/texthandling/stext/TXTFMLYR.CPP Tue Aug 31 17:01:26 2010 +0300 +++ b/textrendering/texthandling/stext/TXTFMLYR.CPP Wed Sep 01 12:39:40 2010 +0100 @@ -23,11 +23,6 @@ #include #include "TXTSTD.H" -#include "OstTraceDefinitions.h" -#ifdef OST_TRACE_COMPILER_IN_USE -#include "TXTFMLYRTraces.h" -#endif - #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS #include "TXTFMLYR_INTERNAL.H" #endif @@ -153,16 +148,8 @@ @param aExcludeCount The number of layers to be excluded. By default, zero. */ { // ASSERT: aExcludeCount is positive. - if (aExcludeCount<0) - { - OstTrace0( TRACE_FATAL, CFORMATLAYER_EXTERNALIZECHAINL, "ECannotStoreFormatLayerChain" ); - } __ASSERT_ALWAYS(aExcludeCount>=0,Panic(ECannotStoreFormatLayerChain)); // ASSERT: The number of layers to be excluded is less than the total no. of layers. - if (aExcludeCount>=ChainCount()) - { - OstTrace0( TRACE_FATAL, DUP1_CFORMATLAYER_EXTERNALIZECHAINL, "ECannotStoreFormatLayerChain" ); - } __ASSERT_ALWAYS(aExcludeCountExternalizeLayersRecurseL(aStream,--aDescendantCount); } @@ -377,10 +360,6 @@ EAllAttributes, all attributes are written; if EFixedAttributes, tabs, bullets and borders are not written. */ { - if (aParaFormat==NULL) - { - OstTrace0( TRACE_FATAL, CPARAFORMATLAYER_SENSEEFFECTIVEL, "ENullFormatPointer" ); - } __ASSERT_ALWAYS(aParaFormat!=NULL,Panic(ENullFormatPointer)); aParaFormat->Reset(); TParaFormatMask mask; @@ -411,10 +390,6 @@ EAllAttributes, all attributes are written; if EFixedAttributes, tabs, bullets and borders are not written. */ { - if (aParaFormat==NULL) - { - OstTrace0( TRACE_FATAL, CPARAFORMATLAYER_SENSEL, "ENullFormatPointer" ); - } __ASSERT_ALWAYS(aParaFormat!=NULL,Panic(ENullFormatPointer)); iStore.SenseParaFormatL(*aParaFormat,aMask,aMode);