BaseMutex->std::mutex in PDFIRawAdaptor
Change-Id: I3aae98e20ce20845835e1e5b7366a3f286e57ae5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148280 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -44,7 +44,6 @@ namespace pdfi
|
||||
{
|
||||
|
||||
PDFIHybridAdaptor::PDFIHybridAdaptor( const uno::Reference< uno::XComponentContext >& xContext ) :
|
||||
PDFIHybridAdaptorBase( m_aMutex ),
|
||||
m_xContext( xContext )
|
||||
{
|
||||
}
|
||||
@@ -203,7 +202,6 @@ css::uno::Sequence<OUString> PDFIHybridAdaptor::getSupportedServiceNames()
|
||||
}
|
||||
|
||||
PDFIRawAdaptor::PDFIRawAdaptor( OUString const & implementationName, const uno::Reference< uno::XComponentContext >& xContext ) :
|
||||
PDFIAdaptorBase( m_aMutex ),
|
||||
m_implementationName(implementationName),
|
||||
m_xContext( xContext )
|
||||
{
|
||||
|
@@ -34,19 +34,17 @@
|
||||
#include <com/sun/star/document/XImporter.hpp>
|
||||
#include <com/sun/star/frame/XModel.hpp>
|
||||
|
||||
#include <cppuhelper/compbase.hxx>
|
||||
#include <cppuhelper/basemutex.hxx>
|
||||
#include <comphelper/compbase.hxx>
|
||||
|
||||
|
||||
namespace pdfi
|
||||
{
|
||||
typedef ::cppu::WeakComponentImplHelper<
|
||||
typedef ::comphelper::WeakComponentImplHelper<
|
||||
css::document::XFilter,
|
||||
css::document::XImporter,
|
||||
css::lang::XServiceInfo> PDFIHybridAdaptorBase;
|
||||
|
||||
class PDFIHybridAdaptor : private cppu::BaseMutex,
|
||||
public PDFIHybridAdaptorBase
|
||||
class PDFIHybridAdaptor : public PDFIHybridAdaptorBase
|
||||
{
|
||||
private:
|
||||
css::uno::Reference<
|
||||
@@ -72,15 +70,14 @@ namespace pdfi
|
||||
css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
|
||||
};
|
||||
|
||||
typedef ::cppu::WeakComponentImplHelper<
|
||||
typedef ::comphelper::WeakComponentImplHelper<
|
||||
css::xml::XImportFilter,
|
||||
css::document::XImporter,
|
||||
css::lang::XServiceInfo> PDFIAdaptorBase;
|
||||
|
||||
/** Adapts raw pdf import to XImportFilter interface
|
||||
*/
|
||||
class PDFIRawAdaptor : private cppu::BaseMutex,
|
||||
public PDFIAdaptorBase
|
||||
class PDFIRawAdaptor : public PDFIAdaptorBase
|
||||
{
|
||||
private:
|
||||
OUString const m_implementationName;
|
||||
|
Reference in New Issue
Block a user