cppcheck: noExplicitConstructor

Change-Id: I4eb86c5a03b55e5946fe11848ca009f7ca112658
This commit is contained in:
Caolán McNamara 2015-05-02 17:12:54 +01:00
parent e702a0cb81
commit 8c7d151e7a
14 changed files with 19 additions and 19 deletions

View File

@ -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 )

View File

@ -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

View File

@ -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

View File

@ -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 );

View File

@ -25,7 +25,7 @@ class OGLFrameGrabber : public FrameGrabber_BASE
{
public:
OGLFrameGrabber( libgltf::glTFHandle& rHandle );
explicit OGLFrameGrabber( libgltf::glTFHandle& rHandle );
virtual ~OGLFrameGrabber();
// XFrameGrabber

View File

@ -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

View File

@ -42,8 +42,8 @@ namespace avmedia
{
public:
MediaEventListenersImpl( vcl::Window& rNotifyWindow );
virtual ~MediaEventListenersImpl();
explicit MediaEventListenersImpl( vcl::Window& rNotifyWindow );
virtual ~MediaEventListenersImpl();
void cleanUp();

View File

@ -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:

View File

@ -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;

View File

@ -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();

View File

@ -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 );

View File

@ -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

View File

@ -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 );

View File

@ -36,7 +36,7 @@ public:
long nLeftFrmPos;
bool bHasSelection;
SwCallLink( SwCrsrShell & rSh );
explicit SwCallLink( SwCrsrShell & rSh );
SwCallLink( SwCrsrShell & rSh, sal_uLong nAktNode, sal_Int32 nAktCntnt,
sal_uInt8 nAktNdTyp, long nLRPos,
bool bAktSelection );