diff -r 9a9a761f03f1 -r 0ed94ceaa377 webengine/widgetregistry/Server/src/WidgetEntry.cpp --- a/webengine/widgetregistry/Server/src/WidgetEntry.cpp Tue Nov 24 09:02:20 2009 +0200 +++ b/webengine/widgetregistry/Server/src/WidgetEntry.cpp Thu Dec 17 09:20:16 2009 +0200 @@ -17,7 +17,7 @@ */ #include "WidgetEntry.h" -#include "WidgetRegistryConstants.h" +#include "widgetregistryconstants.h" #include #include #include @@ -174,9 +174,10 @@ { 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 < EWidgetPropertyIdCount; ++i ) + for ( TInt i = 1; i < propertyIdCount; ++i ) { (*this)[i].DeserializeL( aReadStream ); }