summaryrefslogtreecommitdiff
path: root/lingucomponent/source/thesaurus/libnth
diff options
context:
space:
mode:
authorGustavo Buzzatti Pacheco <gbpacheco@gmail.com>2012-01-04 11:38:41 -0200
committerLuboš Luňák <l.lunak@suse.cz>2012-01-05 15:07:34 +0100
commitc47f3523338b8e58c1ea18cc583064761f60df90 (patch)
treeb4fa717b768e4445e66a9345119103689f4fdd57 /lingucomponent/source/thesaurus/libnth
parent77d05dfa5ba3f81844b093808246d60504cfabda (diff)
Fix for fdo43460 Part XXII getLength() to isEmpty()
Part XXII modules jvmfwk, l10ntools, lingucomponent
Diffstat (limited to 'lingucomponent/source/thesaurus/libnth')
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index 76b7a32b1edc..8e9bf582d0bb 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -327,7 +327,7 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thes
sal_Int16 nLanguage = LocaleToLanguage( rLocale );
- if (nLanguage == LANGUAGE_NONE || !rTerm.getLength())
+ if (nLanguage == LANGUAGE_NONE || rTerm.isEmpty())
return noMeanings;
if (!hasLocale( rLocale ))