commsfwutils/commsbufs/TS_mbufmgr/Test06SplitL.cpp
branchRCL_3
changeset 25 9d7ce34704c8
parent 23 cbb19216b74d
child 26 b564fb5fd78b
--- a/commsfwutils/commsbufs/TS_mbufmgr/Test06SplitL.cpp	Thu Aug 19 11:05:47 2010 +0300
+++ b/commsfwutils/commsbufs/TS_mbufmgr/Test06SplitL.cpp	Tue Aug 31 16:25:36 2010 +0300
@@ -162,17 +162,7 @@
 	//-------------- substep 7 --------------------
 	Log(_L("  07 Split Chain1. The 2nd part goes to Chain2:"));
 	RMBufChain aChain2;
-	
-	if(forceSmallBuf)
-	    {
-        RMBufAllocator allocator;
-        ret= aChain1.Split(aOffset, aChain2, allocator);
-	    }
-	else
-	    {
-        TRAP(ret,aChain1.SplitL(aOffset, aChain2));
-	    }
-	
+	TRAP(ret,aChain1.SplitL(aOffset, aChain2));
 	if (ret != KErrNone)
 		{
 		Log(_L("Error: Couldn't Split"));