summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-10-31 09:13:32 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-10-31 14:23:00 +0100
commit8c200de99582c0b961748202a3e40985b3f8aa4f (patch)
treef21aef451628d5f1fb736d3e3887d5b4632161e6 /svtools
parent9ea9cd14ffc69e6597996da09943e1ce11a50d6f (diff)
cid#1606874 silence Data race condition
Change-Id: I6703ee228ac0717b04f58e14eedd02ab0722edf4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175861 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/popupmenucontrollerbase.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svtools/source/uno/popupmenucontrollerbase.cxx b/svtools/source/uno/popupmenucontrollerbase.cxx
index de46b999e4d7..ab6bee1a0555 100644
--- a/svtools/source/uno/popupmenucontrollerbase.cxx
+++ b/svtools/source/uno/popupmenucontrollerbase.cxx
@@ -354,13 +354,15 @@ void SAL_CALL PopupMenuControllerBase::setPopupMenu( const Reference< awt::XPopu
m_xURLTransformer->parseStrict( aTargetURL );
m_xDispatch = xDispatchProvider->queryDispatch( aTargetURL, OUString(), 0 );
- impl_setPopupMenu();
+ impl_setPopupMenu(aLock);
}
updatePopupMenu();
}
-void PopupMenuControllerBase::impl_setPopupMenu()
+
+void PopupMenuControllerBase::impl_setPopupMenu(std::unique_lock<std::mutex>& /*rGuard*/)
{
}
+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */