summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-04-04 09:06:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-04-04 10:33:30 +0200
commit4be23d7701d43af34f218545a863f5c96b4298eb (patch)
tree1ffb0af16304ff22c89b82a5ba10a1d639a139bd
parent3be164e0c7dc2cc73e32e643e30357e126238588 (diff)
remove leftovers
from commit e1e48bba55ff68397d514ab3771850678312f348 Author: Noel Grandin <noel.grandin@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.grandin@collabora.co.uk>
-rw-r--r--sc/source/ui/view/preview.cxx1
-rw-r--r--sc/source/ui/view/printfun.cxx2
2 files changed, 0 insertions, 3 deletions
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;