svtools a11y: Return directly in ValueItemAcc::getAccessibleAtPoint
Drop local variable and simply return the empty reference right-away. Change-Id: I85dd3db8bdf3190dfb5634d62c687900969c5651 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211221 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
This commit is contained in:
@@ -218,8 +218,7 @@ lang::Locale SAL_CALL ValueItemAcc::getLocale()
|
||||
|
||||
uno::Reference< accessibility::XAccessible > SAL_CALL ValueItemAcc::getAccessibleAtPoint( const awt::Point& )
|
||||
{
|
||||
uno::Reference< accessibility::XAccessible > xRet;
|
||||
return xRet;
|
||||
return {};
|
||||
}
|
||||
|
||||
awt::Rectangle ValueItemAcc::implGetBounds()
|
||||
|
||||
Reference in New Issue
Block a user