diff options
Diffstat (limited to 'extensions/source/dbpilots')
-rw-r--r-- | extensions/source/dbpilots/controlwizard.cxx | 10 | ||||
-rw-r--r-- | extensions/source/dbpilots/controlwizard.hxx | 6 |
2 files changed, 6 insertions, 10 deletions
diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx index 2e8f25329dbb..f220adb5a75b 100644 --- a/extensions/source/dbpilots/controlwizard.cxx +++ b/extensions/source/dbpilots/controlwizard.cxx @@ -135,10 +135,9 @@ namespace dbp } - void OControlWizardPage::fillListBox(ListBox& _rList, const Sequence< OUString >& _rItems, bool _bClear) + void OControlWizardPage::fillListBox(ListBox& _rList, const Sequence< OUString >& _rItems) { - if (_bClear) - _rList.Clear(); + _rList.Clear(); const OUString* pItems = _rItems.getConstArray(); const OUString* pEnd = pItems + _rItems.getLength(); ::svt::WizardTypes::WizardState nPos; @@ -151,10 +150,9 @@ namespace dbp } - void OControlWizardPage::fillListBox(ComboBox& _rList, const Sequence< OUString >& _rItems, bool _bClear) + void OControlWizardPage::fillListBox(ComboBox& _rList, const Sequence< OUString >& _rItems) { - if (_bClear) - _rList.Clear(); + _rList.Clear(); const OUString* pItems = _rItems.getConstArray(); const OUString* pEnd = pItems + _rItems.getLength(); ::svt::WizardTypes::WizardState nPos; diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx index 51ca221d9e8d..3f2e44daa090 100644 --- a/extensions/source/dbpilots/controlwizard.hxx +++ b/extensions/source/dbpilots/controlwizard.hxx @@ -72,12 +72,10 @@ namespace dbp protected: static void fillListBox( ListBox& _rList, - const css::uno::Sequence< OUString >& _rItems, - bool _bClear = true); + const css::uno::Sequence< OUString >& _rItems); static void fillListBox( ComboBox& _rList, - const css::uno::Sequence< OUString >& _rItems, - bool _bClear = true); + const css::uno::Sequence< OUString >& _rItems); protected: void enableFormDatasourceDisplay(); |