equal
deleted
inserted
replaced
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
36 { |
36 { |
37 } |
37 } |
38 |
38 |
39 CRecognitionResultHashMapEntry::~CRecognitionResultHashMapEntry() |
39 CRecognitionResultHashMapEntry::~CRecognitionResultHashMapEntry() |
40 { |
40 { |
41 iResult->Close(); |
41 |
42 iResult = NULL; |
42 if(iResult != NULL) |
|
43 { |
|
44 iResult->Close(); |
|
45 iResult = NULL; |
|
46 } |
|
47 |
43 delete iNext; |
48 delete iNext; |
44 } |
49 } |
45 |
50 |
46 void CRecognitionResultHashMapEntry::UpdateL(TTime aLastModified, const TDataRecognitionResult& aResult) |
51 void CRecognitionResultHashMapEntry::UpdateL(TTime aLastModified, const TDataRecognitionResult& aResult) |
47 { |
52 { |