summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-03-10 09:15:09 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-03-11 08:58:15 +0100
commitc185263f45a556e6c695c766476e67fbd2ea3593 (patch)
tree3cf3c1e7d1649773ffc0c85a80ce019f97374037 /sc
parent9ccdb01d73cb1f57aa11f72256ced5ad894c178c (diff)
tdf#126742 Don't change visible area while retrieving it
This leads to funny size changes in embedded calc docs Change-Id: I2c4a0fbebb782faae7508e7d61c8da9d440a5916 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90247 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index d56594ed1895..ff70cfcec1ac 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -2113,8 +2113,6 @@ tools::Rectangle ScDocShell::GetVisArea( sal_uInt16 nAspect ) const
nStartRow = nEndRow;
tools::Rectangle aNewArea = m_aDocument
.GetMMRect( nStartCol,nStartRow, nEndCol,nEndRow, nVisTab );
- //TODO/LATER: different methods for setting VisArea?!
- const_cast<ScDocShell*>(this)->SfxObjectShell::SetVisArea( aNewArea );
return aNewArea;
}
else