uifw/AvKon/src/aknnoteattributes.cpp
branchRCL_3
changeset 51 fcdfafb36fe7
parent 0 2f259fa3e83a
child 55 aecbbf00d063
--- a/uifw/AvKon/src/aknnoteattributes.cpp	Thu Jul 15 18:56:19 2010 +0300
+++ b/uifw/AvKon/src/aknnoteattributes.cpp	Thu Aug 19 10:11:06 2010 +0300
@@ -1029,8 +1029,11 @@
             iNoteControl->DeactivateGc();
 
             // Redraw the label after the background
-            iNoteText->Line( i )->ActivateL(); // Never leaves
-            iNoteText->Line( i )->DrawNow();
+            TRAPD(err, iNoteText->Line( i )->ActivateL()); // Never leaves
+            if (err == KErrNone)
+                {
+                iNoteText->Line( i )->DrawNow();
+                }
             iNoteText->SetLineModified( i, EFalse );
             }
         }