summaryrefslogtreecommitdiff
path: root/linguistic/source/spelldta.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-27 11:08:04 -0200
committerJan Holesovsky <kendy@suse.cz>2011-12-30 12:37:17 +0100
commitc3fc5c9c9b17cef63fa7c77a39a0971c27a004f9 (patch)
tree648b7a26cfabb4c56ae5558de926ed9e963da066 /linguistic/source/spelldta.cxx
parenta17fb882569046cd9f6940cf2e87435200bb666b (diff)
Fix for fdo43460 Part XXIII getLength() to isEmpty()
Part XXIII Modules linguistic
Diffstat (limited to 'linguistic/source/spelldta.cxx')
-rw-r--r--linguistic/source/spelldta.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx
index 7ac3bc4ddcbf..0aa4fc1fdebf 100644
--- a/linguistic/source/spelldta.cxx
+++ b/linguistic/source/spelldta.cxx
@@ -174,7 +174,7 @@ Sequence< OUString > MergeProposalSeqs(
const OUString *pAlt = j == 0 ? pAlt1 : pAlt2;
for (i = 0; i < nCount && nIndex < MAX_PROPOSALS; i++)
{
- if (pAlt[i].getLength() &&
+ if (!pAlt[i].isEmpty() &&
(bAllowDuplicates || !SeqHasEntry(aMerged, pAlt[i] )))
pMerged[ nIndex++ ] = pAlt[ i ];
}