summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessibleCell.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-10-19 15:28:13 +0100
committerMichael Meeks <michael.meeks@collabora.com>2019-10-19 21:12:57 +0200
commit2571a11aeb0bdca20242caa5c96f0a5b3ea5db90 (patch)
tree4444bc47dca98fb45ec1964dc24661368188f36e /sc/source/ui/Accessibility/AccessibleCell.cxx
parentd8f11761d89b3279e547f789d43d47c85a3ddba1 (diff)
sc: rowcol: tdf#50916 convert ucalc test, and docfunc.
Change-Id: I692ecf758e06bf904a41b9316e32dff169408a05 Reviewed-on: https://gerrit.libreoffice.org/81140 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleCell.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleCell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx
index 0ad187384d93..87cf50e9da2d 100644
--- a/sc/source/ui/Accessibility/AccessibleCell.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCell.cxx
@@ -385,7 +385,7 @@ void ScAccessibleCell::FillDependents(utl::AccessibleRelationSetHelper* pRelatio
{
if (mpDoc)
{
- ScRange aRange(0, 0, maCellAddress.Tab(), MAXCOL, MAXROW, maCellAddress.Tab());
+ ScRange aRange(0, 0, maCellAddress.Tab(), mpDoc->MaxCol(), mpDoc->MaxRow(), maCellAddress.Tab());
ScCellIterator aCellIter(mpDoc, aRange);
for (bool bHasCell = aCellIter.first(); bHasCell; bHasCell = aCellIter.next())