diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-22 07:51:31 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-22 12:34:27 +0200 |
commit | 480281006ff9ea43fe6e9c357909ed55d0011c8f (patch) | |
tree | 4fc7d31b5221051c1851eba0b7ad65cf301e1eea | |
parent | 6084a2904d1cb38c47874e260ce0b7ccc7899154 (diff) |
wina11y: Use sal::systools::BStr::newBSTR here, too
As
commit 02c0e5f970dee4d064fcb26b378cbfe6f3a1bc05
Author: Mike Kaganski <mike.kaganski@collabora.com>
Date: Wed Aug 21 13:42:28 2024 +0500
Simplify BSTR construction from OUString a bit
did in other existing code, switch to using
`sal::systools::BStr::newBSTR` in this case newly
added in
commit dfd23124096b9428f2f7084a24de032750389c79
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Wed Aug 21 10:16:51 2024 +0100
wina11y: Retrieve default action description on demand
, merged shortly after existing code was adjusted.
Change-Id: Ic27a31ce22410d6d976295336bf97ada3881788b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172236
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r-- | winaccessibility/source/UAccCOM/MAccessible.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx index 81ca05856ab1..cdc90cfb82bd 100644 --- a/winaccessibility/source/UAccCOM/MAccessible.cxx +++ b/winaccessibility/source/UAccCOM/MAccessible.cxx @@ -2163,7 +2163,7 @@ COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE CMAccessible::get_accDefaultActio const OUString sActionDescription = xAction->getAccessibleActionDescription(0); SysFreeString(*pszDefaultAction); - *pszDefaultAction = SysAllocString(o3tl::toW(sActionDescription.getStr())); + *pszDefaultAction = sal::systools::BStr::newBSTR(sActionDescription); return S_OK; } |