diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-17 22:42:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-19 11:19:12 +0100 |
commit | 3152f5a33e787e33ec0dfef8c75d7bbf95194c00 (patch) | |
tree | cc1049cdf9424a5891ca5e255374ef9ca0ff57f5 /sfx2/inc/preventduplicateinteraction.hxx | |
parent | 729834abac1618aa2f0dcc6d774deb74f7c42bb3 (diff) |
use more cppu::BaseMutex
Change-Id: Iddd7438161ead93b27cf8e8058ca5b1eae3d8001
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127075
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/inc/preventduplicateinteraction.hxx')
-rw-r--r-- | sfx2/inc/preventduplicateinteraction.hxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sfx2/inc/preventduplicateinteraction.hxx b/sfx2/inc/preventduplicateinteraction.hxx index b3259aa4ed80..f5a92ca7dd36 100644 --- a/sfx2/inc/preventduplicateinteraction.hxx +++ b/sfx2/inc/preventduplicateinteraction.hxx @@ -151,15 +151,10 @@ public: On the other side there exists some interactions, which allow a retry. So this helper allow to set a list of interactions combined with a retry value. */ -struct ThreadHelpBase2 -{ - public: - mutable ::osl::Mutex m_aLock; -}; - -class PreventDuplicateInteraction final : private ThreadHelpBase2 - , public ::cppu::WeakImplHelper<css::lang::XInitialization, css::task::XInteractionHandler2> +class PreventDuplicateInteraction final : + public ::cppu::WeakImplHelper<css::lang::XInitialization, css::task::XInteractionHandler2> { + mutable ::osl::Mutex m_aLock; // structs, types etc. public: |