diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-13 15:54:57 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-13 19:11:34 -0200 |
commit | 38423e0ad2a8e2a902aeb37391aef0b543c09d68 (patch) | |
tree | 2610f36fed95d4540d2e1d7e682dbd47bf6cf4ca /svl/source/items/srchitem.cxx | |
parent | e60b212cc9f02d68ee638106a5881c21ac40ce8d (diff) |
Fix for fdo43460 Part XXXVI getLength() to isEmpty()
Part XXXVI
Modules
svl
Diffstat (limited to 'svl/source/items/srchitem.cxx')
-rw-r--r-- | svl/source/items/srchitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx index 8fca18ec7a20..d4c05c0892a4 100644 --- a/svl/source/items/srchitem.cxx +++ b/svl/source/items/srchitem.cxx @@ -503,7 +503,7 @@ bool SvxSearchItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMembe case MID_SEARCH_LOCALE: { sal_Int16 nLocale; - if (aSearchOpt.Locale.Language.getLength() || aSearchOpt.Locale.Country.getLength() ) + if (!aSearchOpt.Locale.Language.isEmpty() || !aSearchOpt.Locale.Country.isEmpty() ) nLocale = MsLangId::convertLocaleToLanguage( aSearchOpt.Locale ); else nLocale = LANGUAGE_NONE; |