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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user