scuffed-code/icu4c/source/i18n/nultrans.cpp
George Rhoten 4a9dee0dfc ICU-953 Don't do static initialization
X-SVN-Rev: 5041
2001-06-20 22:52:03 +00:00

23 lines
897 B
C++

/*
**********************************************************************
* Copyright (c) 2000, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Date Name Description
* 01/11/2000 aliu Creation.
**********************************************************************
*/
#include "unicode/nultrans.h"
//const UnicodeString NullTransliterator::ID = UnicodeString("Null", "");
const UChar NullTransliterator::ID[] = {0x4E, 0x75, 0x6C, 0x6C, 0x00}; /* "Null" */
Transliterator* NullTransliterator::clone(void) const {
return new NullTransliterator();
}
void NullTransliterator::handleTransliterate(Replaceable& /*text*/, UTransPosition& offsets,
UBool /*isIncremental*/) const {
offsets.start = offsets.limit;
}