diff -r 6cadd6867c17 -r 67f2ed48ad91 homescreenpluginsrv/hspsmanager/src/hspsinstallationhandler.cpp --- a/homescreenpluginsrv/hspsmanager/src/hspsinstallationhandler.cpp Wed Sep 15 12:32:36 2010 +0300 +++ b/homescreenpluginsrv/hspsmanager/src/hspsinstallationhandler.cpp Wed Oct 13 14:53:46 2010 +0300 @@ -395,22 +395,12 @@ TRAPD( err, DoInstallThemeL(aManifestFileName) ); if( !err ) { - // correct headerdata is in iHeaderData set by CheckHeaderL(), check space - const TUint bytesRequired = iHeaderData->Des().Length(); - const TUint bytesAllocated = aHeaderData.MaxLength(); - if( bytesRequired <= bytesAllocated ) - { - aHeaderData = iHeaderData->Des(); - - // Set next phase - iInstallationPhase = EhspsPhaseCleanup; - ret = EhspsInstallThemeSuccess; - } - else - { - err = KErrOverflow; - iInstallationPhase = EhspsPhaseIdle; - } + // correct headerdata is in iHeaderData set by CheckHeaderL() + aHeaderData = iHeaderData->Des(); + + // Set next phase + iInstallationPhase = EhspsPhaseCleanup; + ret = EhspsInstallThemeSuccess; } else { @@ -1598,8 +1588,8 @@ KNullDesC(), (TLanguage)( fullODT->OdtLanguage() ) ); - notifications.AppendL( info ); - } + notifications.Append( info ); + } CleanupStack::PopAndDestroy(); // pluginIds. CleanupStack::PopAndDestroy( fullODT ); @@ -2270,11 +2260,11 @@ TInt drive = hspsServerUtil::GetEmmcDrivePath( iFsSession ); if ( drive != KErrNotFound ) { - driveArray.AppendL( drive ); + driveArray.Append( drive ); } - driveArray.AppendL( EDriveC ); - driveArray.AppendL( EDriveZ ); + driveArray.Append( EDriveC ); + driveArray.Append( EDriveZ ); FindResourceFilesL( aPath, ETrue, driveArray, systemEpocLanguageCodes );