diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-04 10:34:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-04 20:37:32 +0200 |
commit | a7411c2ee537355dc8051b7059e3a4d0bc708c04 (patch) | |
tree | 24b3f25f9365bd46a4ee64f230d725d844efeefd /include/vcl/weld.hxx | |
parent | a6dfb3245f657f4b05559737f256b3d85e523037 (diff) |
document 0 len case of set_max_length
Change-Id: I8300ff2d68f35da38e2314eefa7f2a2184981eab
Reviewed-on: https://gerrit.libreoffice.org/80194
Tested-by: Jenkins
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 67050d3f30ce..327e3762cf3d 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -1153,6 +1153,7 @@ public: virtual OUString get_text() const = 0; virtual void set_width_chars(int nChars) = 0; virtual int get_width_chars() const = 0; + // The maximum length of the entry. Use 0 for no maximum virtual void set_max_length(int nChars) = 0; // nEndPos can be -1 in order to select all text virtual void select_region(int nStartPos, int nEndPos) = 0; |