sc/source/ui/view/preview.cxx | 1 - sc/source/ui/view/printfun.cxx | 2 -- 2 files changed, 3 deletions(-)
New commits: commit 4be23d7701d43af34f218545a863f5c96b4298eb Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Apr 4 09:06:05 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Apr 4 10:33:30 2024 +0200 remove leftovers from commit e1e48bba55ff68397d514ab3771850678312f348 Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Mon Apr 1 18:40:26 2024 +0200 tdf#160399 speed up print preview Change-Id: I399752d473a4f6f782cdfcc53b4625dcdf7cb460 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165778 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx index c438425cfc4b..c8b3ed2a7ae0 100644 --- a/sc/source/ui/view/preview.cxx +++ b/sc/source/ui/view/preview.cxx @@ -729,7 +729,6 @@ void ScPreview::SetZoom(sal_uInt16 nNewZoom) pViewShell->UpdateNeededScrollBars(true); bInSetZoom = false; -// bStateValid = false; InvalidateLocationData( SfxHintId::ScAccVisAreaChanged ); DoInvalidate(); Invalidate(); diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 2653b3d0766b..465827174b76 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -253,8 +253,6 @@ ScPrintFunc::ScPrintFunc(ScDocShell* pShell, SfxPrinter* pNewPrinter, const ScPr nEndRow = rState.nEndRow; bPrintAreaValid = rState.bPrintAreaValid; nZoom = rState.nZoom; -// m_aRanges.m_nPagesX = rState.nPagesX; -// m_aRanges.m_nPagesY = rState.nPagesY; m_aRanges = rState.m_aRanges; nTabPages = rState.nTabPages; nTotalPages = rState.nTotalPages;