summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-12 10:54:25 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-12 15:21:09 +0100
commitae3a730a4b64fdb9698c753313504bbe174f1519 (patch)
tree6074c1c94e1ba3a4209e52f3c7c117d83be12b30 /sw/source
parent2362e414ef1533c52215d16431d58edb59900751 (diff)
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.mcnamara@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/uiview/viewling.cxx5
1 files changed, 1 insertions, 4 deletions
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 );
}
}