uifw/AvKon/src/aknnoteattributes.cpp
branchRCL_3
changeset 56 d48ab3b357f1
parent 55 aecbbf00d063
child 72 a5e7a4f63858
--- a/uifw/AvKon/src/aknnoteattributes.cpp	Tue Aug 31 15:28:30 2010 +0300
+++ b/uifw/AvKon/src/aknnoteattributes.cpp	Wed Sep 01 12:16:19 2010 +0100
@@ -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 );
             }
         }