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