summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-21 08:53:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-21 11:19:07 +0200
commit061c7e3994eb5288e95d7fb0ce7a1bc0f54205ed (patch)
treebb0ccd81ccdaf4997ef890e03b4dd7ffa694e109 /sc
parent51375b48378915b6e95c1ac26b2ccf8e39880f7e (diff)
fix !HAVE_FEATURE_DESKTOP build, IsOver->Overlaps
and change some commented out cases Change-Id: Icc60b19de7d12a78e7d40e7aa94dae40dc8b60a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122378 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index b5e806e379dd..e2d0d011092d 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -693,7 +693,7 @@ void ScAccessibleSpreadsheet::Notify( SfxBroadcaster& rBC, const SfxHint& rHint
Rectangle aNewPos(aNewVisCells);
- if (aNewVisCells.IsOver(maVisCells))
+ if (aNewVisCells.Overlaps(maVisCells))
aNewPos.Union(maVisCells);
else
CommitTableModelChange(maVisCells.Top(), maVisCells.Left(), maVisCells.Bottom(), maVisCells.Right(), AccessibleTableModelChangeType::UPDATE);