summaryrefslogtreecommitdiff
path: root/include/svtools/ctrlbox.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-03-09 10:26:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-03-09 13:25:56 +0100
commit633b2f4dffedaf4a162a5fa92eeaeb509efab173 (patch)
tree56b0ee015b834444da703fb7779d4b171c22c5a1 /include/svtools/ctrlbox.hxx
parentad85d0503bdce3f4a7f8be3dc571343f5b7afdc6 (diff)
save/restore the entry text of the fontsize widget
instead of its value, because the min value is 2, but we set empty text to indicate multiple values are selected in the underlying text. Change-Id: If4232b500cd177a264aa5e6ca0537021483db95f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90208 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools/ctrlbox.hxx')
-rw-r--r--include/svtools/ctrlbox.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index 66a9a73cd988..60f1ab0510dc 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -438,7 +438,7 @@ public:
void connect_focus_out(const Link<weld::Widget&, void>& rLink) { m_aFocusOutHdl = rLink; }
void connect_key_press(const Link<const KeyEvent&, bool>& rLink) { m_xComboBox->connect_key_press(rLink); }
OUString get_active_text() const { return m_xComboBox->get_active_text(); }
- void set_active_text(const OUString& rText) { m_xComboBox->set_active_text(rText); }
+ void set_entry_text(const OUString& rText);
void set_sensitive(bool bSensitive) { m_xComboBox->set_sensitive(bSensitive); }
int get_active() const { return m_xComboBox->get_active(); }
int get_value() const;