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

Marco Cecchetti marco.cecchetti at collabora.com
Tue May 16 12:08:27 UTC 2017


 sc/source/ui/view/tabview.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 942a5b532eca311914335e8fc104cc1d0a93c8ea
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date:   Mon May 8 21:10:00 2017 +0200

    lok: sc: selection overlay was not updated on document size changed
    
    Change-Id: I193f37d50ac3ff0ccbf7e39caab4bf25ed3c9a9c
    Reviewed-on: https://gerrit.libreoffice.org/37403
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index de98051ff3c5..96f10d6729de 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2652,6 +2652,7 @@ OUString ScTabView::getRowColumnHeaders(const Rectangle& rRectangle)
             // Only invalidate if spreadsheet extended to the bottom
             if (aNewRowArea.getHeight())
             {
+                UpdateSelectionOverlay();
                 SfxLokHelper::notifyInvalidation(aViewData.GetViewShell(), aNewRowArea.toString());
             }
         }
@@ -2759,6 +2760,7 @@ OUString ScTabView::getRowColumnHeaders(const Rectangle& rRectangle)
             // Only invalidate if spreadsheet extended to the bottom
             if (aNewColArea.getWidth())
             {
+                UpdateSelectionOverlay();
                 SfxLokHelper::notifyInvalidation(aViewData.GetViewShell(), aNewColArea.toString());
             }
         }


More information about the Libreoffice-commits mailing list