summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-05-08 21:10:00 +0200
committerMarco Cecchetti <mrcekets@gmail.com>2017-05-16 16:07:13 +0200
commitea3ef1a2a06b7ac0fa9f618498f9caf48ebc40bd (patch)
treee864882a09145327d6d6a8a0c51ff6f48cde2857 /sc
parent76d47e6f63e11d3509339ade6203757d63582d21 (diff)
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@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabview.cxx2
1 files changed, 2 insertions, 0 deletions
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());
}
}