diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-08-07 22:09:06 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-08-08 23:25:28 +0200 |
commit | 03eb15938e04a8a28fc08ca7528b2f7068fe1c7a (patch) | |
tree | 64a56e0d605757410bed25ad88735f5ac4339e73 /cui | |
parent | af2d474ff9a91645043c1d4292891c313cceef5e (diff) |
vcl, sw: fix the inheritance of SwComboBox from ComboBox a bit
Remove the silly overloading, and introduce virtual methods.
Change-Id: If54a6a3fb7464283f80d3387ae23db234690f8a3
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuifmsearch.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tabstpge.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index a1c3e1fd7b1b..ff177e17c835 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -344,7 +344,7 @@ IMPL_LINK_NOARG(FmSearchDialog, OnClickedSearchAgain) // the remove/insert makes sure that a) the OUString does not appear twice and // that b) the last searched strings are at the beginning and limit the list length while (m_cmbSearchText.GetEntryCount() > MAX_HISTORY_ENTRIES) - m_cmbSearchText.RemoveEntry(m_cmbSearchText.GetEntryCount()-1); + m_cmbSearchText.RemoveEntryAt(m_cmbSearchText.GetEntryCount()-1); // take out the 'overflow' hint m_ftHint.SetText(OUString()); diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx index ba44cf2fbe39..31410815bce8 100644 --- a/cui/source/tabpages/tabstpge.cxx +++ b/cui/source/tabpages/tabstpge.cxx @@ -542,7 +542,7 @@ IMPL_LINK_NOARG(SvxTabulatorTabPage, DelHdl_Impl) } // Delete Tab - m_pTabBox->RemoveEntry( nPos ); + m_pTabBox->RemoveEntryAt(nPos); aNewTabs.Remove( nPos ); // Reset aAktTab |