cppcheck: noExplicitConstructor
Change-Id: I4eb86c5a03b55e5946fe11848ca009f7ca112658
This commit is contained in:
@@ -61,7 +61,7 @@ struct MediaItem::Impl
|
|||||||
bool m_bMute;
|
bool m_bMute;
|
||||||
::com::sun::star::media::ZoomLevel m_eZoom;
|
::com::sun::star::media::ZoomLevel m_eZoom;
|
||||||
|
|
||||||
Impl(AVMediaSetMask nMaskSet)
|
explicit Impl(AVMediaSetMask nMaskSet)
|
||||||
: m_nMaskSet( nMaskSet )
|
: m_nMaskSet( nMaskSet )
|
||||||
, m_eState( MEDIASTATE_STOP )
|
, m_eState( MEDIASTATE_STOP )
|
||||||
, m_fTime( 0.0 )
|
, 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;
|
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
FrameGrabber( const OUString &aURL );
|
explicit FrameGrabber( const OUString &aURL );
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace gst
|
} // namespace gst
|
||||||
|
@@ -35,7 +35,7 @@ class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManag
|
|||||||
{
|
{
|
||||||
public:
|
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();
|
virtual ~Manager();
|
||||||
|
|
||||||
// XManager
|
// XManager
|
||||||
|
@@ -43,7 +43,7 @@ class Player : public ::cppu::BaseMutex,
|
|||||||
{
|
{
|
||||||
public:
|
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();
|
virtual ~Player();
|
||||||
|
|
||||||
void preparePlaybin( const OUString& rURL, GstElement *pSink );
|
void preparePlaybin( const OUString& rURL, GstElement *pSink );
|
||||||
|
@@ -25,7 +25,7 @@ class OGLFrameGrabber : public FrameGrabber_BASE
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
OGLFrameGrabber( libgltf::glTFHandle& rHandle );
|
explicit OGLFrameGrabber( libgltf::glTFHandle& rHandle );
|
||||||
virtual ~OGLFrameGrabber();
|
virtual ~OGLFrameGrabber();
|
||||||
|
|
||||||
// XFrameGrabber
|
// XFrameGrabber
|
||||||
|
@@ -22,7 +22,7 @@ class OGLManager : public ::cppu::WeakImplHelper2 < com::sun::star::media::XMana
|
|||||||
{
|
{
|
||||||
public:
|
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();
|
virtual ~OGLManager();
|
||||||
|
|
||||||
// XManager
|
// XManager
|
||||||
|
@@ -42,8 +42,8 @@ namespace avmedia
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
MediaEventListenersImpl( vcl::Window& rNotifyWindow );
|
explicit MediaEventListenersImpl( vcl::Window& rNotifyWindow );
|
||||||
virtual ~MediaEventListenersImpl();
|
virtual ~MediaEventListenersImpl();
|
||||||
|
|
||||||
void cleanUp();
|
void cleanUp();
|
||||||
|
|
||||||
|
@@ -48,7 +48,7 @@ namespace avmedia
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
MediaWindowControl( vcl::Window* pParent );
|
explicit MediaWindowControl( vcl::Window* pParent );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
@@ -64,8 +64,8 @@ namespace avmedia
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
MediaChildWindow( vcl::Window* pParent );
|
explicit MediaChildWindow( vcl::Window* pParent );
|
||||||
MediaChildWindow( vcl::Window* pParent, SystemWindowData* pData );
|
MediaChildWindow( vcl::Window* pParent, SystemWindowData* pData );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
@@ -33,7 +33,7 @@ class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManag
|
|||||||
std::unique_ptr<wrapper::Instance> mInstance;
|
std::unique_ptr<wrapper::Instance> mInstance;
|
||||||
wrapper::EventHandler mEventHandler;
|
wrapper::EventHandler mEventHandler;
|
||||||
public:
|
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();
|
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;
|
::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:
|
public:
|
||||||
static bool LoadSymbols();
|
static bool LoadSymbols();
|
||||||
Player( Media& media );
|
explicit Player( Media& media );
|
||||||
Player( const Player& other );
|
Player( const Player& other );
|
||||||
Player& operator=( const Player& other );
|
Player& operator=( const Player& other );
|
||||||
virtual ~Player();
|
virtual ~Player();
|
||||||
|
@@ -37,8 +37,8 @@ class FrameGrabber : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::X
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
FrameGrabber( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr );
|
explicit FrameGrabber( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr );
|
||||||
~FrameGrabber();
|
~FrameGrabber();
|
||||||
|
|
||||||
bool create( const OUString& rURL );
|
bool create( const OUString& rURL );
|
||||||
|
|
||||||
|
@@ -35,7 +35,7 @@ class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManag
|
|||||||
{
|
{
|
||||||
public:
|
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();
|
~Manager();
|
||||||
|
|
||||||
// XManager
|
// XManager
|
||||||
|
@@ -54,8 +54,8 @@ class Player : public cppu::BaseMutex,
|
|||||||
{
|
{
|
||||||
public:
|
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 );
|
||||||
~Player();
|
~Player();
|
||||||
|
|
||||||
bool create( const OUString& rURL );
|
bool create( const OUString& rURL );
|
||||||
|
|
||||||
|
@@ -36,7 +36,7 @@ public:
|
|||||||
long nLeftFrmPos;
|
long nLeftFrmPos;
|
||||||
bool bHasSelection;
|
bool bHasSelection;
|
||||||
|
|
||||||
SwCallLink( SwCrsrShell & rSh );
|
explicit SwCallLink( SwCrsrShell & rSh );
|
||||||
SwCallLink( SwCrsrShell & rSh, sal_uLong nAktNode, sal_Int32 nAktCntnt,
|
SwCallLink( SwCrsrShell & rSh, sal_uLong nAktNode, sal_Int32 nAktCntnt,
|
||||||
sal_uInt8 nAktNdTyp, long nLRPos,
|
sal_uInt8 nAktNdTyp, long nLRPos,
|
||||||
bool bAktSelection );
|
bool bAktSelection );
|
||||||
|
Reference in New Issue
Block a user