mtpdataproviders/mtpfileandfolderdp/src/cmtpfiledpconfigmgr.cpp
changeset 47 63cf70d3ecd8
parent 0 d0791faffa3f
--- a/mtpdataproviders/mtpfileandfolderdp/src/cmtpfiledpconfigmgr.cpp	Thu Sep 02 21:21:26 2010 +0300
+++ b/mtpdataproviders/mtpfileandfolderdp/src/cmtpfiledpconfigmgr.cpp	Fri Sep 17 08:34:51 2010 +0300
@@ -20,6 +20,11 @@
 
 #include <mtp/mmtpdataproviderconfig.h>
 #include <mtp/mmtpdataproviderframework.h>
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "cmtpfiledpconfigmgrTraces.h"
+#endif
+
 
 
 #define UNUSED_VAR(v) (v = v)
@@ -103,6 +108,7 @@
 		err = aArray.InsertInOrder(TUint(reader.ReadUint16()));
 		if( (err != KErrNone) && (err != KErrAlreadyExists) )
 			{
+            OstTrace1( TRACE_ERROR, CMTPFILEDPCONFIGMGR_READFORMATEXCLUSIONLISTL, "insert in aArray failed! error code %d", err );
 			User::Leave(err);
 			}
 		}