diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-09-04 18:25:57 +0900 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-07 07:37:07 +0000 |
commit | ca7bab0561aa6afa399f1d2f449402545768859e (patch) | |
tree | bfde19ec9d99544ecf51cfb551a0ac5d76634d9a /slideshow/source | |
parent | 9ea32ccd6e45e2d914e09413a4164045aff9f0fd (diff) |
slideshow: tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants.
Change-Id: I3160235d0e6253626a8facbfed33e3c252505cbf
Reviewed-on: https://gerrit.libreoffice.org/18336
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'slideshow/source')
5 files changed, 12 insertions, 14 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index b9816193611a..78f897519c4f 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -48,7 +48,7 @@ #include <com/sun/star/rendering/XIntegerBitmap.hpp> #include <com/sun/star/geometry/IntegerSize2D.hpp> -#include <cppuhelper/compbase1.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/basemutex.hxx> #include <cppuhelper/factory.hxx> #include <rtl/ref.hxx> @@ -92,7 +92,7 @@ using ::com::sun::star::uno::UNO_QUERY_THROW; namespace { -typedef cppu::WeakComponentImplHelper1<presentation::XTransition> OGLTransitionerImplBase; +typedef cppu::WeakComponentImplHelper<presentation::XTransition> OGLTransitionerImplBase; #if OSL_DEBUG_LEVEL > 1 class TimerContext @@ -605,7 +605,7 @@ void OGLTransitionerImpl::createTexture( GLuint* texID, namespace { - class OGLColorSpace : public cppu::WeakImplHelper1< com::sun::star::rendering::XIntegerBitmapColorSpace > + class OGLColorSpace : public cppu::WeakImplHelper< com::sun::star::rendering::XIntegerBitmapColorSpace > { private: uno::Sequence< sal_Int8 > maComponentTags; @@ -1401,7 +1401,7 @@ OGLTransitionerImpl::OGLTransitionerImpl() { } -typedef cppu::WeakComponentImplHelper1<presentation::XTransitionFactory> OGLTransitionFactoryImplBase; +typedef cppu::WeakComponentImplHelper<presentation::XTransitionFactory> OGLTransitionFactoryImplBase; class OGLTransitionFactoryImpl : private cppu::BaseMutex, public OGLTransitionFactoryImplBase { diff --git a/slideshow/source/engine/eventmultiplexer.cxx b/slideshow/source/engine/eventmultiplexer.cxx index 80702bf92ad2..9d295498f93c 100644 --- a/slideshow/source/engine/eventmultiplexer.cxx +++ b/slideshow/source/engine/eventmultiplexer.cxx @@ -21,7 +21,7 @@ #include <tools/diagnose_ex.h> #include <rtl/ref.hxx> -#include <cppuhelper/compbase2.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/basemutex.hxx> #include <com/sun/star/awt/XMouseListener.hpp> @@ -107,7 +107,7 @@ template<typename T> inline T* get_pointer(PrioritizedHandlerEntry<T> const& han -typedef cppu::WeakComponentImplHelper2< +typedef cppu::WeakComponentImplHelper< awt::XMouseListener, awt::XMouseMotionListener > Listener_UnoBase; diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx index 83fce3d442eb..727e962f52d8 100644 --- a/slideshow/source/engine/shapes/gdimtftools.cxx +++ b/slideshow/source/engine/shapes/gdimtftools.cxx @@ -29,10 +29,9 @@ #include <com/sun/star/drawing/GraphicExportFilter.hpp> #include <cppuhelper/basemutex.hxx> -#include <cppuhelper/compbase1.hxx> +#include <cppuhelper/compbase.hxx> #include <comphelper/uno3.hxx> -#include <cppuhelper/implbase1.hxx> #include <tools/stream.hxx> #include <vcl/svapp.hxx> @@ -104,7 +103,7 @@ bool hasUnsupportedActions( const GDIMetaFile& rMtf ) namespace { -typedef ::cppu::WeakComponentImplHelper1< graphic::XGraphicRenderer > DummyRenderer_Base; +typedef ::cppu::WeakComponentImplHelper< graphic::XGraphicRenderer > DummyRenderer_Base; class DummyRenderer: public cppu::BaseMutex, public DummyRenderer_Base { diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 2633d11eb17b..99e34530dd31 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -21,10 +21,9 @@ #include <tools/diagnose_ex.h> #include <cppuhelper/basemutex.hxx> -#include <cppuhelper/compbase1.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/factory.hxx> #include <cppuhelper/implementationentry.hxx> -#include <cppuhelper/compbase2.hxx> #include <cppuhelper/interfacecontainer.h> #include <cppuhelper/exc_hlp.hxx> @@ -203,7 +202,7 @@ private: ******************************************************************************/ -typedef cppu::WeakComponentImplHelper1<presentation::XSlideShow> SlideShowImplBase; +typedef cppu::WeakComponentImplHelper<presentation::XSlideShow> SlideShowImplBase; typedef ::std::vector< ::cppcanvas::PolyPolygonSharedPtr> PolyPolygonVector; diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx index 55c810d3841d..e3c00ea6d9c1 100644 --- a/slideshow/source/engine/slideview.cxx +++ b/slideshow/source/engine/slideview.cxx @@ -27,7 +27,7 @@ #include "unoview.hxx" #include <cppuhelper/basemutex.hxx> -#include <cppuhelper/compbase2.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/implementationentry.hxx> #include <cppuhelper/interfacecontainer.h> #include <comphelper/make_shared_from_uno.hxx> @@ -664,7 +664,7 @@ private: -typedef cppu::WeakComponentImplHelper2< +typedef cppu::WeakComponentImplHelper< ::com::sun::star::util::XModifyListener, ::com::sun::star::awt::XPaintListener> SlideViewBase; |