diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-26 13:47:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-26 20:48:57 +0200 |
commit | 205c47443ea43341cacec52acbe53a470f41acc6 (patch) | |
tree | 5a9cf627ccb86c6d52250f041542d4fcddc83d73 /dbaccess | |
parent | 3f820a5638b84bd66c9a58172f1c812b54e6f9da (diff) |
loplugin:unusedmethods
Change-Id: I9d1abe62e7e0ae3434e0b2d440d6ccf0435e97cc
Reviewed-on: https://gerrit.libreoffice.org/78131
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/adminpages.hxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index 4a4db351e0bd..7266901af8f8 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -41,17 +41,6 @@ namespace dbaui virtual void Disable() = 0; }; - template < class T > class OSaveValueWrapper : public ISaveValueWrapper - { - VclPtr<T> m_pSaveValue; - public: - explicit OSaveValueWrapper(T* _pSaveValue) : m_pSaveValue(_pSaveValue) - { OSL_ENSURE(m_pSaveValue,"Illegal argument!"); } - - virtual void SaveValue() override { m_pSaveValue->SaveValue(); } - virtual void Disable() override { m_pSaveValue->Disable(); } - }; - template < class T > class OSaveValueWidgetWrapper : public ISaveValueWrapper { T* m_pSaveValue; @@ -96,17 +85,6 @@ namespace dbaui virtual void Disable() override { m_pSaveValue->set_sensitive(false); } }; - template < class T > class ODisableWrapper : public ISaveValueWrapper - { - VclPtr<T> m_pSaveValue; - public: - explicit ODisableWrapper(T* _pSaveValue) : m_pSaveValue(_pSaveValue) - { OSL_ENSURE(m_pSaveValue,"Illegal argument!"); } - - virtual void SaveValue() override {} - virtual void Disable() override { m_pSaveValue->Disable(); } - }; - // OGenericAdministrationPage class IDatabaseSettingsDialog; class IItemSetHelper; |