diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/dlistimp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index 319cd9d56be8..075cb8833f8c 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -847,10 +847,10 @@ static void AddInternal( if (rDic.is()) { //! TL TODO: word iterator should be used to break up the text - static const char *pDefWordDelim = + static const char aDefWordDelim[] = "!\"#$%&'()*+,-./:;<=>?[]\\_^`{|}~\t \n"; - ByteString aDummy( pDefWordDelim ); - String aDelim( aDummy, osl_getThreadTextEncoding() ); + String aDelim = + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(aDefWordDelim)); aDelim.EraseAllChars( '.' ); String aToken; |