diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-28 17:04:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-01 11:41:04 +0100 |
commit | b54046188c48b7031d0460ebab74125adc97f874 (patch) | |
tree | 699f9563f7c120350887749277d9c0294a1fa54a /include/vcl/weld.hxx | |
parent | c77e01d63b4bd4805c4a499e4e0cab917d0eb403 (diff) |
weld ScStringInputDlg to native dialog
ScStringInputDlg and SwStringInputDlg do the same thing, but one uses the old
name as the label and leaves the new name blank in the entry. The other puts
the old name into the entry and autoselects it and uses a normal label. Both
are used from the rename button of the shared autoformat dialog.
Change-Id: I2ebf09a79f92c3f9020304e23e8907b67c06cd35
Reviewed-on: https://gerrit.libreoffice.org/50525
Tested-by: Jenkins <ci@libreoffice.org>
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.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 4b7887e1c45a..eaecaf11bd5b 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -279,6 +279,7 @@ public: virtual void set_text(const OUString& rText) = 0; virtual OUString get_text() const = 0; virtual void set_width_chars(int nChars) = 0; + virtual void select_region(int nStartPos, int nEndPos) = 0; void connect_changed(const Link<Entry&, void>& rLink) { m_aChangeHdl = rLink; } |