diff -r 175a0d824084 -r 676b6116ca93 tzservices/tzserver/Client/Source/tzid.cpp --- 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 #include "tzidinternal.h" #include +#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 ); }