summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl/checklistmenu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/cctrl/checklistmenu.cxx')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 6a2a8b436674..bcccb1af82bb 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1535,7 +1535,7 @@ void ScTabStops::AddTabStop( vcl::Window* pWin )
void ScTabStops::SetTabStop( vcl::Window* pWin )
{
- if ( !maControls.size() )
+ if ( maControls.empty() )
return;
ControlToPosMap::const_iterator aIter = maControlToPos.find( pWin );
if ( aIter == maControlToPos.end() )
@@ -1554,7 +1554,7 @@ void ScTabStops::SetTabStop( vcl::Window* pWin )
void ScTabStops::CycleFocus( bool bReverse )
{
- if (!maControls.size())
+ if (maControls.empty())
return;
if ( mnCurTabStop < maControls.size() )
{