From ab4609c8f9756e4fe6959a10e54ebee9105edbf7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 1 May 2018 16:03:24 +0100 Subject: weld ScMoveTableDlg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4d5601d0fb02a20bf6c83fc10411f610bdb5ce32 Reviewed-on: https://gerrit.libreoffice.org/53698 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/source/app/salvtables.cxx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'vcl/source/app') diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 1805559ee3ad..aecefcffbd88 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -1214,7 +1214,7 @@ public: m_xTreeView->RemoveEntry(pos); } - virtual int find(const OUString& rText) const override + virtual int find_text(const OUString& rText) const override { sal_Int32 nRet = m_xTreeView->GetEntryPos(rText); if (nRet == LISTBOX_ENTRY_NOTFOUND) @@ -1272,7 +1272,7 @@ public: return aRows; } - virtual OUString get(int pos) const override + virtual OUString get_text(int pos) const override { return m_xTreeView->GetEntry(pos); } @@ -1758,6 +1758,16 @@ public: m_xComboBoxText->SetStyle(m_xComboBoxText->GetStyle() | WB_SORT); } + virtual void freeze() override + { + m_xComboBoxText->SetUpdateMode(false); + } + + virtual void thaw() override + { + m_xComboBoxText->SetUpdateMode(true); + } + virtual ~SalInstanceComboBoxText() override { clear(); -- cgit