diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-12-13 22:46:44 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-12-13 23:30:29 +0100 |
commit | 9b9c5a318abeaeeafb76ba7fcd09f350740f8ef3 (patch) | |
tree | 2a325695172fa07cd480089f490728068bcb8974 /extensions | |
parent | 55edb3faf6212739d583889b692f802c4bf29467 (diff) |
cppcheck: Possible inefficient checking
Change-Id: I0d9f1eadb6dc863f1e5606ef2d166881e6cf6c0a
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/abpilot/fieldmappingpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/abpilot/fieldmappingpage.cxx b/extensions/source/abpilot/fieldmappingpage.cxx index 8776d5d1e063..b33c15f53171 100644 --- a/extensions/source/abpilot/fieldmappingpage.cxx +++ b/extensions/source/abpilot/fieldmappingpage.cxx @@ -81,7 +81,7 @@ namespace abp { const AddressSettings& rSettings = getSettings(); OUString sHint; - if ( 0 == rSettings.aFieldMapping.size() ) + if ( rSettings.aFieldMapping.empty() ) sHint = ModuleRes(RID_STR_NOFIELDSASSIGNED).toString(); m_aHint.SetText( sHint ); } |