diff -r 53af9c3d61e4 -r 33ad376816a8 securitydialogs/SecUi/Src/SecUiManualSecuritySettings.cpp --- a/securitydialogs/SecUi/Src/SecUiManualSecuritySettings.cpp Tue May 11 17:00:25 2010 +0300 +++ b/securitydialogs/SecUi/Src/SecUiManualSecuritySettings.cpp Tue May 25 13:36:52 2010 +0300 @@ -399,8 +399,6 @@ RDebug::Print(_L("(SECUI)CManualSecuritySettings::LockSimL(): Param length: %d"), length); #endif - if(aLockCode.Length() <= KSimLockMaxPasswordSize) - { if (aType.CompareF(Operator) == 0) { aLockType = RMmCustomAPI::EOperator; @@ -436,7 +434,6 @@ aLockType = RMmCustomAPI::EOperator_Gid2; ret = iCustomPhone.ActivateSimLock( aLockCode,aLockType ); } - } #if defined(_DEBUG) RDebug::Print(_L("(SECUI)CManualSecuritySettings::LockSimL() RESULT: %d"), ret); @@ -503,8 +500,7 @@ #if defined(_DEBUG) RDebug::Print(_L("(SECUI)CManualSecuritySettings::UnLockSimL(): Param length: %d"), length); #endif - if(aUnlockCode.Length() <= KSimLockMaxPasswordSize) - { + if (aType.CompareF(Operator) == 0) { aLockType = RMmCustomAPI::EOperator; @@ -546,7 +542,6 @@ ret = iCustomPhone.DeActivateSimLock( aUnlockCode,aLockType ); } - } #if defined(_DEBUG) RDebug::Print(_L("(SECUI)CManualSecuritySettings::UnLockSimL() RESULT: %d"), ret); #endif