diff options
Diffstat (limited to 'lingucomponent/source/spellcheck/spell/sspellimp.cxx')
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index 29f94cf8babb..bbb1231a4c24 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -298,9 +298,9 @@ sal_Int16 SpellChecker::GetSpellFailure(const OUString &rWord, const Locale &rLo { c = rBuf[ix]; if ((c == 0x201C) || (c == 0x201D)) - rBuf[ix] = (sal_Unicode)0x0022; + rBuf[ix] = u'"'; else if ((c == 0x2018) || (c == 0x2019)) - rBuf[ix] = (sal_Unicode)0x0027; + rBuf[ix] = u'\''; // recognize words with Unicode ligatures and ZWNJ/ZWJ characters (only // with 8-bit encoded dictionaries. For UTF-8 encoded dictionaries @@ -464,9 +464,9 @@ Reference< XSpellAlternatives > { c = rBuf[ix]; if ((c == 0x201C) || (c == 0x201D)) - rBuf[ix] = (sal_Unicode)0x0022; + rBuf[ix] = u'"'; if ((c == 0x2018) || (c == 0x2019)) - rBuf[ix] = (sal_Unicode)0x0027; + rBuf[ix] = u'\''; } OUString nWord(rBuf.makeStringAndClear()); |