diff -r d39add9822e2 -r 5bfc169077b2 webengine/widgetregistry/Server/src/WidgetEntry.cpp --- a/webengine/widgetregistry/Server/src/WidgetEntry.cpp Tue Feb 02 00:56:45 2010 +0200 +++ b/webengine/widgetregistry/Server/src/WidgetEntry.cpp Fri Mar 19 09:52:28 2010 +0200 @@ -17,7 +17,7 @@ */ #include "WidgetEntry.h" -#include +#include "WidgetRegistryConstants.h" #include #include #include @@ -174,10 +174,9 @@ { User::Leave( KErrCorrupt ); } - // Read only until the ENokiaWidget for the 3.2 widgets - TInt propertyIdCount = (*this)[EWidgetPropertyListVersion] == KWidgetPropertyListVersion32 ? ENokiaWidget+1 : EWidgetPropertyIdCount; + // fill property values array - for ( TInt i = 1; i < propertyIdCount; ++i ) + for ( TInt i = 1; i < EWidgetPropertyIdCount; ++i ) { (*this)[i].DeserializeL( aReadStream ); }