diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-07-10 17:50:12 +0900 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-20 07:06:22 +0000 |
commit | a890a7696ff5dfc3ec8a012ba59cc04db4a1473d (patch) | |
tree | 9e0d23aadb43f2bbdf3bac2db8aff76307bda5fc /include/comphelper/enumhelper.hxx | |
parent | 3f0677b86f4831b011a2baece85cf93c68646cd5 (diff) |
tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants, for comphelper.
This also includes extra changes in other modules
required accordingly.
Change-Id: Id1537f46f1c90f760a0d8987a6dafa0e1da03b8f
Reviewed-on: https://gerrit.libreoffice.org/16929
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/comphelper/enumhelper.hxx')
-rw-r--r-- | include/comphelper/enumhelper.hxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/comphelper/enumhelper.hxx b/include/comphelper/enumhelper.hxx index 6e0f9820cbdc..723a8db238fb 100644 --- a/include/comphelper/enumhelper.hxx +++ b/include/comphelper/enumhelper.hxx @@ -25,8 +25,7 @@ #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/lang/XEventListener.hpp> -#include <cppuhelper/implbase1.hxx> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> #include <osl/mutex.hxx> #include <comphelper/comphelperdllapi.h> @@ -43,8 +42,8 @@ struct OEnumerationLock on an object implementing the com.sun.star.container::XNameAccess interface */ class COMPHELPER_DLLPUBLIC OEnumerationByName : private OEnumerationLock - , public ::cppu::WeakImplHelper2< css::container::XEnumeration , - css::lang::XEventListener > + , public ::cppu::WeakImplHelper< css::container::XEnumeration , + css::lang::XEventListener > { css::uno::Sequence< OUString > m_aNames; sal_Int32 m_nPos; @@ -72,8 +71,8 @@ private: on an object implementing the com.sun.star.container::XNameAccess interface */ class COMPHELPER_DLLPUBLIC OEnumerationByIndex : private OEnumerationLock - , public ::cppu::WeakImplHelper2< css::container::XEnumeration , - css::lang::XEventListener > + , public ::cppu::WeakImplHelper< css::container::XEnumeration , + css::lang::XEventListener > { sal_Int32 m_nPos; css::uno::Reference< css::container::XIndexAccess > m_xAccess; @@ -99,7 +98,7 @@ private: */ class COMPHELPER_DLLPUBLIC OAnyEnumeration : private OEnumerationLock - , public ::cppu::WeakImplHelper1< css::container::XEnumeration > + , public ::cppu::WeakImplHelper< css::container::XEnumeration > { sal_Int32 m_nPos; css::uno::Sequence< css::uno::Any > m_lItems; |