diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-18 09:50:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-19 12:54:09 +0100 |
commit | 7620833fb4c48b9f981c81ea1ae72102c680f1a5 (patch) | |
tree | 47a8b5dc70da5b92e1e4d578ea513af86117cfd6 /svx | |
parent | a5e270ba999050b97c7ff50339dd649547057d54 (diff) |
use more cppu::BaseMutex
Change-Id: I16fcc9b840ee8da79571ecb1a0811b03a2746915
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127081
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index 522e6c076d19..43195d1db82c 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -31,6 +31,7 @@ #include <com/sun/star/embed/XHierarchicalStorageAccess.hpp> #include <comphelper/fileformat.h> #include <comphelper/graphicmimetype.hxx> +#include <cppuhelper/basemutex.hxx> #include <cppuhelper/compbase.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> @@ -946,22 +947,10 @@ typedef cppu::WeakComponentImplHelper<lang::XInitialization, lang::XServiceInfo> SvXMLGraphicImportExportHelper_Base; -class MutexContainer -{ -public: - virtual ~MutexContainer(); - -protected: - mutable ::osl::Mutex m_aMutex; -}; - -MutexContainer::~MutexContainer() -{} - } // namespace impl class SvXMLGraphicImportExportHelper : - public impl::MutexContainer, + public cppu::BaseMutex, public impl::SvXMLGraphicImportExportHelper_Base { public: |