diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-02 16:09:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-02 22:40:45 +0100 |
commit | c1e8e5cf19a64dec11d6b0a5cd34256e4b86c4ad (patch) | |
tree | f1c8c8304b28d81d38581ecd38e470283779e0c2 /dbaccess | |
parent | 884df9f66ce5d28af256224e830651da2186af5d (diff) |
drop newly unused OSQLNameComboBox
Change-Id: I5de991355cc472d8ee1bc9f55713befca691e096
Reviewed-on: https://gerrit.libreoffice.org/68625
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/SqlNameEdit.cxx | 14 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/SqlNameEdit.hxx | 16 |
2 files changed, 0 insertions, 30 deletions
diff --git a/dbaccess/source/ui/control/SqlNameEdit.cxx b/dbaccess/source/ui/control/SqlNameEdit.cxx index d890a8a476fb..60d470569149 100644 --- a/dbaccess/source/ui/control/SqlNameEdit.cxx +++ b/dbaccess/source/ui/control/SqlNameEdit.cxx @@ -65,24 +65,10 @@ namespace dbaui } Edit::Modify(); } - void OSQLNameComboBox::Modify() - { - OUString sCorrected; - if ( checkString( GetText(),sCorrected ) ) - { - Selection aSel = GetSelection(); - aSel.setMax( aSel.getMin() ); - SetText( sCorrected ); - - SaveValue(); - } - ComboBox::Modify(); - } } using namespace dbaui; VCL_BUILDER_FACTORY(OSQLNameEdit) -VCL_BUILDER_FACTORY(OSQLNameComboBox) /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/ui/inc/SqlNameEdit.hxx b/dbaccess/source/ui/inc/SqlNameEdit.hxx index e1067f2f281b..fa5cd5b505c6 100644 --- a/dbaccess/source/ui/inc/SqlNameEdit.hxx +++ b/dbaccess/source/ui/inc/SqlNameEdit.hxx @@ -60,22 +60,6 @@ namespace dbaui // Edit virtual void Modify() override; }; - - class OSQLNameComboBox : public ComboBox - ,public OSQLNameChecker - { - public: - OSQLNameComboBox(vcl::Window* _pParent) - : ComboBox(_pParent, WB_BORDER) - , OSQLNameChecker(OUString()) - { - } - - // Window overrides - // Edit - virtual void Modify() override; - }; - } #endif // INCLUDED_DBACCESS_SOURCE_UI_INC_SQLNAMEEDIT_HXX |