svx/source/xml/xmlgrhlp.cxx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-)
New commits: commit 7620833fb4c48b9f981c81ea1ae72102c680f1a5 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sat Dec 18 09:50:41 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Dec 19 12:54:09 2021 +0100 use more cppu::BaseMutex Change-Id: I16fcc9b840ee8da79571ecb1a0811b03a2746915 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127081 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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: