--- 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 <s32file.h>
#include <f32file.h>
#include <APGTASK.H>
@@ -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 );
}