diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-02 17:12:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-03 09:34:13 +0100 |
commit | 8c7d151e7a8a54b0fed8dfbcc957d435b73afa51 (patch) | |
tree | 79a6a9e72b8a503f2fc5c5aaab516e3fe464d4e8 /avmedia | |
parent | e702a0cb81e5eaa0dedccc96526ad64cd3a0d65d (diff) |
cppcheck: noExplicitConstructor
Change-Id: I4eb86c5a03b55e5946fe11848ca009f7ca112658
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/framework/mediaitem.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/gstreamer/gstframegrabber.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/gstreamer/gstmanager.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/opengl/oglframegrabber.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/opengl/oglmanager.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/viewer/mediaevent_impl.hxx | 4 | ||||
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.hxx | 6 | ||||
-rw-r--r-- | avmedia/source/vlc/vlcmanager.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/Player.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/win/framegrabber.hxx | 4 | ||||
-rw-r--r-- | avmedia/source/win/manager.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/win/player.hxx | 4 |
13 files changed, 18 insertions, 18 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx index 2543df5d08f9..bf85b48b7b70 100644 --- a/avmedia/source/framework/mediaitem.cxx +++ b/avmedia/source/framework/mediaitem.cxx @@ -61,7 +61,7 @@ struct MediaItem::Impl bool m_bMute; ::com::sun::star::media::ZoomLevel m_eZoom; - Impl(AVMediaSetMask nMaskSet) + explicit Impl(AVMediaSetMask nMaskSet) : m_nMaskSet( nMaskSet ) , m_eState( MEDIASTATE_STOP ) , m_fTime( 0.0 ) diff --git a/avmedia/source/gstreamer/gstframegrabber.hxx b/avmedia/source/gstreamer/gstframegrabber.hxx index 87a3f2369078..6c849c87a385 100644 --- a/avmedia/source/gstreamer/gstframegrabber.hxx +++ b/avmedia/source/gstreamer/gstframegrabber.hxx @@ -53,7 +53,7 @@ public: virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: - FrameGrabber( const OUString &aURL ); + explicit FrameGrabber( const OUString &aURL ); }; } // namespace gst diff --git a/avmedia/source/gstreamer/gstmanager.hxx b/avmedia/source/gstreamer/gstmanager.hxx index 507ee7d82a28..65af8738f629 100644 --- a/avmedia/source/gstreamer/gstmanager.hxx +++ b/avmedia/source/gstreamer/gstmanager.hxx @@ -35,7 +35,7 @@ class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManag { public: - Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); + explicit Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); virtual ~Manager(); // XManager diff --git a/avmedia/source/gstreamer/gstplayer.hxx b/avmedia/source/gstreamer/gstplayer.hxx index f1be5d245cef..c5fc4f6eb08d 100644 --- a/avmedia/source/gstreamer/gstplayer.hxx +++ b/avmedia/source/gstreamer/gstplayer.hxx @@ -43,7 +43,7 @@ class Player : public ::cppu::BaseMutex, { public: - Player( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); + explicit Player( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); virtual ~Player(); void preparePlaybin( const OUString& rURL, GstElement *pSink ); diff --git a/avmedia/source/opengl/oglframegrabber.hxx b/avmedia/source/opengl/oglframegrabber.hxx index 5beb15bcf308..db8a926cedd1 100644 --- a/avmedia/source/opengl/oglframegrabber.hxx +++ b/avmedia/source/opengl/oglframegrabber.hxx @@ -25,7 +25,7 @@ class OGLFrameGrabber : public FrameGrabber_BASE { public: - OGLFrameGrabber( libgltf::glTFHandle& rHandle ); + explicit OGLFrameGrabber( libgltf::glTFHandle& rHandle ); virtual ~OGLFrameGrabber(); // XFrameGrabber diff --git a/avmedia/source/opengl/oglmanager.hxx b/avmedia/source/opengl/oglmanager.hxx index 5151588e9303..d4ccf1f209a2 100644 --- a/avmedia/source/opengl/oglmanager.hxx +++ b/avmedia/source/opengl/oglmanager.hxx @@ -22,7 +22,7 @@ class OGLManager : public ::cppu::WeakImplHelper2 < com::sun::star::media::XMana { public: - OGLManager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rMgr ); + explicit OGLManager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rMgr ); virtual ~OGLManager(); // XManager diff --git a/avmedia/source/viewer/mediaevent_impl.hxx b/avmedia/source/viewer/mediaevent_impl.hxx index 27676c749d84..2db8ba064856 100644 --- a/avmedia/source/viewer/mediaevent_impl.hxx +++ b/avmedia/source/viewer/mediaevent_impl.hxx @@ -42,8 +42,8 @@ namespace avmedia { public: - MediaEventListenersImpl( vcl::Window& rNotifyWindow ); - virtual ~MediaEventListenersImpl(); + explicit MediaEventListenersImpl( vcl::Window& rNotifyWindow ); + virtual ~MediaEventListenersImpl(); void cleanUp(); diff --git a/avmedia/source/viewer/mediawindow_impl.hxx b/avmedia/source/viewer/mediawindow_impl.hxx index 755de2948f5c..11a95d878e89 100644 --- a/avmedia/source/viewer/mediawindow_impl.hxx +++ b/avmedia/source/viewer/mediawindow_impl.hxx @@ -48,7 +48,7 @@ namespace avmedia { public: - MediaWindowControl( vcl::Window* pParent ); + explicit MediaWindowControl( vcl::Window* pParent ); protected: @@ -64,8 +64,8 @@ namespace avmedia { public: - MediaChildWindow( vcl::Window* pParent ); - MediaChildWindow( vcl::Window* pParent, SystemWindowData* pData ); + explicit MediaChildWindow( vcl::Window* pParent ); + MediaChildWindow( vcl::Window* pParent, SystemWindowData* pData ); protected: diff --git a/avmedia/source/vlc/vlcmanager.hxx b/avmedia/source/vlc/vlcmanager.hxx index f9b1a1c81816..3473e51fe86d 100644 --- a/avmedia/source/vlc/vlcmanager.hxx +++ b/avmedia/source/vlc/vlcmanager.hxx @@ -33,7 +33,7 @@ class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManag std::unique_ptr<wrapper::Instance> mInstance; wrapper::EventHandler mEventHandler; public: - Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); + explicit Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); virtual ~Manager(); ::com::sun::star::uno::Reference< ::com::sun::star::media::XPlayer > SAL_CALL createPlayer( const rtl::OUString& aURL ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/avmedia/source/vlc/wrapper/Player.hxx b/avmedia/source/vlc/wrapper/Player.hxx index 018c5ebce5ec..e8058a8f4b03 100644 --- a/avmedia/source/vlc/wrapper/Player.hxx +++ b/avmedia/source/vlc/wrapper/Player.hxx @@ -31,7 +31,7 @@ namespace wrapper { public: static bool LoadSymbols(); - Player( Media& media ); + explicit Player( Media& media ); Player( const Player& other ); Player& operator=( const Player& other ); virtual ~Player(); diff --git a/avmedia/source/win/framegrabber.hxx b/avmedia/source/win/framegrabber.hxx index 841da8f97f8a..ac62d562a027 100644 --- a/avmedia/source/win/framegrabber.hxx +++ b/avmedia/source/win/framegrabber.hxx @@ -37,8 +37,8 @@ class FrameGrabber : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::X { public: - FrameGrabber( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); - ~FrameGrabber(); + explicit FrameGrabber( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); + ~FrameGrabber(); bool create( const OUString& rURL ); diff --git a/avmedia/source/win/manager.hxx b/avmedia/source/win/manager.hxx index 9bd7f25ab48f..23337d47886c 100644 --- a/avmedia/source/win/manager.hxx +++ b/avmedia/source/win/manager.hxx @@ -35,7 +35,7 @@ class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManag { public: - Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); + explicit Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); ~Manager(); // XManager diff --git a/avmedia/source/win/player.hxx b/avmedia/source/win/player.hxx index 38ff12a659e7..f8c1036c0303 100644 --- a/avmedia/source/win/player.hxx +++ b/avmedia/source/win/player.hxx @@ -54,8 +54,8 @@ class Player : public cppu::BaseMutex, { public: - Player( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); - ~Player(); + explicit Player( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); + ~Player(); bool create( const OUString& rURL ); |