diff options
-rw-r--r-- | vcl/source/app/salvtables.cxx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 62e5873b8501..905e29f5b33d 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -1488,11 +1488,6 @@ public: m_xComboBoxText->SelectEntryPos(pos); } - virtual OUString get_active_text() const override - { - return m_xComboBoxText->GetSelectedEntry(); - } - virtual OUString get_text(int pos) const override { return m_xComboBoxText->GetEntry(pos); @@ -1576,6 +1571,11 @@ public: m_xComboBoxText->SetSelectHdl(LINK(this, SalInstanceComboBoxTextWithoutEdit, SelectHdl)); } + virtual OUString get_active_text() const override + { + return m_xComboBoxText->GetSelectedEntry(); + } + virtual void set_entry_error(bool /*bError*/) override { assert(false); @@ -1632,6 +1632,11 @@ public: m_xComboBoxText->SetControlForeground(); } + virtual OUString get_active_text() const override + { + return m_xComboBoxText->GetText(); + } + virtual void set_entry_text(const OUString& rText) override { m_xComboBoxText->SetText(rText); |