summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/brwbox2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/brwbox/brwbox2.cxx')
-rw-r--r--svtools/source/brwbox/brwbox2.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index 1a3cfad27e11..e178fb02918f 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -236,14 +236,13 @@ void BrowseBox::EndScroll()
}
-void BrowseBox::ToggleSelection( bool bForce )
+void BrowseBox::ToggleSelection()
{
// selection highlight-toggling allowed?
if ( bHideSelect )
return;
- if ( !bForce &&
- ( bNotToggleSel || !IsUpdateMode() || !bSelectionIsVisible ) )
+ if ( bNotToggleSel || !IsUpdateMode() || !bSelectionIsVisible )
return;
// only highlight painted areas!