[Libreoffice-commits] core.git: include/xmloff xmloff/source

krishna keshav princy.krishnakeshav at gmail.com
Tue Jun 14 11:09:47 UTC 2016


 include/xmloff/attrlist.hxx     |    4 ++--
 xmloff/source/core/attrlist.cxx |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit e8c8d824607bdad288680678f259b3e78308bab0
Author: krishna keshav <princy.krishnakeshav at gmail.com>
Date:   Fri Jun 10 19:34:05 2016 +0530

    tdf#88206 Change use of cppu::WeakImplHelper*
    
    Change-Id: I8562a69bf624902a54da004b0786cae2a98102e5
    Reviewed-on: https://gerrit.libreoffice.org/26168
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/include/xmloff/attrlist.hxx b/include/xmloff/attrlist.hxx
index 34567c2..db8f3ff 100644
--- a/include/xmloff/attrlist.hxx
+++ b/include/xmloff/attrlist.hxx
@@ -31,12 +31,12 @@
 #include <com/sun/star/xml/sax/XLocator.hpp>
 #include <com/sun/star/lang/XUnoTunnel.hpp>
 
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
 #include <memory>
 
 struct SvXMLAttributeList_Impl;
 
-class XMLOFF_DLLPUBLIC SvXMLAttributeList : public ::cppu::WeakImplHelper3<
+class XMLOFF_DLLPUBLIC SvXMLAttributeList : public ::cppu::WeakImplHelper<
         css::xml::sax::XAttributeList,
         css::util::XCloneable,
         css::lang::XUnoTunnel>
diff --git a/xmloff/source/core/attrlist.cxx b/xmloff/source/core/attrlist.cxx
index f01dc41..ed81acd 100644
--- a/xmloff/source/core/attrlist.cxx
+++ b/xmloff/source/core/attrlist.cxx
@@ -24,6 +24,7 @@
 #include <osl/diagnose.h>
 #include <xmloff/xmltoken.hxx>
 #include <comphelper/servicehelper.hxx>
+#include <cppuhelper/implbase.hxx>
 
 #include <xmloff/attrlist.hxx>
 
@@ -76,7 +77,7 @@ sal_Int16 SAL_CALL SvXMLAttributeList::getLength() throw( css::uno::RuntimeExcep
 
 
 SvXMLAttributeList::SvXMLAttributeList( const SvXMLAttributeList &r ) :
-    cppu::WeakImplHelper3<css::xml::sax::XAttributeList, css::util::XCloneable, css::lang::XUnoTunnel>(r),
+    cppu::WeakImplHelper<css::xml::sax::XAttributeList, css::util::XCloneable, css::lang::XUnoTunnel>(r),
     m_pImpl( new SvXMLAttributeList_Impl( *r.m_pImpl ) )
 {
 }


More information about the Libreoffice-commits mailing list