diff --git a/cppcanvas/source/uno/uno_mtfrenderer.cxx b/cppcanvas/source/uno/uno_mtfrenderer.cxx index 76037892b4d0..a531e0938f9f 100644 --- a/cppcanvas/source/uno/uno_mtfrenderer.cxx +++ b/cppcanvas/source/uno/uno_mtfrenderer.cxx @@ -13,17 +13,16 @@ #include #include #include -#include -#include +#include #include using namespace ::com::sun::star; -typedef cppu::WeakComponentImplHelper MtfRendererBase; +typedef comphelper::WeakComponentImplHelper MtfRendererBase; namespace { -class MtfRenderer : private cppu::BaseMutex, public MtfRendererBase +class MtfRenderer : public MtfRendererBase { public: MtfRenderer (css::uno::Sequence const& args, @@ -67,7 +66,7 @@ void MtfRenderer::setFastPropertyValue( sal_Int32 nHandle, const uno::Any& aAny) } } -MtfRenderer::MtfRenderer (uno::Sequence const& aArgs, uno::Reference const&) : MtfRendererBase (m_aMutex), mpMetafile (nullptr) +MtfRenderer::MtfRenderer (uno::Sequence const& aArgs, uno::Reference const&) : mpMetafile (nullptr) { if( aArgs.getLength() == 1 ) { aArgs[0] >>= mxCanvas;