summaryrefslogtreecommitdiff
path: root/framework/source/fwi
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-29 01:15:16 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-29 01:23:09 +0900
commita138709519b00b65cf5b530a319ed67ca657a1f4 (patch)
tree526d2cd8d3279c5e0a2c7494a1c347b5d92be9d9 /framework/source/fwi
parent51af20c8b4183fc796f5c9d4be25d3560a20ca3e (diff)
Drop comparison with empty rtl::OUString
Diffstat (limited to 'framework/source/fwi')
-rw-r--r--framework/source/fwi/helper/mischelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/fwi/helper/mischelper.cxx b/framework/source/fwi/helper/mischelper.cxx
index 8a50e942a161..3964826af56c 100644
--- a/framework/source/fwi/helper/mischelper.cxx
+++ b/framework/source/fwi/helper/mischelper.cxx
@@ -162,7 +162,7 @@ void FillLangItems( std::set< OUString > &rLangItems,
rLangItems.clear();
//1--add current language
- if( rCurLang != OUString() &&
+ if( !rCurLang.isEmpty() &&
LANGUAGE_DONTKNOW != rLanguageTable.GetType( rCurLang ))
rLangItems.insert( rCurLang );
@@ -195,7 +195,7 @@ void FillLangItems( std::set< OUString > &rLangItems,
}
//5--keyboard language
- if( rKeyboardLang != OUString())
+ if( !rKeyboardLang.isEmpty() )
{
if ( IsScriptTypeMatchingToLanguage( nScriptType, rLanguageTable.GetType( rKeyboardLang )))
rLangItems.insert( rKeyboardLang );