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:
Michael Weghorn
2026-09-20 22:22:20 +02:00
parent f59c0bbdf9
commit d2a4355fd9
+1 -2
View File
@@ -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()