[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - sc/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 16 17:28:03 UTC 2020


 sc/source/ui/docshell/docsh4.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 67a52b17b51495a6112f42de7cb465d69f2bb139
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Mar 10 09:15:09 2020 +0100
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Mon Mar 16 18:27:33 2020 +0100

    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 at cib.de>
    (cherry picked from commit c185263f45a556e6c695c766476e67fbd2ea3593)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90386
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index ced26c3261d2..9c04bae44b0f 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -2114,8 +2114,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


More information about the Libreoffice-commits mailing list