webengine/widgetregistry/Server/src/WidgetEntry.cpp
branchRCL_3
changeset 91 30342f40acbf
parent 59 1f3c3f2f5b0a
child 93 79859ed3eea9
--- a/webengine/widgetregistry/Server/src/WidgetEntry.cpp	Mon Jun 21 16:54:17 2010 +0300
+++ b/webengine/widgetregistry/Server/src/WidgetEntry.cpp	Thu Jul 15 19:53:20 2010 +0300
@@ -125,9 +125,9 @@
 //
 CWidgetEntry::CWidgetEntry()
     : iPropertyValues( EWidgetPropertyIdCount ),
-      iBlanketPermGranted ( EFalse),
+      iMiniView ( EFalse),
       iFullView ( EFalse),
-      iMiniView ( EFalse)
+      iBlanketPermGranted ( EFalse)
     {
     }
 
@@ -436,7 +436,6 @@
                                     CWidgetRegistryXml* aXmlProcessor,
                                     RFs& aFileSession )
     {
-    xmlDocPtr doc = NULL; // not really used
     TInt i = 0;
     // For each property, write an XML entry
     for ( ; i < EWidgetPropertyIdCount; ++i )
@@ -692,7 +691,8 @@
             break;
         case KWidgetPropertyListVersion71:
             // Go from PropertlyListVersion71 to PropertyListVersion71CWRT
-            // 1) add ProcessUid for WRT (wgz) widgets
+           // 1) add ProcessUid for WRT (wgz) widgets
+            {
             (*this)[EProcessUid] = KUidWidgetUi.iUid;
 
              // 2) add MIMEType
@@ -703,6 +703,7 @@
             CleanupStack::PopAndDestroy();
 
             currentVersion = KWidgetPropertyListVersion71CWRT;
+            }
             break;
         default:
             // Trouble