diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-18 08:09:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-18 11:32:16 +0200 |
commit | f4c59e5364e449bd8ce5420ff57331677ff859b9 (patch) | |
tree | 563d04a3dc7724f0597b32022e31a6ca5074aac3 /sd/source/ui/unoidl/SdUnoSlideView.cxx | |
parent | cd6d590e2e687c3852a4e7bda9571d499b86d8d4 (diff) |
loplugin:constantparam in sd
Change-Id: Idad86a005a7df1af38722fa0e909ed9b6e0858fa
Diffstat (limited to 'sd/source/ui/unoidl/SdUnoSlideView.cxx')
-rw-r--r-- | sd/source/ui/unoidl/SdUnoSlideView.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/SdUnoSlideView.cxx b/sd/source/ui/unoidl/SdUnoSlideView.cxx index cd3a8b2f570e..c220a74910f0 100644 --- a/sd/source/ui/unoidl/SdUnoSlideView.cxx +++ b/sd/source/ui/unoidl/SdUnoSlideView.cxx @@ -134,8 +134,7 @@ void SAL_CALL SdUnoSlideView::setCurrentPage ( if (xProperties->getPropertyValue("Number") >>= nPageNumber) { mrSlideSorter.GetController().GetCurrentSlideManager()->SwitchCurrentSlide( - nPageNumber-1, - true); + nPageNumber-1); } } } |