[Libreoffice-commits] core.git: sc/source

Marco Cecchetti marco.cecchetti at collabora.com
Tue May 16 14:08:11 UTC 2017


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

New commits:
commit ea3ef1a2a06b7ac0fa9f618498f9caf48ebc40bd
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/37402
    Reviewed-by: Marco Cecchetti <mrcekets at gmail.com>
    Tested-by: Marco Cecchetti <mrcekets at gmail.com>

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 0a524c268df1..7610296acd76 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2399,6 +2399,7 @@ OUString ScTabView::getRowColumnHeaders(const tools::Rectangle& rRectangle)
             // Only invalidate if spreadsheet extended to the bottom
             if (aNewRowArea.getHeight())
             {
+                UpdateSelectionOverlay();
                 SfxLokHelper::notifyInvalidation(aViewData.GetViewShell(), aNewRowArea.toString());
             }
         }
@@ -2525,6 +2526,7 @@ OUString ScTabView::getRowColumnHeaders(const tools::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