diff options
author | Andreas Becker <atayoohoo@googlemail.com> | 2011-04-28 00:59:28 +0200 |
---|---|---|
committer | Katarina Machalkova <kmachalkova@suse.cz> | 2011-04-28 13:45:46 +0200 |
commit | 585b085f4bd1e0bcac8b007a59c18329e199411f (patch) | |
tree | be1a3e604b1cab604f716a8036e6a890ba50aac9 /cui/source/dialogs/thesdlg.cxx | |
parent | f4ae23c798d4403599d5a12d6bb634668996cbd3 (diff) |
fixed cppcheck warnings
Diffstat (limited to 'cui/source/dialogs/thesdlg.cxx')
-rw-r--r-- | cui/source/dialogs/thesdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index e3b1664a5..c74432556 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -398,7 +398,7 @@ void SvxThesaurusDialog_Impl::LookUp_Impl() aLookUpText = OUString( aText ); if (aLookUpText.getLength() > 0 && - (aLookUpHistory.size() == 0 || aLookUpText != aLookUpHistory.top())) + (aLookUpHistory.empty() || aLookUpText != aLookUpHistory.top())) aLookUpHistory.push( aLookUpText ); m_bWordFound = UpdateAlternativesBox_Impl(); |