writerfilter: use variadic cppu::WeakImplHelper
Change-Id: I38c7776d141bb1e582be7043993986cd6346c331 Reviewed-on: https://gerrit.libreoffice.org/15168 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
#include <svx/svdobj.hxx>
|
#include <svx/svdobj.hxx>
|
||||||
#include <svx/unoapi.hxx>
|
#include <svx/unoapi.hxx>
|
||||||
#include <cppuhelper/implbase1.hxx>
|
#include <cppuhelper/implbase.hxx>
|
||||||
#include <rtl/ustrbuf.hxx>
|
#include <rtl/ustrbuf.hxx>
|
||||||
#include <rtl/math.hxx>
|
#include <rtl/math.hxx>
|
||||||
#include <comphelper/string.hxx>
|
#include <comphelper/string.hxx>
|
||||||
@@ -72,7 +72,7 @@ namespace dmapper
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace css;
|
using namespace css;
|
||||||
|
|
||||||
class XInputStreamHelper : public cppu::WeakImplHelper1<io::XInputStream>
|
class XInputStreamHelper : public cppu::WeakImplHelper<io::XInputStream>
|
||||||
{
|
{
|
||||||
const sal_uInt8* m_pBuffer;
|
const sal_uInt8* m_pBuffer;
|
||||||
const sal_Int32 m_nLength;
|
const sal_Int32 m_nLength;
|
||||||
|
@@ -20,14 +20,14 @@
|
|||||||
#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_MODELEVENTLISTENER_HXX
|
#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_MODELEVENTLISTENER_HXX
|
||||||
|
|
||||||
#include <com/sun/star/document/XEventListener.hpp>
|
#include <com/sun/star/document/XEventListener.hpp>
|
||||||
#include <cppuhelper/implbase1.hxx>
|
#include <cppuhelper/implbase.hxx>
|
||||||
|
|
||||||
namespace writerfilter {
|
namespace writerfilter {
|
||||||
namespace dmapper{
|
namespace dmapper{
|
||||||
|
|
||||||
|
|
||||||
class ModelEventListener :
|
class ModelEventListener :
|
||||||
public cppu::WeakImplHelper1< ::com::sun::star::document::XEventListener >
|
public cppu::WeakImplHelper< ::com::sun::star::document::XEventListener >
|
||||||
{
|
{
|
||||||
bool m_bIndexes;
|
bool m_bIndexes;
|
||||||
bool m_bControls;
|
bool m_bControls;
|
||||||
|
@@ -83,9 +83,8 @@ OOXMLFastContextHandler::OOXMLFastContextHandler
|
|||||||
mpParserState->incContextCount();
|
mpParserState->incContextCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
OOXMLFastContextHandler::OOXMLFastContextHandler
|
OOXMLFastContextHandler::OOXMLFastContextHandler(OOXMLFastContextHandler * pContext)
|
||||||
(OOXMLFastContextHandler * pContext)
|
: cppu::WeakImplHelper<xml::sax::XFastContextHandler>(),
|
||||||
: cppu::WeakImplHelper1<com::sun::star::xml::sax::XFastContextHandler>(),
|
|
||||||
mpParent(pContext),
|
mpParent(pContext),
|
||||||
mId(0),
|
mId(0),
|
||||||
mnDefine(0),
|
mnDefine(0),
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
#include <set>
|
#include <set>
|
||||||
#include "sal/config.h"
|
#include "sal/config.h"
|
||||||
#include "com/sun/star/uno/XComponentContext.hpp"
|
#include "com/sun/star/uno/XComponentContext.hpp"
|
||||||
#include "cppuhelper/implbase1.hxx"
|
#include "cppuhelper/implbase.hxx"
|
||||||
#include "com/sun/star/xml/sax/XFastContextHandler.hpp"
|
#include "com/sun/star/xml/sax/XFastContextHandler.hpp"
|
||||||
#include "OOXMLParserState.hxx"
|
#include "OOXMLParserState.hxx"
|
||||||
#include "OOXMLPropertySetImpl.hxx"
|
#include "OOXMLPropertySetImpl.hxx"
|
||||||
@@ -42,7 +42,7 @@ namespace ooxml
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
class OOXMLFastContextHandler: public ::cppu::WeakImplHelper1<css::xml::sax::XFastContextHandler>
|
class OOXMLFastContextHandler: public ::cppu::WeakImplHelper<css::xml::sax::XFastContextHandler>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef std::shared_ptr<OOXMLFastContextHandler> Pointer_t;
|
typedef std::shared_ptr<OOXMLFastContextHandler> Pointer_t;
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include <sal/config.h>
|
#include <sal/config.h>
|
||||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||||
#include <cppuhelper/implbase1.hxx>
|
#include <cppuhelper/implbase.hxx>
|
||||||
#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
|
#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
|
||||||
#include <dmapper/resourcemodel.hxx>
|
#include <dmapper/resourcemodel.hxx>
|
||||||
#include <ooxml/OOXMLDocument.hxx>
|
#include <ooxml/OOXMLDocument.hxx>
|
||||||
@@ -34,9 +34,7 @@ namespace ooxml
|
|||||||
|
|
||||||
class OOXMLFastContextHandler;
|
class OOXMLFastContextHandler;
|
||||||
|
|
||||||
class OOXMLFastDocumentHandler:
|
class OOXMLFastDocumentHandler : public cppu::WeakImplHelper<css::xml::sax::XFastDocumentHandler>
|
||||||
public ::cppu::WeakImplHelper1<
|
|
||||||
css::xml::sax::XFastDocumentHandler>
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
OOXMLFastDocumentHandler(
|
OOXMLFastDocumentHandler(
|
||||||
|
Reference in New Issue
Block a user