sw/source/uibase/uiview/viewling.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit ae3a730a4b64fdb9698c753313504bbe174f1519 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Jan 12 10:54:25 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri Jan 12 15:21:09 2024 +0100 cid#1545669 aArgs is never set Change-Id: I17ebbb58c44cbc4314fef9bfe78ca0fa6c149539 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161967 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index a9f64d7bf760..4cf6505b9de2 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -594,7 +594,6 @@ struct ExecuteInfo { uno::Reference< frame::XDispatch > xDispatch; util::URL aTargetURL; - uno::Sequence< PropertyValue > aArgs; }; class AsyncExecute @@ -614,7 +613,7 @@ IMPL_STATIC_LINK( AsyncExecute, ExecuteHdl_Impl, void*, p, void ) // Asynchronous execution as this can lead to our own destruction! // Framework can recycle our current frame and the layout manager disposes all user interface // elements if a component gets detached from its frame! - pExecuteInfo->xDispatch->dispatch( pExecuteInfo->aTargetURL, pExecuteInfo->aArgs ); + pExecuteInfo->xDispatch->dispatch(pExecuteInfo->aTargetURL, uno::Sequence<beans::PropertyValue>()); } catch (const Exception&) { @@ -759,7 +758,6 @@ bool SwView::ExecSpellPopup(const Point& rPt) aURL.Complete = aCommand; xURLTransformer->parseStrict(aURL); - uno::Sequence< beans::PropertyValue > aArgs; xDispatch = xDispatchProvider->queryDispatch( aURL, OUString(), 0 ); if (xDispatch.is()) @@ -768,7 +766,6 @@ bool SwView::ExecSpellPopup(const Point& rPt) ExecuteInfo* pExecuteInfo = new ExecuteInfo; pExecuteInfo->xDispatch = xDispatch; pExecuteInfo->aTargetURL = aURL; - pExecuteInfo->aArgs = aArgs; Application::PostUserEvent( LINK(nullptr, AsyncExecute , ExecuteHdl_Impl), pExecuteInfo ); } }