summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-05-08 21:10:00 +0200
committerJan Holesovsky <kendy@collabora.com>2017-05-16 14:07:46 +0200
commit942a5b532eca311914335e8fc104cc1d0a93c8ea (patch)
treeecaca56286ea2fceff7f1a3fc0db89a49cceb321
parentc01df160eb45e1f5a386f9ad7cb3da72fc7f278f (diff)
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@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
-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 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());
}
}