appinstaller/AppinstUi/sisxsifplugin/src/sisxsifplugininstallparams.cpp
changeset 50 c6e8afe0ba85
parent 44 329d304c1aa1
child 69 b18a4bf55ddb
--- a/appinstaller/AppinstUi/sisxsifplugin/src/sisxsifplugininstallparams.cpp	Tue Jun 29 16:50:12 2010 +0300
+++ b/appinstaller/AppinstUi/sisxsifplugin/src/sisxsifplugininstallparams.cpp	Thu Jul 08 20:28:00 2010 +0300
@@ -308,9 +308,8 @@
 void CSisxSifPluginInstallParams::GetStringParamL( const COpaqueNamedParams& aParams,
         const TDesC& aParamName, HBufC*& aBuf )
     {
-    TPtr value( NULL, 0 );
-    TRAPD( err, value = aParams.StringByNameL( aParamName ) );
-    if( !err && value.Length() )
+    TPtrC value( aParams.StringByNameL( aParamName ) );
+    if( value.Length() )
         {
         if( aBuf )
             {