[Libreoffice-commits] core.git: 2 commits - dbaccess/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Mar 2 21:41:05 UTC 2019
dbaccess/source/ui/control/SqlNameEdit.cxx | 18 ------------------
dbaccess/source/ui/inc/SqlNameEdit.hxx | 16 ----------------
2 files changed, 34 deletions(-)
New commits:
commit d4e3b48ee4c32bdb4e6cc37fb618cf818e152c31
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Mar 2 16:10:32 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Mar 2 22:40:57 2019 +0100
OSQLNameEdit not needed as a buildable anymore
Change-Id: I5a70db03ce8846ab56535b3f044d4519c4eeb4b1
Reviewed-on: https://gerrit.libreoffice.org/68626
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/dbaccess/source/ui/control/SqlNameEdit.cxx b/dbaccess/source/ui/control/SqlNameEdit.cxx
index 60d470569149..a3f7c3e1371d 100644
--- a/dbaccess/source/ui/control/SqlNameEdit.cxx
+++ b/dbaccess/source/ui/control/SqlNameEdit.cxx
@@ -67,8 +67,4 @@ namespace dbaui
}
}
-using namespace dbaui;
-
-VCL_BUILDER_FACTORY(OSQLNameEdit)
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit c1e8e5cf19a64dec11d6b0a5cd34256e4b86c4ad
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Mar 2 16:09:40 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Mar 2 22:40:45 2019 +0100
drop newly unused OSQLNameComboBox
Change-Id: I5de991355cc472d8ee1bc9f55713befca691e096
Reviewed-on: https://gerrit.libreoffice.org/68625
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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
More information about the Libreoffice-commits
mailing list