tzservices/tzserver/Client/Source/tzid.cpp
changeset 81 676b6116ca93
parent 0 2e3d3ce01487
--- a/tzservices/tzserver/Client/Source/tzid.cpp	Tue Oct 12 17:17:12 2010 +0300
+++ b/tzservices/tzserver/Client/Source/tzid.cpp	Wed Oct 20 17:03:03 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -18,6 +18,11 @@
 #include <tzid.h>
 #include "tzidinternal.h"
 #include <tz.h>
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "tzidTraces.h"
+#endif
+
 
 
 /**
@@ -88,6 +93,8 @@
 	const TInt KMaxSize = KMaxTInt / 2;
 	if (size < 0 || size >= KMaxSize)
 	    {
+	    OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_ERROR, CTZID_INTERNALIZEL, "CTzId::InternalizeL;Invalid size of Time zone id =%d",size );
+	    
 	    User::Leave( KErrArgument );
 	    }