diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-29 01:15:16 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-29 01:23:09 +0900 |
commit | a138709519b00b65cf5b530a319ed67ca657a1f4 (patch) | |
tree | 526d2cd8d3279c5e0a2c7494a1c347b5d92be9d9 /sw | |
parent | 51af20c8b4183fc796f5c9d4be25d3560a20ca3e (diff) |
Drop comparison with empty rtl::OUString
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/lingu/olmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx index db4bd4e3d3a9..23e5535700c6 100644 --- a/sw/source/ui/lingu/olmenu.cxx +++ b/sw/source/ui/lingu/olmenu.cxx @@ -225,7 +225,7 @@ void SwSpellPopup::fillLangPopupMenu( OUString aKeyboardLang( aSeq[2] ); OUString aGuessedTextLang( aSeq[3] ); - if (aCurLang != OUString() && + if (!aCurLang.isEmpty() && LANGUAGE_DONTKNOW != aLanguageTable.GetType( aCurLang )) aLangItems.insert( aCurLang ); |