sw a11y: Unify wasm/non-wasm code paths a bit

Change-Id: Ia6935a04788a6179ec2c8cbff5ce435836fe559f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187076
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Michael Weghorn
2025-06-27 12:33:24 +02:00
parent 2f84304f93
commit d501374751
+2 -7
View File
@@ -6488,15 +6488,10 @@ uno::Reference< css::accessibility::XAccessible > SwEditWin::CreateAccessible()
SolarMutexGuard aGuard; // this should have happened already!!!
SwWrtShell *pSh = m_rView.GetWrtShellPtr();
OSL_ENSURE( pSh, "no writer shell, no accessible object" );
uno::Reference<
css::accessibility::XAccessible > xAcc;
if( pSh )
xAcc = pSh->CreateAccessible();
return xAcc;
#else
return nullptr;
return pSh->CreateAccessible();
#endif
return {};
}
void QuickHelpData::Move( QuickHelpData& rCpy )