[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sc/source

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 13 14:52:05 UTC 2020


 sc/source/ui/view/gridwin.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 568a8036e093e65ee1cc88f140a81fe62905e0c0
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Mon Jan 13 14:32:37 2020 +0000
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Mon Jan 13 14:37:57 2020 +0000

    WaE: unused code in calc.
    
    Change-Id: I42a895573f8871841c9a33a23c0b826be814ddae

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index b591b974dabf..d416607a379e 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5947,9 +5947,6 @@ void ScGridWindow::updateOtherKitSelections() const
         if (!pOther)
             return;
 
-        const ScGridWindow *pGrid = pOther->GetViewData().GetActiveWin();
-        assert(pGrid);
-
         // Fetch pixels & convert for each view separately.
         tools::Rectangle aBoundingBox;
         std::vector<tools::Rectangle> aPixelRects;


More information about the Libreoffice-commits mailing list