javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtdateeditor.cpp
branchRCL_3
changeset 24 0fd27995241b
parent 19 04becd199f91
child 25 9ac0a0a7da70
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtdateeditor.cpp	Fri Apr 30 10:40:48 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtdateeditor.cpp	Tue May 11 16:07:20 2010 +0300
@@ -257,7 +257,7 @@
     {
         iBgColorIsCustom = EFalse;
     }
-    
+
     Redraw();
 }
 
@@ -268,7 +268,7 @@
 void CSwtDateEditor::SetForegroundL(const MSwtColor* aColor)
 {
     ASwtControlBase::DoSetForegroundL(aColor);
-    
+
     TRgb color((aColor) ? aColor->RgbValue() : iEikonEnv->Color(EColorControlText));
     iEditor->OverrideColorL(EColorControlText, color);
 
@@ -293,7 +293,7 @@
     {
         iFgColorIsCustom = EFalse;
     }
-    
+
     Redraw();
 }
 
@@ -1107,7 +1107,7 @@
 void CSwtDateEditor::HandlePointerEventL(const TPointerEvent& aPointerEvent)
 {
     TBool hit = ETrue;
-    
+
 #ifdef RD_JAVA_S60_RELEASE_9_2
     TBool pressed = iPressed;
     hit = Rect().Contains(aPointerEvent.iPosition);
@@ -1119,9 +1119,9 @@
     else if (aPointerEvent.iType == TPointerEvent::EDrag)
         iPressed = hit;
 #endif
-    
-    if (!(aPointerEvent.iType == TPointerEvent::EButton1Up 
-        && (iDisplay.RevertPointerEvent() || !hit)))
+
+    if (!(aPointerEvent.iType == TPointerEvent::EButton1Up
+            && (iDisplay.RevertPointerEvent() || !hit)))
     {
         iEditor->HandlePointerEventL(aPointerEvent);
 
@@ -1141,7 +1141,7 @@
     iCurrentFieldLength = 0;
     iCurrentFieldDecimalPlacesCount = 0;
     iLastField = iEditor->CurrentField();
-    
+
 #ifdef RD_JAVA_S60_RELEASE_9_2
     if (pressed != iPressed)
         Redraw();