diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 523044c7531a..4e66be551f8b 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -2594,7 +2594,7 @@ void lcl_ExtendTiledDimension(bool bColumn, const SCCOLROW nEnd, const SCCOLROW tools::Rectangle(0, aOldSize.getHeight(), aNewSize.getWidth(), aNewSize.getHeight()); // Only invalidate if spreadsheet has extended to the right or bottom - if ((bColumn && aNewArea.getWidth()) || (!bColumn && aNewArea.getHeight())) + if ((bColumn && aNewArea.getOpenWidth()) || (!bColumn && aNewArea.getOpenHeight())) { rTabView.UpdateSelectionOverlay(); SfxLokHelper::notifyInvalidation(rViewData.GetViewShell(), &aNewArea); diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx index ae960b0a8c1f..7284c160e6a8 100644 --- a/sc/source/ui/view/tabview3.cxx +++ b/sc/source/ui/view/tabview3.cxx @@ -429,13 +429,13 @@ void ScTabView::SetCursor( SCCOL nPosX, SCROW nPosY, bool bNew ) tools::Rectangle aNewRowArea(0, aOldSize.getHeight(), aOldSize.getWidth(), aNewSize.getHeight()); // Only invalidate if spreadsheet extended to the right - if (aNewColArea.getWidth()) + if (aNewColArea.getOpenWidth()) { SfxLokHelper::notifyInvalidation(aViewData.GetViewShell(), &aNewColArea); } // Only invalidate if spreadsheet extended to the bottom - if (aNewRowArea.getHeight()) + if (aNewRowArea.getOpenHeight()) { SfxLokHelper::notifyInvalidation(aViewData.GetViewShell(), &aNewRowArea); } |