summaryrefslogtreecommitdiff
path: root/include/vcl/weld.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-27 16:31:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-29 15:33:51 +0200
commit288b9a3e22c2495c24d6fd195bd8f33a990a9b81 (patch)
treee04f783784bbb2f44712161ab983d74781fdee49 /include/vcl/weld.hxx
parent71fa42a61f98e57f433f6ab5bb98ec8aa50dacfa (diff)
weld SwEndNoteOptionPage
Change-Id: I2313352a66b088a4198ac8a96d2fd218bb2176fd Reviewed-on: https://gerrit.libreoffice.org/53608 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/weld.hxx')
-rw-r--r--include/vcl/weld.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index d15d593ecc7f..77f985965c90 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -231,6 +231,7 @@ public:
virtual void insert(int pos, const OUString& rId, const OUString& rStr) = 0;
void append(const OUString& rId, const OUString& rStr) { insert(-1, rId, rStr); }
virtual void remove(int pos) = 0;
+ void remove_text(const OUString& rText) { remove(find_text(rText)); }
virtual int find_text(const OUString& rStr) const = 0;
virtual int find_id(const OUString& rId) const = 0;
virtual int get_count() const = 0;
@@ -241,7 +242,7 @@ public:
void connect_changed(const Link<ComboBoxText&, void>& rLink) { m_aChangeHdl = rLink; }
- void set_active(const OUString& rStr) { set_active(find_text(rStr)); }
+ void set_active_text(const OUString& rStr) { set_active(find_text(rStr)); }
virtual void set_entry_text(const OUString& rStr) = 0;
virtual void select_entry_region(int nStartPos, int nEndPos) = 0;