summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-02-26 15:13:19 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-02-26 22:37:34 +0100
commit492a683c70d98d005bcb472770be33d3277499d7 (patch)
treefda70630464b269ff0095eaff8acf759c4fd59a9 /toolkit
parentbd3dc6fc18a6360929e3427abccc572950d0aa8e (diff)
tdf#159910 a11y: Slightly simplify VCLXAccessibleToolBoxItem::GetText
* Avoid deep nesting by returning non-empty value right away. * Drop the `if (!sWinText.isEmpty())` before the last assignment. At this point, `sRet` is already empty, so reassigning an empty string makes no difference. Change-Id: Ib17e363f761e3ce09b359cebb1599042a8f6b8bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163956 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'toolkit')
0 files changed, 0 insertions, 0 deletions