diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-01 09:51:02 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-02 05:34:49 +0000 |
commit | 6c87b028406070332ab1c37dde323b1678cdf8e6 (patch) | |
tree | 51cd2bffdc152c02f7d72f3e98b450f84eb1c6c0 /sd/source/ui/slidesorter/shell | |
parent | 389b08190092f9a9103b3ac098994ec83b2d0bfa (diff) |
loplugin:countusersofdefaultparams in sd
Change-Id: I848d9b555a26e9d343efdfaaaec44a2c7d8be5b5
Reviewed-on: https://gerrit.libreoffice.org/27765
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/slidesorter/shell')
-rw-r--r-- | sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx index 25f0810c5281..fa0291f88f15 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx @@ -625,7 +625,7 @@ void SlideSorterViewShell::UpdateScrollBars() { // Do not call the overwritten method of the base class: We do all the // scroll bar setup by ourselves. - mpSlideSorter->GetController().GetScrollBarManager().UpdateScrollBars (); + mpSlideSorter->GetController().GetScrollBarManager().UpdateScrollBars(true); } void SlideSorterViewShell::StartDrag ( @@ -681,7 +681,7 @@ void SlideSorterViewShell::SetPageSelection ( const std::shared_ptr<PageSelection>& rSelection) { OSL_ASSERT(mpSlideSorter.get()!=nullptr); - mpSlideSorter->GetController().GetPageSelector().SetPageSelection(rSelection); + mpSlideSorter->GetController().GetPageSelector().SetPageSelection(rSelection, true); } void SlideSorterViewShell::AddSelectionChangeListener ( |