phoneuis/Ussd/src/UssdEditorLines.cpp
branchRCL_3
changeset 3 8871b09be73b
parent 0 5f000ab63145
child 5 2a26698d78ba
--- a/phoneuis/Ussd/src/UssdEditorLines.cpp	Tue Feb 02 00:10:04 2010 +0200
+++ b/phoneuis/Ussd/src/UssdEditorLines.cpp	Fri Feb 19 22:50:26 2010 +0200
@@ -104,9 +104,9 @@
     {
     // Move rectangles to right position
     
-    for ( TInt i = 0; 
-          iRects && i < iRects->Count() && i < UssdLayout::NumberOfEditorLines(); 
-          i++ )
+    for ( TInt i = 0;
+            i < iRects->Count() && i < UssdLayout::NumberOfEditorLines(); 
+            i++ )
         {
         iRects->At( i )->LayoutRect( Rect() , 
             UssdLayout::MessageWritingLayoutElements6( i+1 ) );
@@ -119,10 +119,10 @@
 // 
 // -----------------------------------------------------------------------------
 //
-void CUssdEditorLines::Draw( const TRect& aRect ) const
+void CUssdEditorLines::Draw( const TRect& /*aRect*/ ) const
     {
     // Take the colour from some ramdom line.
-    // Here it is takem from the first line.
+    // Here it is taken from the first line.
 
     TRgb lineColour( KRgbWhite );
 
@@ -151,7 +151,7 @@
     // Draw row lines by clearing rectangles corresponding to row locations.
     TInt count( iRects->Count() );
     TInt lines( UssdLayout::NumberOfEditorLines() );
-    for ( TInt i = 0; iRects && i < count && i < lines; i++ )
+    for ( TInt i = 0; i < count && i < lines; i++ )
         {
         gc.Clear( iRects->At( i )->Rect() );
         }