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:
bool bAlert;
public:
SfxHeaderAttributes_Impl( SfxObjectShell* pSh ) :
explicit SfxHeaderAttributes_Impl( SfxObjectShell* pSh ) :
SvKeyValueIterator(), pDoc( pSh ),
xIter( pSh->GetMedium()->GetHeaderAttributes_Impl() ),
bAlert( false ) {}
......
......@@ -151,7 +151,7 @@ class SfxModelListener_Impl : public ::cppu::WeakImplHelper1< ::com::sun::star::
{
SfxObjectShell* mpDoc;
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 )
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 ;
......@@ -569,7 +569,7 @@ bool SfxObjectShell::IsInPrepareClose() const
struct BoolEnv_Impl
{
SfxObjectShell_Impl* pImp;
BoolEnv_Impl( SfxObjectShell_Impl* pImpP) : pImp( pImpP )
explicit BoolEnv_Impl( SfxObjectShell_Impl* pImpP) : pImp( pImpP )
{ pImpP->bInPrepareClose = true; }
~BoolEnv_Impl() { pImp->bInPrepareClose = false; }
};
......
......@@ -108,7 +108,7 @@ class SfxFrameLoader_Impl : public ::cppu::WeakImplHelper2< css::frame::XSynchro
css::uno::Reference < css::uno::XComponentContext > m_aContext;
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()
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
......
......@@ -56,7 +56,7 @@ public:
bool bLockResize;
bool bMenuBarOn;
SfxFrame_Impl( SfxFrame* pAntiImplP )
explicit SfxFrame_Impl( SfxFrame* pAntiImplP )
:nType( 0L )
,pCurrentViewFrame( NULL )
,pDescr( NULL )
......
......@@ -53,7 +53,7 @@ struct SfxViewFrame_Impl
::boost::optional< bool >
aHasToolPanels;
SfxViewFrame_Impl(SfxFrame& i_rFrame)
explicit SfxViewFrame_Impl(SfxFrame& i_rFrame)
: rFrame(i_rFrame)
, pReloader(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