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

New commits:
commit 942a5b532eca311914335e8fc104cc1d0a93c8ea
Author: Marco Cecchetti <marco.cecche...@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 <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@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());
             }
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to