diff -r e4e3998ddda2 -r 9f95a5546443 uigraphics/AknIcon/SvgtFbsRasterizer/src/SvgtFbsRasterizer.cpp --- a/uigraphics/AknIcon/SvgtFbsRasterizer/src/SvgtFbsRasterizer.cpp Tue Aug 31 16:13:36 2010 +0300 +++ b/uigraphics/AknIcon/SvgtFbsRasterizer/src/SvgtFbsRasterizer.cpp Wed Sep 01 12:19:53 2010 +0100 @@ -56,6 +56,10 @@ */ EXPORT_C CFbsRasterizer* CSvgtFbsRasterizer::New() { + if(!User::TrapHandler()) + { + return NULL; + } CSvgtFbsRasterizer* self = new CSvgtFbsRasterizer; if ( self ) { @@ -591,7 +595,7 @@ TReal R = 1.0; TInt HaN = Ha; - const TInt lastColumn = aSize.iWidth - 1; + const TInt lastColumn = aSize.iHeight - 1; for ( TInt curRow = 0; curRow < validMargin; curRow++ ) { const TInt y = (aSize.iHeight - 1) - curRow; // h - 1 is the last line