diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/adminpages.hxx')
-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; |