sc/source/ui/view/tabview.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit ea3ef1a2a06b7ac0fa9f618498f9caf48ebc40bd 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/37402 Reviewed-by: Marco Cecchetti <mrcek...@gmail.com> Tested-by: Marco Cecchetti <mrcek...@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()); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits