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

Takeshi Abe tabe at fixedpoint.jp
Thu Jul 30 06:16:24 PDT 2015


 editeng/source/accessibility/AccessibleContextBase.cxx |    4 ++--
 editeng/source/accessibility/AccessibleHyperlink.hxx   |    4 ++--
 editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx   |    4 ++--
 editeng/source/misc/unolingu.cxx                       |   10 +++++-----
 include/editeng/AccessibleContextBase.hxx              |    4 ++--
 include/editeng/AccessibleEditableTextPara.hxx         |    4 ++--
 include/editeng/AccessibleImageBullet.hxx              |    4 ++--
 include/editeng/UnoForbiddenCharsTable.hxx             |    4 ++--
 include/svx/AccessibleControlShape.hxx                 |    2 +-
 9 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit e646e614e26d647c6b7ce6918b8dddad71568f96
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Jul 30 16:41:22 2015 +0900

    tdf#88206 replace cppu::WeakImplHelper* etc.
    
    with the variadic variants for editeng.
    
    Change-Id: I28373dd31b8b922f59b99bf1c12faa31c72b9906
    Reviewed-on: https://gerrit.libreoffice.org/17416
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx
index 3217f0d..24d6698 100644
--- a/editeng/source/accessibility/AccessibleContextBase.cxx
+++ b/editeng/source/accessibility/AccessibleContextBase.cxx
@@ -45,7 +45,7 @@ namespace accessibility {
 AccessibleContextBase::AccessibleContextBase (
         const uno::Reference<XAccessible>& rxParent,
         const sal_Int16 aRole)
-    :   WeakComponentImplHelper4 (MutexOwner::maMutex),
+    :   WeakComponentImplHelper(MutexOwner::maMutex),
         mxStateSet (NULL),
         mxRelationSet (NULL),
         mxParent(rxParent),
@@ -488,7 +488,7 @@ uno::Sequence< ::com::sun::star::uno::Type>
 
     // This class supports no interfaces on its own.  Just return those
     // supported by the base class.
-    return WeakComponentImplHelper4::getTypes();
+    return WeakComponentImplHelper::getTypes();
 }
 
 uno::Sequence<sal_Int8> SAL_CALL
diff --git a/editeng/source/accessibility/AccessibleHyperlink.hxx b/editeng/source/accessibility/AccessibleHyperlink.hxx
index fe0ef70..507f532 100644
--- a/editeng/source/accessibility/AccessibleHyperlink.hxx
+++ b/editeng/source/accessibility/AccessibleHyperlink.hxx
@@ -21,7 +21,7 @@
 #define INCLUDED_EDITENG_SOURCE_ACCESSIBILITY_ACCESSIBLEHYPERLINK_HXX
 
 #include <cppuhelper/weakref.hxx>
-#include <cppuhelper/compbase1.hxx>
+#include <cppuhelper/implbase.hxx>
 #include <cppuhelper/typeprovider.hxx>
 #include <cppuhelper/interfacecontainer.hxx>
 
@@ -35,7 +35,7 @@ class SvxAccessibleTextAdapter;
 namespace accessibility
 {
 
-    class AccessibleHyperlink : public ::cppu::WeakImplHelper1< ::com::sun::star::accessibility::XAccessibleHyperlink >
+    class AccessibleHyperlink : public ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessibleHyperlink >
     {
     private:
 
diff --git a/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx b/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx
index eaf15d6..95c626d 100644
--- a/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx
+++ b/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx
@@ -13,7 +13,7 @@
 #include <sal/types.h>
 #include <xmloff/xmltoken.hxx>
 #include <xmloff/xmlnmspe.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
 #include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
 #include <com/sun/star/xml/sax/FastToken.hpp>
 #include <sax/fastattribs.hxx>
@@ -31,7 +31,7 @@ enum SvXMLAutoCorrectToken : sal_Int32
 };
 
 class SvXMLAutoCorrectTokenHandler : public
-        cppu::WeakImplHelper1< css::xml::sax::XFastTokenHandler >,
+        cppu::WeakImplHelper< css::xml::sax::XFastTokenHandler >,
         public sax_fastparser::FastTokenHandlerBase
 {
 public:
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index c85eda2..a90090f 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -37,7 +37,7 @@
 #include <com/sun/star/util/DateTime.hpp>
 
 #include <comphelper/processfactory.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
 #include <i18nlangtag/languagetag.hxx>
 #include <unotools/lingucfg.hxx>
 #include <unotools/ucbhelper.hxx>
@@ -72,7 +72,7 @@ static uno::Reference< XLinguServiceManager2 > GetLngSvcMgr_Impl()
 //! The dummy accesses the real implementation (and thus loading the DLL)
 //! when "real" work needs to be done only.
 class ThesDummy_Impl :
-    public cppu::WeakImplHelper1< XThesaurus >
+    public cppu::WeakImplHelper< XThesaurus >
 {
     uno::Reference< XThesaurus >     xThes;      // the real one...
     Sequence< lang::Locale >         *pLocaleSeq;
@@ -204,7 +204,7 @@ uno::Sequence< uno::Reference< linguistic2::XMeaning > > SAL_CALL
 //! The dummy accesses the real implementation (and thus loading the DLL)
 //! when it needs to be done only.
 class SpellDummy_Impl :
-    public cppu::WeakImplHelper1< XSpellChecker1 >
+    public cppu::WeakImplHelper< XSpellChecker1 >
 {
     uno::Reference< XSpellChecker1 >     xSpell;      // the real one...
 
@@ -301,7 +301,7 @@ uno::Reference< linguistic2::XSpellAlternatives > SAL_CALL
 //! The dummy accesses the real implementation (and thus loading the DLL)
 //! when it needs to be done only.
 class HyphDummy_Impl :
-    public cppu::WeakImplHelper1< XHyphenator >
+    public cppu::WeakImplHelper< XHyphenator >
 {
     uno::Reference< XHyphenator >     xHyph;      // the real one...
 
@@ -429,7 +429,7 @@ uno::Reference< linguistic2::XPossibleHyphens > SAL_CALL
     return xRes;
 }
 
-class LinguMgrExitLstnr : public cppu::WeakImplHelper1<XEventListener>
+class LinguMgrExitLstnr : public cppu::WeakImplHelper<XEventListener>
 {
     uno::Reference< XDesktop2 >        xDesktop;
 
diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx
index 391857d..581f4fb 100644
--- a/include/editeng/AccessibleContextBase.hxx
+++ b/include/editeng/AccessibleContextBase.hxx
@@ -36,7 +36,7 @@
 #include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
 #include <com/sun/star/lang/DisposedException.hpp>
 #include <osl/mutex.hxx>
-#include <cppuhelper/compbase4.hxx>
+#include <cppuhelper/compbase.hxx>
 #include <editeng/editengdllapi.h>
 
 
@@ -52,7 +52,7 @@ struct MutexOwner {mutable ::osl::Mutex maMutex;};
 */
 class EDITENG_DLLPUBLIC AccessibleContextBase
     :   public MutexOwner,
-        public cppu::WeakComponentImplHelper4<
+        public cppu::WeakComponentImplHelper<
         ::com::sun::star::accessibility::XAccessible,
         ::com::sun::star::accessibility::XAccessibleContext,
         ::com::sun::star::accessibility::XAccessibleEventBroadcaster,
diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx
index 37a6a25..6d48c27 100644
--- a/include/editeng/AccessibleEditableTextPara.hxx
+++ b/include/editeng/AccessibleEditableTextPara.hxx
@@ -23,7 +23,7 @@
 #include <rtl/ustring.hxx>
 #include <tools/gen.hxx>
 #include <cppuhelper/weakref.hxx>
-#include <cppuhelper/compbase9.hxx>
+#include <cppuhelper/compbase.hxx>
 #include <cppuhelper/typeprovider.hxx>
 #include <cppuhelper/interfacecontainer.hxx>
 
@@ -46,7 +46,7 @@
 
 namespace accessibility
 {
-    typedef ::cppu::WeakComponentImplHelper9< ::com::sun::star::accessibility::XAccessible,
+    typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::accessibility::XAccessible,
                                      ::com::sun::star::accessibility::XAccessibleContext,
                                      ::com::sun::star::accessibility::XAccessibleComponent,
                                      ::com::sun::star::accessibility::XAccessibleEditableText,
diff --git a/include/editeng/AccessibleImageBullet.hxx b/include/editeng/AccessibleImageBullet.hxx
index 79f2dbf..d4caae7 100644
--- a/include/editeng/AccessibleImageBullet.hxx
+++ b/include/editeng/AccessibleImageBullet.hxx
@@ -22,7 +22,7 @@
 
 #include <tools/gen.hxx>
 #include <cppuhelper/weakref.hxx>
-#include <cppuhelper/implbase5.hxx>
+#include <cppuhelper/implbase.hxx>
 
 #include <cppuhelper/interfacecontainer.hxx>
 #include <com/sun/star/uno/Reference.hxx>
@@ -36,7 +36,7 @@
 
 namespace accessibility
 {
-    typedef ::cppu::WeakImplHelper5< ::com::sun::star::accessibility::XAccessible,
+    typedef ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessible,
                                      ::com::sun::star::accessibility::XAccessibleContext,
                                      ::com::sun::star::accessibility::XAccessibleComponent,
                                      ::com::sun::star::accessibility::XAccessibleEventBroadcaster,
diff --git a/include/editeng/UnoForbiddenCharsTable.hxx b/include/editeng/UnoForbiddenCharsTable.hxx
index 45ef28e..7e729eb 100644
--- a/include/editeng/UnoForbiddenCharsTable.hxx
+++ b/include/editeng/UnoForbiddenCharsTable.hxx
@@ -24,12 +24,12 @@
 #include <com/sun/star/linguistic2/XSupportedLocales.hpp>
 #include <rtl/ref.hxx>
 
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
 #include <editeng/editengdllapi.h>
 
 class SvxForbiddenCharactersTable;
 
-class EDITENG_DLLPUBLIC SvxUnoForbiddenCharsTable : public cppu::WeakImplHelper2<
+class EDITENG_DLLPUBLIC SvxUnoForbiddenCharsTable : public cppu::WeakImplHelper<
                                         com::sun::star::i18n::XForbiddenCharacters,
                                         com::sun::star::linguistic2::XSupportedLocales>
 {
diff --git a/include/svx/AccessibleControlShape.hxx b/include/svx/AccessibleControlShape.hxx
index 5644e5f..45b1d0a 100644
--- a/include/svx/AccessibleControlShape.hxx
+++ b/include/svx/AccessibleControlShape.hxx
@@ -26,7 +26,7 @@
 #include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
 #include <com/sun/star/util/XModeChangeBroadcaster.hpp>
 #include <com/sun/star/container/XContainerListener.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase4.hxx>
 #include <comphelper/uno3.hxx>
 
 namespace com { namespace sun { namespace star { namespace awt {


More information about the Libreoffice-commits mailing list