phoneclientserver/EnPolicy/Src/DosEnPolicy/CDOSEmergencyNumberPolicy.cpp
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
--- a/phoneclientserver/EnPolicy/Src/DosEnPolicy/CDOSEmergencyNumberPolicy.cpp	Thu Aug 19 10:28:14 2010 +0300
+++ b/phoneclientserver/EnPolicy/Src/DosEnPolicy/CDOSEmergencyNumberPolicy.cpp	Tue Aug 31 15:45:17 2010 +0300
@@ -17,7 +17,7 @@
 
 
 // INCLUDE FILES
-#include "CDOSEmergencyNumberPolicy.h"
+#include "cdosemergencynumberpolicy.h" 
 #include <mmtsy_names.h>
 #include <telservicesvariant.hrh>
 
@@ -319,21 +319,21 @@
             }
         }
         
-	//match is wrong, only part of ememergency number is matched
-	int newmatchlen = 0;
-	for (int i = place; i < iProductSpecificList.Length(); i++)
-		{
-		if(iProductSpecificList [i] != KEnPolicySDNumberSeparator )
-			newmatchlen++;
-		else
-			break;	
-		}
-		
-		if (length != newmatchlen)
-			{
-			return EFalse;
-			}
-		
+    //match is wrong, only part of ememergency number is matched
+    int newmatchlen = 0;
+    for (int i = place; i < iProductSpecificList.Length(); i++)
+        {
+        if(iProductSpecificList [i] != KEnPolicySDNumberSeparator )
+            newmatchlen++;
+        else
+            break;  
+        }
+        
+        if (length != newmatchlen)
+            {
+            return EFalse;
+            }
+        
 
     // if we get so far, its ok.
     return ETrue;
@@ -349,22 +349,22 @@
 //
 void CDosEmergencyNumberPolicy::ParseNumber( TPhCltTelephoneNumber& aTelNumber )
     {
-	// Does number contains prefix. If yes then remove it
-	
+    // Does number contains prefix. If yes then remove it
+    
     if ( 0 == aTelNumber.FindC( KSipPrefix ) ||
          0 == aTelNumber.FindC( KTelPrefix ) ||
-	       0 == aTelNumber.FindC( KSosPrefix ) )
+           0 == aTelNumber.FindC( KSosPrefix ) )
         {
         aTelNumber.Delete( 0, KPrefixLength );
-	      }
-	    // Does Number contains domain part. If yes remove it at beging of @ character.
+          }
+        // Does Number contains domain part. If yes remove it at beging of @ character.
       TInt atIndex = aTelNumber.Find( KAt );
       TInt telNumberLength = aTelNumber.Length();
-	    if ( 0 < atIndex && 
-	         atIndex < telNumberLength )
+        if ( 0 < atIndex && 
+             atIndex < telNumberLength )
         {
-		    aTelNumber.Delete( atIndex, telNumberLength - atIndex );
-		    }
+            aTelNumber.Delete( atIndex, telNumberLength - atIndex );
+            }
     }
 
 // -----------------------------------------------------------------------------