Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | /* |
michael@0 | 2 | ********************************************************************** |
michael@0 | 3 | * Copyright (c) 2000-2005, International Business Machines |
michael@0 | 4 | * Corporation and others. All Rights Reserved. |
michael@0 | 5 | ********************************************************************** |
michael@0 | 6 | * Date Name Description |
michael@0 | 7 | * 01/11/2000 aliu Creation. |
michael@0 | 8 | ********************************************************************** |
michael@0 | 9 | */ |
michael@0 | 10 | |
michael@0 | 11 | #include "unicode/utypes.h" |
michael@0 | 12 | |
michael@0 | 13 | #if !UCONFIG_NO_TRANSLITERATION |
michael@0 | 14 | |
michael@0 | 15 | #include "nultrans.h" |
michael@0 | 16 | |
michael@0 | 17 | U_NAMESPACE_BEGIN |
michael@0 | 18 | |
michael@0 | 19 | UOBJECT_DEFINE_RTTI_IMPLEMENTATION(NullTransliterator) |
michael@0 | 20 | |
michael@0 | 21 | NullTransliterator::NullTransliterator() : Transliterator(UNICODE_STRING_SIMPLE("Any-Null"), 0) {} |
michael@0 | 22 | |
michael@0 | 23 | NullTransliterator::~NullTransliterator() {} |
michael@0 | 24 | |
michael@0 | 25 | Transliterator* NullTransliterator::clone(void) const { |
michael@0 | 26 | return new NullTransliterator(); |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | void NullTransliterator::handleTransliterate(Replaceable& /*text*/, UTransPosition& offsets, |
michael@0 | 30 | UBool /*isIncremental*/) const { |
michael@0 | 31 | offsets.start = offsets.limit; |
michael@0 | 32 | } |
michael@0 | 33 | |
michael@0 | 34 | U_NAMESPACE_END |
michael@0 | 35 | |
michael@0 | 36 | #endif /* #if !UCONFIG_NO_TRANSLITERATION */ |