diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-10 16:58:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-11 09:45:41 +0200 |
commit | 7c3bb56d60b5d33fc7da1cdef3a7f9f2aa956b12 (patch) | |
tree | 1203e22dac3b20635c27f9845345a9235fc88993 /linguistic/source/spelldta.cxx | |
parent | 5118cb286865a6617273cb1a8de963b893cdf86c (diff) |
convert linguistic/source/*.cxx from String to OUString
Change-Id: I6f278d4b1a0eccf3757e1a7add6324402a09dfed
Diffstat (limited to 'linguistic/source/spelldta.cxx')
-rw-r--r-- | linguistic/source/spelldta.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx index 80c40a0cc6f4..1d07dc1ba412 100644 --- a/linguistic/source/spelldta.cxx +++ b/linguistic/source/spelldta.cxx @@ -92,13 +92,13 @@ void SearchSimilarText( const OUString &rText, sal_Int16 nLanguage, sal_Int32 nLen = aEntries.getLength(); for (sal_Int32 k = 0; k < nLen; ++k) { - String aEntryTxt; + OUString aEntryTxt; if (pEntries[k].is()) { // remove characters used to determine hyphenation positions aEntryTxt = comphelper::string::remove(pEntries[k]->getDictionaryWord(), '='); } - if (aEntryTxt.Len() > 0 && LevDistance( rText, aEntryTxt ) <= 2) + if (!aEntryTxt.isEmpty() && LevDistance( rText, aEntryTxt ) <= 2) rDicListProps.push_back( aEntryTxt ); } } |