diff options
Diffstat (limited to 'src/modules/filters/utf8nfc.cpp')
-rw-r--r-- | src/modules/filters/utf8nfc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/filters/utf8nfc.cpp b/src/modules/filters/utf8nfc.cpp index 16a5c54..af1d9bd 100644 --- a/src/modules/filters/utf8nfc.cpp +++ b/src/modules/filters/utf8nfc.cpp @@ -46,11 +46,11 @@ char UTF8NFC::processText(SWBuf &text, const SWKey *key, const SWModule *module) return -1; err = U_ZERO_ERROR; - UnicodeString source(text.getRawData(), text.length(), conv, err); - UnicodeString target; + icu::UnicodeString source(text.getRawData(), text.length(), conv, err); + icu::UnicodeString target; err = U_ZERO_ERROR; - Normalizer::normalize(source, UNORM_NFC, 0, target, err); + icu::Normalizer::normalize(source, UNORM_NFC, 0, target, err); err = U_ZERO_ERROR; text.setSize(text.size()*2); // potentially, it can grow to 2x the original size |