sw/source/uibase/uiview/view2.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 854dc05d285d4bd5c91bada839f282d1d03dbb52 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Feb 1 11:47:20 2019 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Feb 1 13:18:43 2019 +0100 One more "Don't add snap point < MINZOOM" ...similar to a89f535d85bb7d32ccb5196813ba6233f45c0c83 "Don't add snap point < MINZOOM", this time triggered during CppunitTest_smoketest Change-Id: Ibee45c7b1ac9b29c7c4757bbdafd909076bcb058 Reviewed-on: https://gerrit.libreoffice.org/67243 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index 63cd87a68867..11ba7904f18d 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -1458,7 +1458,10 @@ void SwView::StateStatusLine(SfxItemSet &rSet) nTmpWidth += aPageSize.Width() + pVOpt->GetGapBetweenPages(); nFac = aWindowSize.Width() * 100 / nTmpWidth; nFac = std::min( nFac, nVisPercent ); - aZoomSliderItem.AddSnappingPoint( nFac ); + if (nFac >= MINZOOM) + { + aZoomSliderItem.AddSnappingPoint( nFac ); + } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits