diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-09-10 12:16:49 +0900 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-10 13:10:52 +0000 |
commit | 9303e87bb6839afc09d4db543ff17f2fb5142359 (patch) | |
tree | cf2191b46d819fa7e894c56dd759227c9334c41e /unoxml/source | |
parent | a9fa776cdaacac30fd8df22d85aab30ef70c9776 (diff) |
unoxml: tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants.
Change-Id: Id753717b228061c810a0122e551326ab001949a9
Reviewed-on: https://gerrit.libreoffice.org/18460
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'unoxml/source')
35 files changed, 74 insertions, 66 deletions
diff --git a/unoxml/source/dom/attr.hxx b/unoxml/source/dom/attr.hxx index 5046e9db4567..24686251cc46 100644 --- a/unoxml/source/dom/attr.hxx +++ b/unoxml/source/dom/attr.hxx @@ -24,7 +24,7 @@ #include <libxml/tree.h> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XNode.hpp> @@ -36,7 +36,7 @@ namespace DOM { typedef ::std::pair< OString, OString > stringpair_t; - typedef ::cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XAttr > CAttr_Base; + typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XAttr > CAttr_Base; class CAttr : public CAttr_Base diff --git a/unoxml/source/dom/attributesmap.hxx b/unoxml/source/dom/attributesmap.hxx index d49a39f54552..7455b643c550 100644 --- a/unoxml/source/dom/attributesmap.hxx +++ b/unoxml/source/dom/attributesmap.hxx @@ -27,14 +27,14 @@ #include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/xml/dom/XNamedNodeMap.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> namespace DOM { class CElement; class CAttributesMap - : public cppu::WeakImplHelper1< css::xml::dom::XNamedNodeMap > + : public cppu::WeakImplHelper< css::xml::dom::XNamedNodeMap > { private: ::rtl::Reference<CElement> const m_pElement; diff --git a/unoxml/source/dom/cdatasection.hxx b/unoxml/source/dom/cdatasection.hxx index 6073ba66f593..2ec4ceb35ae3 100644 --- a/unoxml/source/dom/cdatasection.hxx +++ b/unoxml/source/dom/cdatasection.hxx @@ -23,11 +23,12 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XCDATASection.hpp> +#include <cppuhelper/implbase.hxx> #include <text.hxx> namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CText, css::xml::dom::XCDATASection > + typedef ::cppu::ImplInheritanceHelper< CText, css::xml::dom::XCDATASection > CCDATASection_Base; class CCDATASection diff --git a/unoxml/source/dom/characterdata.hxx b/unoxml/source/dom/characterdata.hxx index 39d637aa79a2..0eb5222e2c83 100644 --- a/unoxml/source/dom/characterdata.hxx +++ b/unoxml/source/dom/characterdata.hxx @@ -24,7 +24,7 @@ #include <sal/types.h> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XNode.hpp> @@ -34,7 +34,7 @@ namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XCharacterData > + typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XCharacterData > CCharacterData_Base; class CCharacterData diff --git a/unoxml/source/dom/childlist.hxx b/unoxml/source/dom/childlist.hxx index 8ac42e0fbf4f..fa94ed62a212 100644 --- a/unoxml/source/dom/childlist.hxx +++ b/unoxml/source/dom/childlist.hxx @@ -27,14 +27,14 @@ #include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/xml/dom/XNodeList.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> namespace DOM { class CNode; class CChildList - : public cppu::WeakImplHelper1< css::xml::dom::XNodeList > + : public cppu::WeakImplHelper< css::xml::dom::XNodeList > { private: ::rtl::Reference<CNode> const m_pNode; diff --git a/unoxml/source/dom/comment.hxx b/unoxml/source/dom/comment.hxx index 6280c1886e70..44057c62ed0a 100644 --- a/unoxml/source/dom/comment.hxx +++ b/unoxml/source/dom/comment.hxx @@ -23,11 +23,12 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XComment.hpp> +#include <cppuhelper/implbase.hxx> #include <characterdata.hxx> namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CCharacterData, css::xml::dom::XComment > + typedef ::cppu::ImplInheritanceHelper< CCharacterData, css::xml::dom::XComment > CComment_Base; class CComment diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx index 4ba221be3af3..04099ef67fd5 100644 --- a/unoxml/source/dom/document.hxx +++ b/unoxml/source/dom/document.hxx @@ -27,7 +27,7 @@ #include <sal/types.h> -#include <cppuhelper/implbase6.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/beans/StringPair.hpp> @@ -56,7 +56,7 @@ namespace DOM class CElement; - typedef ::cppu::ImplInheritanceHelper6< + typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocument, css::xml::dom::events::XDocumentEvent, css::io::XActiveDataControl, css::io::XActiveDataSource, css::xml::sax::XSAXSerializable, css::xml::sax::XFastSAXSerializable> diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index a5a1bb5ec117..d2f03be30fc0 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -33,7 +33,7 @@ #include <osl/diagnose.h> #include <comphelper/processfactory.hxx> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/xml/sax/SAXParseException.hpp> @@ -60,7 +60,7 @@ using css::xml::sax::InputSource; namespace DOM { - class CDefaultEntityResolver : public cppu::WeakImplHelper1< XEntityResolver > + class CDefaultEntityResolver : public cppu::WeakImplHelper< XEntityResolver > { public: virtual InputSource SAL_CALL resolveEntity( const OUString& sPublicId, const OUString& sSystemId ) diff --git a/unoxml/source/dom/documentbuilder.hxx b/unoxml/source/dom/documentbuilder.hxx index 1f7a96d2bd93..631261695337 100644 --- a/unoxml/source/dom/documentbuilder.hxx +++ b/unoxml/source/dom/documentbuilder.hxx @@ -22,7 +22,7 @@ #include <sal/types.h> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Sequence.h> @@ -41,7 +41,7 @@ namespace DOM { - typedef ::cppu::WeakImplHelper2 + typedef ::cppu::WeakImplHelper < css::xml::dom::XDocumentBuilder , css::lang::XServiceInfo > CDocumentBuilder_Base; diff --git a/unoxml/source/dom/documentfragment.hxx b/unoxml/source/dom/documentfragment.hxx index 809c37df39ee..95778fcada98 100644 --- a/unoxml/source/dom/documentfragment.hxx +++ b/unoxml/source/dom/documentfragment.hxx @@ -23,11 +23,12 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XDocumentFragment.hpp> +#include <cppuhelper/implbase.hxx> #include <node.hxx> namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XDocumentFragment > + typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocumentFragment > CDocumentFragment_Base; class CDocumentFragment diff --git a/unoxml/source/dom/documenttype.hxx b/unoxml/source/dom/documenttype.hxx index 5523eb428481..bec5d2b57778 100644 --- a/unoxml/source/dom/documenttype.hxx +++ b/unoxml/source/dom/documenttype.hxx @@ -29,11 +29,12 @@ #include <com/sun/star/xml/dom/XNodeList.hpp> #include <com/sun/star/xml/dom/XNamedNodeMap.hpp> +#include <cppuhelper/implbase.hxx> #include <node.hxx> namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XDocumentType > + typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocumentType > CDocumentType_Base; class CDocumentType diff --git a/unoxml/source/dom/domimplementation.hxx b/unoxml/source/dom/domimplementation.hxx index 4ffd1875c6d2..540fa7fb7f9f 100644 --- a/unoxml/source/dom/domimplementation.hxx +++ b/unoxml/source/dom/domimplementation.hxx @@ -27,12 +27,12 @@ #include <com/sun/star/xml/dom/XDocumentType.hpp> #include <com/sun/star/xml/dom/XDOMImplementation.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> namespace DOM { class CDOMImplementation - : public cppu::WeakImplHelper1< css::xml::dom::XDOMImplementation > + : public cppu::WeakImplHelper< css::xml::dom::XDOMImplementation > { public: diff --git a/unoxml/source/dom/element.hxx b/unoxml/source/dom/element.hxx index 8afbc4286bab..4e29ae1b100c 100644 --- a/unoxml/source/dom/element.hxx +++ b/unoxml/source/dom/element.hxx @@ -28,11 +28,12 @@ #include <com/sun/star/xml/dom/XNamedNodeMap.hpp> #include <com/sun/star/xml/dom/NodeType.hpp> +#include <cppuhelper/implbase.hxx> #include <node.hxx> namespace DOM { - typedef ::cppu::ImplInheritanceHelper1<CNode, css::xml::dom::XElement > CElement_Base; + typedef ::cppu::ImplInheritanceHelper<CNode, css::xml::dom::XElement > CElement_Base; class CElement : public CElement_Base diff --git a/unoxml/source/dom/elementlist.cxx b/unoxml/source/dom/elementlist.cxx index 8dd8ac758323..ef88c99b4cce 100644 --- a/unoxml/source/dom/elementlist.cxx +++ b/unoxml/source/dom/elementlist.cxx @@ -21,6 +21,7 @@ #include <string.h> +#include <cppuhelper/implbase.hxx> #include <osl/diagnose.h> #include <element.hxx> @@ -32,7 +33,7 @@ using namespace css::xml::dom::events; namespace { - class WeakEventListener : public ::cppu::WeakImplHelper1<css::xml::dom::events::XEventListener> + class WeakEventListener : public ::cppu::WeakImplHelper<css::xml::dom::events::XEventListener> { private: css::uno::WeakReference<css::xml::dom::events::XEventListener> mxOwner; diff --git a/unoxml/source/dom/elementlist.hxx b/unoxml/source/dom/elementlist.hxx index c61df46360ff..0792892369bb 100644 --- a/unoxml/source/dom/elementlist.hxx +++ b/unoxml/source/dom/elementlist.hxx @@ -36,8 +36,7 @@ #include <com/sun/star/xml/dom/events/XEvent.hpp> #include <com/sun/star/xml/dom/events/XEventListener.hpp> -#include <cppuhelper/implbase1.hxx> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> namespace DOM { @@ -46,7 +45,7 @@ namespace DOM typedef std::vector< xmlNodePtr > nodevector_t; class CElementListImpl - : public cppu::WeakImplHelper2< css::xml::dom::XNodeList, + : public cppu::WeakImplHelper< css::xml::dom::XNodeList, css::xml::dom::events::XEventListener > { private: @@ -89,7 +88,7 @@ namespace DOM }; class CElementList - : public cppu::WeakImplHelper2< css::xml::dom::XNodeList, + : public cppu::WeakImplHelper< css::xml::dom::XNodeList, css::xml::dom::events::XEventListener > { private: diff --git a/unoxml/source/dom/entitiesmap.hxx b/unoxml/source/dom/entitiesmap.hxx index fc7164c0ca2c..efa977e94b1e 100644 --- a/unoxml/source/dom/entitiesmap.hxx +++ b/unoxml/source/dom/entitiesmap.hxx @@ -27,14 +27,14 @@ #include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/xml/dom/XNamedNodeMap.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> namespace DOM { class CDocumentType; class CEntitiesMap - : public cppu::WeakImplHelper1< css::xml::dom::XNamedNodeMap > + : public cppu::WeakImplHelper< css::xml::dom::XNamedNodeMap > { private: ::rtl::Reference<CDocumentType> const m_pDocType; diff --git a/unoxml/source/dom/entity.hxx b/unoxml/source/dom/entity.hxx index 501b596b9b6b..30f5c5b3dc01 100644 --- a/unoxml/source/dom/entity.hxx +++ b/unoxml/source/dom/entity.hxx @@ -28,11 +28,12 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XEntity.hpp> +#include <cppuhelper/implbase.hxx> #include <node.hxx> namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XEntity > CEntity_Base; + typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XEntity > CEntity_Base; class CEntity : public CEntity_Base diff --git a/unoxml/source/dom/entityreference.hxx b/unoxml/source/dom/entityreference.hxx index 7f154e16e2b1..11076cba753a 100644 --- a/unoxml/source/dom/entityreference.hxx +++ b/unoxml/source/dom/entityreference.hxx @@ -25,11 +25,12 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XEntityReference.hpp> +#include <cppuhelper/implbase.hxx> #include <node.hxx> namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XEntityReference > + typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XEntityReference > CEntityReference_Base; class CEntityReference diff --git a/unoxml/source/dom/node.hxx b/unoxml/source/dom/node.hxx index 65bd92ffac63..74c81d4b9a05 100644 --- a/unoxml/source/dom/node.hxx +++ b/unoxml/source/dom/node.hxx @@ -27,7 +27,7 @@ #include <rtl/string.hxx> #include <rtl/ustring.hxx> -#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/implbase.hxx> #include <sax/fastattribs.hxx> @@ -94,7 +94,7 @@ namespace DOM class CDocument; - class CNode : public cppu::WeakImplHelper3< css::xml::dom::XNode, css::lang::XUnoTunnel, css::xml::dom::events::XEventTarget > + class CNode : public cppu::WeakImplHelper< css::xml::dom::XNode, css::lang::XUnoTunnel, css::xml::dom::events::XEventTarget > { friend class CDocument; friend class CElement; diff --git a/unoxml/source/dom/notation.hxx b/unoxml/source/dom/notation.hxx index 50be07de89bd..f38ad98d289f 100644 --- a/unoxml/source/dom/notation.hxx +++ b/unoxml/source/dom/notation.hxx @@ -25,11 +25,12 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XNotation.hpp> +#include <cppuhelper/implbase.hxx> #include <node.hxx> namespace DOM { - typedef cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XNotation > CNotation_Base; + typedef cppu::ImplInheritanceHelper< CNode, css::xml::dom::XNotation > CNotation_Base; class CNotation : public CNotation_Base diff --git a/unoxml/source/dom/notationsmap.hxx b/unoxml/source/dom/notationsmap.hxx index d740587e496d..6b119a590d60 100644 --- a/unoxml/source/dom/notationsmap.hxx +++ b/unoxml/source/dom/notationsmap.hxx @@ -27,14 +27,14 @@ #include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/xml/dom/XNamedNodeMap.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> namespace DOM { class CDocumentType; class CNotationsMap - : public cppu::WeakImplHelper1< css::xml::dom::XNamedNodeMap > + : public cppu::WeakImplHelper< css::xml::dom::XNamedNodeMap > { private: ::rtl::Reference<CDocumentType> const m_pDocType; diff --git a/unoxml/source/dom/processinginstruction.hxx b/unoxml/source/dom/processinginstruction.hxx index a052bcc5659e..4e5505aa1d7b 100644 --- a/unoxml/source/dom/processinginstruction.hxx +++ b/unoxml/source/dom/processinginstruction.hxx @@ -25,11 +25,12 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XProcessingInstruction.hpp> +#include <cppuhelper/implbase.hxx> #include <node.hxx> namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XProcessingInstruction > + typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XProcessingInstruction > CProcessingInstruction_Base; class CProcessingInstruction diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx index 728a262f783b..cfa0869f3b11 100644 --- a/unoxml/source/dom/saxbuilder.hxx +++ b/unoxml/source/dom/saxbuilder.hxx @@ -25,7 +25,7 @@ #include <sal/types.h> #include <osl/mutex.hxx> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Sequence.h> @@ -50,7 +50,7 @@ namespace DOM typedef std::stack< NSMap > NSStack; class CSAXDocumentBuilder - : public ::cppu::WeakImplHelper2< css::xml::dom::XSAXDocumentBuilder2, css::lang::XServiceInfo > + : public ::cppu::WeakImplHelper< css::xml::dom::XSAXDocumentBuilder2, css::lang::XServiceInfo > { private: diff --git a/unoxml/source/dom/text.hxx b/unoxml/source/dom/text.hxx index fc90d8cff89c..1ee6e5d4f7bd 100644 --- a/unoxml/source/dom/text.hxx +++ b/unoxml/source/dom/text.hxx @@ -24,7 +24,7 @@ #include <sal/types.h> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XNode.hpp> @@ -34,7 +34,7 @@ namespace DOM { - typedef ::cppu::ImplInheritanceHelper1< CCharacterData, css::xml::dom::XText > CText_Base; + typedef ::cppu::ImplInheritanceHelper< CCharacterData, css::xml::dom::XText > CText_Base; class CText : public CText_Base diff --git a/unoxml/source/events/event.hxx b/unoxml/source/events/event.hxx index 55f15917ca8f..d6df8a739d4a 100644 --- a/unoxml/source/events/event.hxx +++ b/unoxml/source/events/event.hxx @@ -27,13 +27,13 @@ #include <com/sun/star/xml/dom/events/XEventTarget.hpp> #include <com/sun/star/util/Time.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include "../dom/node.hxx" namespace DOM {namespace events { -class CEvent : public cppu::WeakImplHelper1< css::xml::dom::events::XEvent > +class CEvent : public cppu::WeakImplHelper< css::xml::dom::events::XEvent > { friend class CEventDispatcher; diff --git a/unoxml/source/events/mouseevent.hxx b/unoxml/source/events/mouseevent.hxx index 19df1edc467c..6a53ed3e7949 100644 --- a/unoxml/source/events/mouseevent.hxx +++ b/unoxml/source/events/mouseevent.hxx @@ -23,13 +23,13 @@ #include <com/sun/star/xml/dom/events/PhaseType.hpp> #include <com/sun/star/xml/dom/events/XMouseEvent.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include "uievent.hxx" namespace DOM { namespace events { -typedef ::cppu::ImplInheritanceHelper1< CUIEvent, css::xml::dom::events::XMouseEvent > +typedef ::cppu::ImplInheritanceHelper< CUIEvent, css::xml::dom::events::XMouseEvent > CMouseEvent_Base; class CMouseEvent diff --git a/unoxml/source/events/mutationevent.hxx b/unoxml/source/events/mutationevent.hxx index 7fe031d9ba9f..d95a05f3ded5 100644 --- a/unoxml/source/events/mutationevent.hxx +++ b/unoxml/source/events/mutationevent.hxx @@ -28,13 +28,13 @@ #include <com/sun/star/xml/dom/events/AttrChangeType.hpp> #include <com/sun/star/xml/dom/events/XMutationEvent.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include "event.hxx" namespace DOM { namespace events { -typedef ::cppu::ImplInheritanceHelper1< CEvent, css::xml::dom::events::XMutationEvent > +typedef ::cppu::ImplInheritanceHelper< CEvent, css::xml::dom::events::XMutationEvent > CMutationEvent_Base; class CMutationEvent diff --git a/unoxml/source/events/uievent.hxx b/unoxml/source/events/uievent.hxx index fbf5744bc2e7..4d197b2876ef 100644 --- a/unoxml/source/events/uievent.hxx +++ b/unoxml/source/events/uievent.hxx @@ -26,13 +26,13 @@ #include <com/sun/star/xml/dom/events/XUIEvent.hpp> #include <com/sun/star/xml/dom/views/XAbstractView.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include "event.hxx" namespace DOM { namespace events { -typedef ::cppu::ImplInheritanceHelper1< CEvent, css::xml::dom::events::XUIEvent > CUIEvent_Base; +typedef ::cppu::ImplInheritanceHelper< CEvent, css::xml::dom::events::XUIEvent > CUIEvent_Base; class CUIEvent : public CUIEvent_Base diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index def3b8ff78ca..5590f6f39ac3 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -20,7 +20,7 @@ #include "CNodes.hxx" #include <boost/noncopyable.hpp> -#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -33,7 +33,7 @@ namespace { class CBlankNode: - public ::cppu::WeakImplHelper3< + public ::cppu::WeakImplHelper< css::lang::XServiceInfo, css::lang::XInitialization, css::rdf::XBlankNode>, diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index 93cd8926448d..520939823e49 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -20,7 +20,7 @@ #include "CNodes.hxx" #include <boost/noncopyable.hpp> -#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -35,7 +35,7 @@ namespace { class CLiteral: - public ::cppu::WeakImplHelper3< + public ::cppu::WeakImplHelper< css::lang::XServiceInfo, css::lang::XInitialization, css::rdf::XLiteral>, diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index e73b95e8e7ec..ec9430fe2ed0 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -20,7 +20,7 @@ #include "CNodes.hxx" #include <boost/noncopyable.hpp> -#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -34,7 +34,7 @@ namespace { class CURI: - public ::cppu::WeakImplHelper3< + public ::cppu::WeakImplHelper< css::lang::XServiceInfo, css::lang::XInitialization, css::rdf::XURI>, diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 1dc5eaf5904e..c2603f34efb4 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -54,8 +54,7 @@ #include <rtl/ref.hxx> #include <rtl/ustring.hxx> #include <osl/diagnose.h> -#include <cppuhelper/implbase1.hxx> -#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/basemutex.hxx> #include <cppuhelper/supportsservice.hxx> @@ -273,7 +272,7 @@ private: class librdf_Repository: private boost::noncopyable, // private ::cppu::BaseMutex, - public ::cppu::WeakImplHelper3< + public ::cppu::WeakImplHelper< lang::XServiceInfo, rdf::XDocumentRepository, lang::XInitialization> @@ -457,7 +456,7 @@ private: */ class librdf_GraphResult: private boost::noncopyable, - public ::cppu::WeakImplHelper1< + public ::cppu::WeakImplHelper< container::XEnumeration> { public: @@ -571,7 +570,7 @@ throw (uno::RuntimeException, container::NoSuchElementException, */ class librdf_QuerySelectResult: private boost::noncopyable, - public ::cppu::WeakImplHelper1< + public ::cppu::WeakImplHelper< rdf::XQuerySelectResult> { public: @@ -697,7 +696,7 @@ librdf_QuerySelectResult::getBindingNames() throw (uno::RuntimeException, std::e */ class librdf_NamedGraph: private boost::noncopyable, - public ::cppu::WeakImplHelper1< + public ::cppu::WeakImplHelper< rdf::XNamedGraph> { public: diff --git a/unoxml/source/xpath/nodelist.hxx b/unoxml/source/xpath/nodelist.hxx index f1aa9f41da44..2b5da0b45aef 100644 --- a/unoxml/source/xpath/nodelist.hxx +++ b/unoxml/source/xpath/nodelist.hxx @@ -23,7 +23,7 @@ #include <sal/types.h> #include <rtl/ref.hxx> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XNode.hpp> @@ -42,7 +42,7 @@ namespace DOM { namespace XPath { - class CNodeList : public cppu::WeakImplHelper1< css::xml::dom::XNodeList > + class CNodeList : public cppu::WeakImplHelper< css::xml::dom::XNodeList > { private: /// #i115995# keep document alive diff --git a/unoxml/source/xpath/xpathapi.hxx b/unoxml/source/xpath/xpathapi.hxx index 5b47f89fd5b4..cf848867d2da 100644 --- a/unoxml/source/xpath/xpathapi.hxx +++ b/unoxml/source/xpath/xpathapi.hxx @@ -25,7 +25,7 @@ #include <sal/types.h> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Sequence.h> @@ -48,7 +48,7 @@ namespace XPath typedef std::map<OUString, OUString> nsmap_t; typedef std::vector< css::uno::Reference<css::xml::xpath::XXPathExtension> > extensions_t; - typedef ::cppu::WeakImplHelper2 + typedef ::cppu::WeakImplHelper < css::xml::xpath::XXPathAPI , css::lang::XServiceInfo > CXPathAPI_Base; diff --git a/unoxml/source/xpath/xpathobject.hxx b/unoxml/source/xpath/xpathobject.hxx index 987621b4a618..7fba073607ec 100644 --- a/unoxml/source/xpath/xpathobject.hxx +++ b/unoxml/source/xpath/xpathobject.hxx @@ -28,7 +28,7 @@ #include <sal/types.h> #include <rtl/ref.hxx> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/xml/dom/XNodeList.hpp> @@ -40,7 +40,7 @@ namespace DOM { namespace XPath { - class CXPathObject : public cppu::WeakImplHelper1< css::xml::xpath::XXPathObject > + class CXPathObject : public cppu::WeakImplHelper< css::xml::xpath::XXPathObject > { private: ::rtl::Reference< DOM::CDocument > const m_pDocument; |