cppcheck: noExplicitConstructor
Change-Id: I4eb86c5a03b55e5946fe11848ca009f7ca112658
This commit is contained in:
@@ -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 )
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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 );
|
||||
|
@@ -25,7 +25,7 @@ class OGLFrameGrabber : public FrameGrabber_BASE
|
||||
{
|
||||
public:
|
||||
|
||||
OGLFrameGrabber( libgltf::glTFHandle& rHandle );
|
||||
explicit OGLFrameGrabber( libgltf::glTFHandle& rHandle );
|
||||
virtual ~OGLFrameGrabber();
|
||||
|
||||
// XFrameGrabber
|
||||
|
@@ -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
|
||||
|
@@ -42,8 +42,8 @@ namespace avmedia
|
||||
{
|
||||
public:
|
||||
|
||||
MediaEventListenersImpl( vcl::Window& rNotifyWindow );
|
||||
virtual ~MediaEventListenersImpl();
|
||||
explicit MediaEventListenersImpl( vcl::Window& rNotifyWindow );
|
||||
virtual ~MediaEventListenersImpl();
|
||||
|
||||
void cleanUp();
|
||||
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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();
|
||||
|
@@ -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 );
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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 );
|
||||
|
||||
|
@@ -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 );
|
||||
|
Reference in New Issue
Block a user