debugsrv/runmodedebug/rmdriver/src/d_list_manager.cpp
changeset 56 aa2539c91954
parent 42 0ff24a8f6ca2
--- a/debugsrv/runmodedebug/rmdriver/src/d_list_manager.cpp	Wed Sep 29 17:45:35 2010 +0300
+++ b/debugsrv/runmodedebug/rmdriver/src/d_list_manager.cpp	Fri Oct 08 14:56:39 2010 +0300
@@ -1,7 +1,7 @@
 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
-// under the terms of the License "Eclipse Public License v1.0"
+// under the terms of "Eclipse Public License v1.0"
 // which accompanies this distribution, and is available
 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
 //
@@ -411,7 +411,6 @@
 				return err;
 				}
 			//calculate data values
-			TFileName fileName(codeSeg->iFileName->Ptr());
 			TBool isXip = (TBool)(codeSeg->iXIP);
 
 			//get the code seg type, can ignore error as have already checked codeSeg is not NULL
@@ -424,7 +423,7 @@
 
 			TUint32 uid3 = codeSeg->iUids.iUid[2].iUid;
 			//append data to buffer
-			err = AppendCodeSegData(aBuffer, aDataSize, memoryInfo, isXip, type, fileName, uid3);
+			err = AppendCodeSegData(aBuffer, aDataSize, memoryInfo, isXip, type, *codeSeg->iFileName, uid3);
 			if(err != KErrNone)
 				{
 				// Release the codeseglock mutex again
@@ -526,7 +525,6 @@
 			err = codeSeg->GetMemoryInfo(memoryInfo, NULL);
 			if (err) break;
 
-			TFileName fileName(codeSeg->iFileName->Ptr());
 			TBool isXip = (TBool)(codeSeg->iXIP);
 
 			//get the code seg type, can ignore error as have already checked codeSeg is not NULL
@@ -539,7 +537,7 @@
 
 			TUint32 uid3 = codeSeg->iUids.iUid[2].iUid;
 			//append data to buffer
-			err = AppendCodeSegData(aBuffer, aDataSize, memoryInfo, isXip, type, fileName, uid3);
+			err = AppendCodeSegData(aBuffer, aDataSize, memoryInfo, isXip, type, *codeSeg->iFileName, uid3);
 			if (err) break;
 			}
 		}