tzservices/tzserver/Client/Source/tzlocalizedcityrecord.cpp
changeset 81 676b6116ca93
parent 0 2e3d3ce01487
--- a/tzservices/tzserver/Client/Source/tzlocalizedcityrecord.cpp	Tue Oct 12 17:17:12 2010 +0300
+++ b/tzservices/tzserver/Client/Source/tzlocalizedcityrecord.cpp	Wed Oct 20 17:03:03 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2008-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"
@@ -16,6 +16,11 @@
 #include "tzlocalizedcityrecord.h"
 #include "tzid.h"
 #include "tzidinternal.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "tzlocalizedcityrecordTraces.h"
+#endif
+
 
 EXPORT_C CTzLocalizedCityRecord* CTzLocalizedCityRecord::NewL(const TDesC& aName, TUint8 aGroupId, TInt aIndex,
 		TInt aTzId, TUint aTzResourceId)
@@ -80,6 +85,8 @@
 		// This is a mess, although most of the API allows for 32 bit tz ids some of them
 		// only allow for 16 bit tz ids so we accept a TInt but do check that it can fit in 
 		// 16 bits
+	    OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_ERROR, CTZLOCALIZEDCITYRECORD_CONSTRUCTL, "CTzLocalizedCityRecord::ConstructL;Invalid Time zone id = %d",aTzId );
+	    
 		User::Leave(KErrArgument);
 		}
 	iTzId = aTzId;