diff options
Diffstat (limited to 'svtools/source/brwbox/brwbox2.cxx')
-rw-r--r-- | svtools/source/brwbox/brwbox2.cxx | 5 |
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! |