diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-07 09:33:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-07 09:56:07 +0100 |
commit | 267f401e2ad6e0094de39032671a3191772276ed (patch) | |
tree | be549a278ad37f2e3d10f3ab1be393d14461639a /dbaccess/source/ui | |
parent | b0f3024304bf4e7d9efcb539a49394945f052a51 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r-- | dbaccess/source/ui/app/AppDetailPageHelper.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/JoinController.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/DBTypeWizDlgSetup.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/TableFilterDlg.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/UserSettingsDlg.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/admindlg.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/composerdialogs.hxx | 6 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/copytablewizard.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/dbinteraction.hxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/textconnectionsettings_uno.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/unoDirectSql.hxx | 2 |
11 files changed, 15 insertions, 15 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.hxx b/dbaccess/source/ui/app/AppDetailPageHelper.hxx index 31e71c5119b6..6876f32490bb 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.hxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.hxx @@ -66,7 +66,7 @@ namespace dbaui protected: virtual void DataChanged(const DataChangedEvent& rDCEvt) SAL_OVERRIDE; public: - OPreviewWindow(vcl::Window* _pParent); + explicit OPreviewWindow(vcl::Window* _pParent); // Window overrides virtual void Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) SAL_OVERRIDE; diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx index 193c35d844bd..e57be72feb8e 100644 --- a/dbaccess/source/ui/querydesign/JoinController.cxx +++ b/dbaccess/source/ui/querydesign/JoinController.cxx @@ -82,7 +82,7 @@ class AddTableDialogContext : public IAddTableDialogContext OJoinController& m_rController; public: - AddTableDialogContext( OJoinController& _rController ) + explicit AddTableDialogContext( OJoinController& _rController ) :m_rController( _rController ) { } diff --git a/dbaccess/source/ui/uno/DBTypeWizDlgSetup.hxx b/dbaccess/source/ui/uno/DBTypeWizDlgSetup.hxx index aa6b89efb7e8..97e36962c34e 100644 --- a/dbaccess/source/ui/uno/DBTypeWizDlgSetup.hxx +++ b/dbaccess/source/ui/uno/DBTypeWizDlgSetup.hxx @@ -33,7 +33,7 @@ class ODBTypeWizDialogSetup bool m_bStartTableWizard; protected: - ODBTypeWizDialogSetup(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); + explicit ODBTypeWizDialogSetup(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); public: // XTypeProvider diff --git a/dbaccess/source/ui/uno/TableFilterDlg.hxx b/dbaccess/source/ui/uno/TableFilterDlg.hxx index 5901a8c6ef26..95a9594f0ccb 100644 --- a/dbaccess/source/ui/uno/TableFilterDlg.hxx +++ b/dbaccess/source/ui/uno/TableFilterDlg.hxx @@ -31,7 +31,7 @@ class OTableFilterDialog { protected: - OTableFilterDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); + explicit OTableFilterDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); public: // XTypeProvider diff --git a/dbaccess/source/ui/uno/UserSettingsDlg.hxx b/dbaccess/source/ui/uno/UserSettingsDlg.hxx index 6ecaa148edc0..f6003a71850d 100644 --- a/dbaccess/source/ui/uno/UserSettingsDlg.hxx +++ b/dbaccess/source/ui/uno/UserSettingsDlg.hxx @@ -31,7 +31,7 @@ class OUserSettingsDialog { protected: - OUserSettingsDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); + explicit OUserSettingsDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); public: // XTypeProvider diff --git a/dbaccess/source/ui/uno/admindlg.hxx b/dbaccess/source/ui/uno/admindlg.hxx index e511940e49fb..68b8b8f2c7fe 100644 --- a/dbaccess/source/ui/uno/admindlg.hxx +++ b/dbaccess/source/ui/uno/admindlg.hxx @@ -31,7 +31,7 @@ class ODataSourcePropertyDialog { protected: - ODataSourcePropertyDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); + explicit ODataSourcePropertyDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); public: // XTypeProvider diff --git a/dbaccess/source/ui/uno/composerdialogs.hxx b/dbaccess/source/ui/uno/composerdialogs.hxx index df98196cefce..ec437fdeae89 100644 --- a/dbaccess/source/ui/uno/composerdialogs.hxx +++ b/dbaccess/source/ui/uno/composerdialogs.hxx @@ -51,7 +51,7 @@ namespace dbaui // </properties> protected: - ComposerDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); + explicit ComposerDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); virtual ~ComposerDialog(); public: @@ -77,7 +77,7 @@ namespace dbaui class RowsetFilterDialog : public ComposerDialog { public: - RowsetFilterDialog( + explicit RowsetFilterDialog( const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); @@ -102,7 +102,7 @@ namespace dbaui class RowsetOrderDialog : public ComposerDialog { public: - RowsetOrderDialog( + explicit RowsetOrderDialog( const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 05e5a2d75939..6428fbef135b 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -189,7 +189,7 @@ namespace dbaui bool isInitialized() const { return m_xSourceConnection.is() && m_pSourceObject.get() && m_xDestConnection.is(); } protected: - CopyTableWizard( const Reference< XComponentContext >& _rxORB ); + explicit CopyTableWizard( const Reference< XComponentContext >& _rxORB ); virtual ~CopyTableWizard(); // OGenericUnoDialog overridables @@ -355,7 +355,7 @@ private: class CopyTableAccessGuard { public: - CopyTableAccessGuard( CopyTableWizard& _rWizard ) + explicit CopyTableAccessGuard( CopyTableWizard& _rWizard ) :m_rWizard( _rWizard ) { m_rWizard.getMutex().acquire(); diff --git a/dbaccess/source/ui/uno/dbinteraction.hxx b/dbaccess/source/ui/uno/dbinteraction.hxx index 4c5e9c3ef64c..68485db39ea7 100644 --- a/dbaccess/source/ui/uno/dbinteraction.hxx +++ b/dbaccess/source/ui/uno/dbinteraction.hxx @@ -125,7 +125,7 @@ namespace dbaui class SQLExceptionInteractionHandler : public BasicInteractionHandler { public: - SQLExceptionInteractionHandler( + explicit SQLExceptionInteractionHandler( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) :BasicInteractionHandler( rxContext, false ) @@ -153,7 +153,7 @@ namespace dbaui class LegacyInteractionHandler : public BasicInteractionHandler { public: - LegacyInteractionHandler( + explicit LegacyInteractionHandler( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) :BasicInteractionHandler( rxContext, true ) diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx index f9c1c36b4cf7..cd1e722d2cf4 100644 --- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx +++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx @@ -70,7 +70,7 @@ namespace dbaui PropertyValues m_aPropertyValues; protected: - OTextConnectionSettingsDialog( const Reference<XComponentContext>& _rContext ); + explicit OTextConnectionSettingsDialog( const Reference<XComponentContext>& _rContext ); virtual ~OTextConnectionSettingsDialog(); public: diff --git a/dbaccess/source/ui/uno/unoDirectSql.hxx b/dbaccess/source/ui/uno/unoDirectSql.hxx index 1c5ff4e2f400..f3b92fc304e1 100644 --- a/dbaccess/source/ui/uno/unoDirectSql.hxx +++ b/dbaccess/source/ui/uno/unoDirectSql.hxx @@ -44,7 +44,7 @@ namespace dbaui OUString m_sInitialSelection; css::uno::Reference< css::sdbc::XConnection > m_xActiveConnection; protected: - ODirectSQLDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); + explicit ODirectSQLDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); virtual ~ODirectSQLDialog(); public: |