equal
deleted
inserted
replaced
870 // --------------------------------------------------------------------------- |
870 // --------------------------------------------------------------------------- |
871 // |
871 // |
872 void CPtiQwertyKeyMappings::GetNumericModeKeysFromDataL(RArray<TPtiNumericKeyBinding>& aResult) |
872 void CPtiQwertyKeyMappings::GetNumericModeKeysFromDataL(RArray<TPtiNumericKeyBinding>& aResult) |
873 { |
873 { |
874 __ASSERT_DEBUG(iKeyMapData, User::Panic(KPtiNoQwertyKeyMapDataPanic, KErrCorrupt)); |
874 __ASSERT_DEBUG(iKeyMapData, User::Panic(KPtiNoQwertyKeyMapDataPanic, KErrCorrupt)); |
|
875 CleanupClosePushL( aResult ); |
875 |
876 |
876 TInt numEntries = 0; |
877 TInt numEntries = 0; |
877 const TPtiNumericKeyBinding* dataEntries = iKeyMapData->NumericModeKeysTable(iKeyboardType, |
878 const TPtiNumericKeyBinding* dataEntries = iKeyMapData->NumericModeKeysTable(iKeyboardType, |
878 numEntries); |
879 numEntries); |
879 |
880 |
880 for (TInt i = 0; i < numEntries; i++) |
881 for (TInt i = 0; i < numEntries; i++) |
881 { |
882 { |
882 User::LeaveIfError(aResult.Append(dataEntries[i])); |
883 User::LeaveIfError(aResult.Append(dataEntries[i])); |
883 } |
884 } |
|
885 CleanupStack::Pop( &aResult ); |
884 } |
886 } |
885 |
887 |
886 |
888 |
887 // --------------------------------------------------------------------------- |
889 // --------------------------------------------------------------------------- |
888 // CPtiQwertyKeyMappings::WriteData (DEPRECATED) |
890 // CPtiQwertyKeyMappings::WriteData (DEPRECATED) |