summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-18 09:48:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-19 11:19:38 +0100
commit2e1cf05f3b1a7d111c538a2588e891aad67792bb (patch)
tree02aeb064f2f9a6d12b42d036df121d3d3da2552a /desktop/inc
parentfd1fda8feacd1d006960e4505ad21dea213f1ec1 (diff)
use more cppu::BaseMutex
Change-Id: Ida7f6b536f5c07c929ddb21c97be6e9dc4a2b2f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127080 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/dp_misc.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop/inc/dp_misc.h b/desktop/inc/dp_misc.h
index 0d9eadb90cb3..4a5c27933b7c 100644
--- a/desktop/inc/dp_misc.h
+++ b/desktop/inc/dp_misc.h
@@ -36,14 +36,6 @@ const char CR = 0x0d;
const char LF = 0x0a;
-class MutexHolder
-{
- mutable ::osl::Mutex m_mutex;
-protected:
- ::osl::Mutex & getMutex() const { return m_mutex; }
-};
-
-
inline void try_dispose( css::uno::Reference< css::uno::XInterface> const & x )
{
css::uno::Reference< css::lang::XComponent> xComp( x, css::uno::UNO_QUERY );