equal
deleted
inserted
replaced
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2009 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 the License "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". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
440 |
440 |
441 // Compare the two composition strings. |
441 // Compare the two composition strings. |
442 return TUnicode::Compare((TUint16 *)&CompositionBuffer[index1 + 2], CompositionBuffer[index1 + 1]*2, |
442 return TUnicode::Compare((TUint16 *)&CompositionBuffer[index1 + 2], CompositionBuffer[index1 + 1]*2, |
443 (TUint16 *)&CompositionBuffer[index2 + 2], CompositionBuffer[index2 + 1]*2); |
443 (TUint16 *)&CompositionBuffer[index2 + 2], CompositionBuffer[index2 + 1]*2); |
444 } |
444 } |
445 |
445 |
446 // Write the output file. |
446 // Write the output file. |
447 void write_output() |
447 void write_output() |
448 { |
448 { |
449 int data_bytes = 0; |
449 int data_bytes = 0; |
450 |
450 |