locationtriggering/ltclientlib/src/lbtstartuptrigger.cpp
branchRCL_3
changeset 45 6b6920c56e2f
parent 44 2b4ea9893b66
--- a/locationtriggering/ltclientlib/src/lbtstartuptrigger.cpp	Tue Aug 31 15:37:04 2010 +0300
+++ b/locationtriggering/ltclientlib/src/lbtstartuptrigger.cpp	Wed Sep 01 12:24:21 2010 +0100
@@ -292,7 +292,7 @@
 	SetManagerUi(managerUid);
 	TInt filenameLen=aStream.ReadInt32L();
 	RBuf fileName;	
-	User::LeaveIfError(fileName.Create(filenameLen));
+	fileName.Create(filenameLen);
 	fileName.CleanupClosePushL( );
 	aStream.ReadL(fileName,filenameLen);
 	TInt secureId=aStream.ReadInt32L();
@@ -303,7 +303,7 @@
 	    {
 	    TInt commandLine = aStream.ReadInt32L();
 	    RBuf commandlineBuffer;	    
-	    User::LeaveIfError(commandlineBuffer.Create( commandLine ));
+	    commandlineBuffer.Create( commandLine );
 	    commandlineBuffer.CleanupClosePushL();
 	    aStream.ReadL(commandlineBuffer,commandLine);
 	    SetCommandLineL( commandlineBuffer );