summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/thesdlg.cxx
diff options
context:
space:
mode:
authorAndreas Becker <atayoohoo@googlemail.com>2011-04-28 00:59:28 +0200
committerKatarina Machalkova <kmachalkova@suse.cz>2011-04-28 13:45:46 +0200
commit585b085f4bd1e0bcac8b007a59c18329e199411f (patch)
treebe1a3e604b1cab604f716a8036e6a890ba50aac9 /cui/source/dialogs/thesdlg.cxx
parentf4ae23c798d4403599d5a12d6bb634668996cbd3 (diff)
fixed cppcheck warnings
Diffstat (limited to 'cui/source/dialogs/thesdlg.cxx')
-rw-r--r--cui/source/dialogs/thesdlg.cxx2
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();