summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh1.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-02-04 21:50:55 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-02-04 21:52:00 +0100
commitbf2300fb0704f92f312b96b2e624a1730df5dd45 (patch)
treef1e5d8140f87c21709ace0fe48650806d3a8e137 /sc/source/ui/view/cellsh1.cxx
parent904d59fab93eb2fe855f0a46d9d6d64e62df0228 (diff)
Fix 3 "Possible inefficient checking"
Diffstat (limited to 'sc/source/ui/view/cellsh1.cxx')
-rw-r--r--sc/source/ui/view/cellsh1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index e9a574ff950b..603d7b8c3555 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -1836,7 +1836,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
pScMod->InputKeyEvent( KeyEvent('=',KeyCode()) );
std::vector<rtl::OUString> aNames = pDlg->GetSelectedNames();
- if (aNames.size())
+ if (!aNames.empty())
{
rtl::OUStringBuffer aBuffer;
for (std::vector<rtl::OUString>::const_iterator itr = aNames.begin();