diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 08:46:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 08:59:39 +0000 |
commit | f4826959c1a5b0e6d2849d4240668b2087582848 (patch) | |
tree | 32589cbf4cbdcd20ff09417f4906f10fc7a4525f /dbaccess | |
parent | 83721f4365d234b62f9e3517345c8d3fda19f2c6 (diff) |
new loplugin:unusedenumconstants
These are the simple removals, where it is obviously safe,
the more complex ones will come in separate commits
Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308
Reviewed-on: https://gerrit.libreoffice.org/33828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/inc/dbwiz.hxx | 9 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dbwizsetup.hxx | 7 |
2 files changed, 0 insertions, 16 deletions
diff --git a/dbaccess/source/ui/inc/dbwiz.hxx b/dbaccess/source/ui/inc/dbwiz.hxx index 2c85d711de91..eb5e6eb53aba 100644 --- a/dbaccess/source/ui/inc/dbwiz.hxx +++ b/dbaccess/source/ui/inc/dbwiz.hxx @@ -96,15 +96,6 @@ protected: getPageController( TabPage* _pCurrentPage ) const override; virtual bool onFinish() override; -protected: - - enum ApplyResult - { - AR_LEAVE_MODIFIED, // something was modified and has successfully been committed - AR_LEAVE_UNCHANGED, // no changes were made - AR_KEEP // don't leave the page (e.g. because an error occurred) - }; - private: DECL_LINK(OnTypeSelected, OGeneralPage&, void); }; diff --git a/dbaccess/source/ui/inc/dbwizsetup.hxx b/dbaccess/source/ui/inc/dbwizsetup.hxx index 31b08dfa0bd5..103b26299cf2 100644 --- a/dbaccess/source/ui/inc/dbwizsetup.hxx +++ b/dbaccess/source/ui/inc/dbwizsetup.hxx @@ -131,15 +131,8 @@ protected: virtual ::svt::IWizardPageController* getPageController( TabPage* _pCurrentPage ) const override; virtual bool onFinish() override; -protected: void resetPages(const css::uno::Reference< css::beans::XPropertySet >& _rxDatasource); - enum ApplyResult - { - AR_LEAVE_MODIFIED, // something was modified and has successfully been committed - AR_KEEP // don't leave the page (e.g. because an error occurred) - }; - private: /** declares a path with or without authentication, as indicated by the database type |