sc a11y: Pass OAccessible for ScAccessibleDocument parent
Switch parent param in the ScAccessibleDocument ctor from the abstract XAccessible UNO interface to the more concrete OAccessible. Change-Id: I946317b6b60c499285ab6bd6d223fbfc16af604e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210667 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
@@ -1284,14 +1284,12 @@ void ScChildrenShapes::VisAreaChanged() const
|
||||
pAccShapeData->pAccShape->ViewForwarderChanged();
|
||||
}
|
||||
|
||||
ScAccessibleDocument::ScAccessibleDocument(
|
||||
const uno::Reference<XAccessible>& rxParent,
|
||||
ScTabViewShell* pViewShell,
|
||||
ScSplitPos eSplitPos)
|
||||
: ImplInheritanceHelper(rxParent),
|
||||
mpViewShell(pViewShell),
|
||||
meSplitPos(eSplitPos),
|
||||
mbCompleteSheetSelected(false)
|
||||
ScAccessibleDocument::ScAccessibleDocument(const rtl::Reference<comphelper::OAccessible>& rpParent,
|
||||
ScTabViewShell* pViewShell, ScSplitPos eSplitPos)
|
||||
: ImplInheritanceHelper(rpParent)
|
||||
, mpViewShell(pViewShell)
|
||||
, meSplitPos(eSplitPos)
|
||||
, mbCompleteSheetSelected(false)
|
||||
{
|
||||
maVisArea = GetVisibleArea_Impl();
|
||||
}
|
||||
|
||||
@@ -44,10 +44,8 @@ class ScAccessibleDocument final
|
||||
public accessibility::IAccessibleViewForwarder
|
||||
{
|
||||
public:
|
||||
ScAccessibleDocument(
|
||||
const css::uno::Reference<css::accessibility::XAccessible>& rxParent,
|
||||
ScTabViewShell* pViewShell,
|
||||
ScSplitPos eSplitPos);
|
||||
ScAccessibleDocument(const rtl::Reference<comphelper::OAccessible>& rpParent,
|
||||
ScTabViewShell* pViewShell, ScSplitPos eSplitPos);
|
||||
|
||||
void PreInit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user