summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/olinewin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-22 15:56:13 +0200
committerNoel Grandin <noel@peralex.com>2016-03-23 09:13:14 +0200
commit26012ae8f65ca16e584b3688b0f1f9e76e97db84 (patch)
tree6c16a437f7aabbc36b60d162b0899cb2c657229e /sc/source/ui/view/olinewin.cxx
parent50b39947cb23ec6a9de3845da4aea9ae53fd3cfa (diff)
loplugin:constantparam in sc
Change-Id: I437367b8c6960db730a69c020ba82792a9170d01
Diffstat (limited to 'sc/source/ui/view/olinewin.cxx')
-rw-r--r--sc/source/ui/view/olinewin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/olinewin.cxx b/sc/source/ui/view/olinewin.cxx
index bf2e3910477e..721f7285d68b 100644
--- a/sc/source/ui/view/olinewin.cxx
+++ b/sc/source/ui/view/olinewin.cxx
@@ -838,7 +838,7 @@ bool ScOutlineWindow::ImplMoveFocusByLevel( bool bForward )
return bWrapped;
}
-bool ScOutlineWindow::ImplMoveFocusByTabOrder( bool bForward, bool bFindVisible )
+bool ScOutlineWindow::ImplMoveFocusByTabOrder( bool bForward )
{
bool bRet = false;
size_t nOldLevel = mnFocusLevel;
@@ -858,7 +858,7 @@ bool ScOutlineWindow::ImplMoveFocusByTabOrder( bool bForward, bool bFindVisible
if ( bForward && bWrapInLevel )
bRet |= ImplMoveFocusByLevel( bForward );
}
- while ( bFindVisible && !IsFocusButtonVisible() && ((nOldLevel != mnFocusLevel) || (nOldEntry != mnFocusEntry)) );
+ while ( !IsFocusButtonVisible() && ((nOldLevel != mnFocusLevel) || (nOldEntry != mnFocusEntry)) );
return bRet;
}
@@ -870,7 +870,7 @@ void ScOutlineWindow::ImplMoveFocusToVisible( bool bForward )
ImplMoveFocusByEntry( bForward, true );
// then try to find any other entry
if ( !IsFocusButtonVisible() )
- ImplMoveFocusByTabOrder( bForward, true );
+ ImplMoveFocusByTabOrder( bForward );
}
void ScOutlineWindow::MoveFocusByEntry( bool bForward )
@@ -890,7 +890,7 @@ void ScOutlineWindow::MoveFocusByLevel( bool bForward )
void ScOutlineWindow::MoveFocusByTabOrder( bool bForward )
{
HideFocus();
- ImplMoveFocusByTabOrder( bForward, true );
+ ImplMoveFocusByTabOrder( bForward );
ShowFocus();
}