summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 03b92c39b996..ec7be67d80f3 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -1326,7 +1326,7 @@ tools::Rectangle ScAccessibleSpreadsheet::GetBoundingBoxOnScreen() const
{
vcl::Window* pWindow = mpViewShell->GetWindowByPos(meSplitPos);
if (pWindow)
- aRect = pWindow->GetWindowExtentsRelative(nullptr);
+ aRect = pWindow->GetWindowExtentsAbsolute();
}
return aRect;
}
@@ -1339,7 +1339,7 @@ tools::Rectangle ScAccessibleSpreadsheet::GetBoundingBox() const
vcl::Window* pWindow = mpViewShell->GetWindowByPos(meSplitPos);
if (pWindow)
//#101986#; extends to the same window, because the parent is the document and it has the same window
- aRect = pWindow->GetWindowExtentsRelative(pWindow);
+ aRect = pWindow->GetWindowExtentsRelative(*pWindow);
}
return aRect;
}