Kaydet (Commit) c8a7a677 authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: noExplicitConstructor

Change-Id: Icb4273515082bffaeb9d8f3ebcec8d76fa4192ef
üst 24736e72
...@@ -146,7 +146,7 @@ private: ...@@ -146,7 +146,7 @@ private:
bool bAlert; bool bAlert;
public: public:
SfxHeaderAttributes_Impl( SfxObjectShell* pSh ) : explicit SfxHeaderAttributes_Impl( SfxObjectShell* pSh ) :
SvKeyValueIterator(), pDoc( pSh ), SvKeyValueIterator(), pDoc( pSh ),
xIter( pSh->GetMedium()->GetHeaderAttributes_Impl() ), xIter( pSh->GetMedium()->GetHeaderAttributes_Impl() ),
bAlert( false ) {} bAlert( false ) {}
......
...@@ -151,7 +151,7 @@ class SfxModelListener_Impl : public ::cppu::WeakImplHelper1< ::com::sun::star:: ...@@ -151,7 +151,7 @@ class SfxModelListener_Impl : public ::cppu::WeakImplHelper1< ::com::sun::star::
{ {
SfxObjectShell* mpDoc; SfxObjectShell* mpDoc;
public: public:
SfxModelListener_Impl( SfxObjectShell* pDoc ) : mpDoc(pDoc) {}; explicit SfxModelListener_Impl( SfxObjectShell* pDoc ) : mpDoc(pDoc) {};
virtual void SAL_CALL queryClosing( const com::sun::star::lang::EventObject& aEvent, sal_Bool bDeliverOwnership ) virtual void SAL_CALL queryClosing( const com::sun::star::lang::EventObject& aEvent, sal_Bool bDeliverOwnership )
throw ( com::sun::star::uno::RuntimeException, com::sun::star::util::CloseVetoException, std::exception) SAL_OVERRIDE ; throw ( com::sun::star::uno::RuntimeException, com::sun::star::util::CloseVetoException, std::exception) SAL_OVERRIDE ;
virtual void SAL_CALL notifyClosing( const com::sun::star::lang::EventObject& aEvent ) throw ( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ; virtual void SAL_CALL notifyClosing( const com::sun::star::lang::EventObject& aEvent ) throw ( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
...@@ -569,7 +569,7 @@ bool SfxObjectShell::IsInPrepareClose() const ...@@ -569,7 +569,7 @@ bool SfxObjectShell::IsInPrepareClose() const
struct BoolEnv_Impl struct BoolEnv_Impl
{ {
SfxObjectShell_Impl* pImp; SfxObjectShell_Impl* pImp;
BoolEnv_Impl( SfxObjectShell_Impl* pImpP) : pImp( pImpP ) explicit BoolEnv_Impl( SfxObjectShell_Impl* pImpP) : pImp( pImpP )
{ pImpP->bInPrepareClose = true; } { pImpP->bInPrepareClose = true; }
~BoolEnv_Impl() { pImp->bInPrepareClose = false; } ~BoolEnv_Impl() { pImp->bInPrepareClose = false; }
}; };
......
...@@ -108,7 +108,7 @@ class SfxFrameLoader_Impl : public ::cppu::WeakImplHelper2< css::frame::XSynchro ...@@ -108,7 +108,7 @@ class SfxFrameLoader_Impl : public ::cppu::WeakImplHelper2< css::frame::XSynchro
css::uno::Reference < css::uno::XComponentContext > m_aContext; css::uno::Reference < css::uno::XComponentContext > m_aContext;
public: public:
SfxFrameLoader_Impl( const css::uno::Reference < css::uno::XComponentContext >& _rxContext ); explicit SfxFrameLoader_Impl( const css::uno::Reference < css::uno::XComponentContext >& _rxContext );
virtual OUString SAL_CALL getImplementationName() virtual OUString SAL_CALL getImplementationName()
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
......
...@@ -56,7 +56,7 @@ public: ...@@ -56,7 +56,7 @@ public:
bool bLockResize; bool bLockResize;
bool bMenuBarOn; bool bMenuBarOn;
SfxFrame_Impl( SfxFrame* pAntiImplP ) explicit SfxFrame_Impl( SfxFrame* pAntiImplP )
:nType( 0L ) :nType( 0L )
,pCurrentViewFrame( NULL ) ,pCurrentViewFrame( NULL )
,pDescr( NULL ) ,pDescr( NULL )
......
...@@ -53,7 +53,7 @@ struct SfxViewFrame_Impl ...@@ -53,7 +53,7 @@ struct SfxViewFrame_Impl
::boost::optional< bool > ::boost::optional< bool >
aHasToolPanels; aHasToolPanels;
SfxViewFrame_Impl(SfxFrame& i_rFrame) explicit SfxViewFrame_Impl(SfxFrame& i_rFrame)
: rFrame(i_rFrame) : rFrame(i_rFrame)
, pReloader(0) , pReloader(0)
, pWindow(0) , pWindow(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment