diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-20 13:06:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-20 14:26:54 +0100 |
commit | 75938aff3848edb9fc705a70d79e9221b2c05c3a (patch) | |
tree | cfc18316289dd6bba97c411680860ee8f65af80b /dbaccess/source/ui/misc | |
parent | ba9e005e71dbe71319d2ee5ab46495c26044454b (diff) |
cppcheck: noExplicitConstructor
Change-Id: I45f2d96c7bd558405d0b5dfea3beb97ad720a82b
Diffstat (limited to 'dbaccess/source/ui/misc')
-rw-r--r-- | dbaccess/source/ui/misc/UpdateHelperImpl.hxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/asyncmodaldialog.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/controllerframe.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/dbaundomanager.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/dsmeta.cxx | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/misc/UpdateHelperImpl.hxx b/dbaccess/source/ui/misc/UpdateHelperImpl.hxx index 073a28000994..5a6b97b4d1ca 100644 --- a/dbaccess/source/ui/misc/UpdateHelperImpl.hxx +++ b/dbaccess/source/ui/misc/UpdateHelperImpl.hxx @@ -34,7 +34,7 @@ namespace dbaui ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowUpdate > m_xRowUpdate; ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetUpdate > m_xResultSetUpdate; public: - ORowUpdateHelper(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _xRowSet) + explicit ORowUpdateHelper(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _xRowSet) :m_xRowUpdate(_xRowSet,::com::sun::star::uno::UNO_QUERY) ,m_xResultSetUpdate(_xRowSet,::com::sun::star::uno::UNO_QUERY) { @@ -84,7 +84,7 @@ namespace dbaui ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XParameters > m_xParameters; public: - OParameterUpdateHelper(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement >& _xPrepared) + explicit OParameterUpdateHelper(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement >& _xPrepared) :m_xPrepared(_xPrepared) ,m_xParameters(_xPrepared,::com::sun::star::uno::UNO_QUERY) { diff --git a/dbaccess/source/ui/misc/asyncmodaldialog.cxx b/dbaccess/source/ui/misc/asyncmodaldialog.cxx index 7769c1132e09..684347a49e6b 100644 --- a/dbaccess/source/ui/misc/asyncmodaldialog.cxx +++ b/dbaccess/source/ui/misc/asyncmodaldialog.cxx @@ -38,7 +38,7 @@ namespace dbaui Reference< XExecutableDialog > m_xDialog; public: - DialogExecutor_Impl( const Reference< XExecutableDialog >& _rxDialog ) + explicit DialogExecutor_Impl( const Reference< XExecutableDialog >& _rxDialog ) :m_xDialog( _rxDialog ) { } diff --git a/dbaccess/source/ui/misc/controllerframe.cxx b/dbaccess/source/ui/misc/controllerframe.cxx index 31452e2ba2f8..7e3dae216af6 100644 --- a/dbaccess/source/ui/misc/controllerframe.cxx +++ b/dbaccess/source/ui/misc/controllerframe.cxx @@ -71,7 +71,7 @@ namespace dbaui class FrameWindowActivationListener : public FrameWindowActivationListener_Base { public: - FrameWindowActivationListener( ControllerFrame_Data& _rData ); + explicit FrameWindowActivationListener( ControllerFrame_Data& _rData ); void dispose(); @@ -101,7 +101,7 @@ namespace dbaui // ControllerFrame_Data struct ControllerFrame_Data { - ControllerFrame_Data( IController& _rController ) + explicit ControllerFrame_Data( IController& _rController ) :m_rController( _rController ) ,m_xFrame() ,m_xDocEventBroadcaster() diff --git a/dbaccess/source/ui/misc/dbaundomanager.cxx b/dbaccess/source/ui/misc/dbaundomanager.cxx index 3e0d13b6ce7a..35a943dd441d 100644 --- a/dbaccess/source/ui/misc/dbaundomanager.cxx +++ b/dbaccess/source/ui/misc/dbaundomanager.cxx @@ -94,7 +94,7 @@ namespace dbaui class OslMutexFacade : public ::framework::IMutex { public: - OslMutexFacade( ::osl::Mutex& i_mutex ) + explicit OslMutexFacade( ::osl::Mutex& i_mutex ) :m_rMutex( i_mutex ) { } @@ -124,7 +124,7 @@ namespace dbaui class UndoManagerMethodGuard : public ::framework::IMutexGuard { public: - UndoManagerMethodGuard( UndoManager_Impl& i_impl ) + explicit UndoManagerMethodGuard( UndoManager_Impl& i_impl ) :m_aGuard( i_impl.rMutex ) ,m_aMutexFacade( i_impl.rMutex ) { diff --git a/dbaccess/source/ui/misc/dsmeta.cxx b/dbaccess/source/ui/misc/dsmeta.cxx index aaf3ab9ddd90..c6837b91b51c 100644 --- a/dbaccess/source/ui/misc/dsmeta.cxx +++ b/dbaccess/source/ui/misc/dsmeta.cxx @@ -151,7 +151,7 @@ namespace dbaui public: DataSourceMetaData_Impl( const OUString& _sURL ); - inline OUString getType() const { return m_sURL; } + OUString getType() const { return m_sURL; } private: const OUString m_sURL; |