psln/pslnengine/src/PslnSkinStore.cpp
branchRCL_3
changeset 38 c52421ed5f07
parent 0 2f259fa3e83a
equal deleted inserted replaced
29:a8834a2e9a96 38:c52421ed5f07
   182         // move default theme first, if it is not already there.
   182         // move default theme first, if it is not already there.
   183         if ( ( entry->PkgID() == iDefaultSkinPID ) && ( i != 0 ) )
   183         if ( ( entry->PkgID() == iDefaultSkinPID ) && ( i != 0 ) )
   184             {
   184             {
   185             // Default skin found.
   185             // Default skin found.
   186             iSkinArray.Remove( i );
   186             iSkinArray.Remove( i );
   187             iSkinArray.Insert( entry, 0 );
   187             iSkinArray.InsertL( entry, 0 );
   188             entry = NULL; // this is not owned by us.
   188             entry = NULL; // this is not owned by us.
   189             break;
   189             break;
   190             }
   190             }
   191         }
   191         }
   192     }
   192     }