diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-29 15:49:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-29 22:23:22 +0100 |
commit | 020a2eb507bb25bcc67dd1e601233aa7cd5d65d1 (patch) | |
tree | c5ce354af48c6a265b5cef87853e146e0a1e8076 /svtools | |
parent | b70053ba681a9b62afd6fa700ad94256d98d8dc7 (diff) |
Accessible Descriptions are supposed to be human text (and translated)
Change-Id: I75e839d9276e98af0b255c2e40f30c42a700ff29
Reviewed-on: https://gerrit.libreoffice.org/69935
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueacc.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index 9191d5a5c539..433a7616d21b 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -1600,7 +1600,15 @@ sal_Int16 SAL_CALL SvtValueSetAcc::getAccessibleRole() OUString SAL_CALL SvtValueSetAcc::getAccessibleDescription() { ThrowIfDisposed(); - return OUString( "ValueSet" ); + const SolarMutexGuard aSolarGuard; + OUString aRet; + + if (mpParent) + { + aRet = mpParent->GetAccessibleDescription(); + } + + return aRet; } |