summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-02-12 09:55:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-02-12 12:48:10 +0100
commita8f21e120b1073d7019d41e85cc9a15104ed5c93 (patch)
treec550831e03d3db20fdcccce8e1235fe6c73b1fd6 /include
parentde0651551b13e58e4a37794e1da6649629be3fc0 (diff)
merge together as get_checkbox_column_width
Change-Id: I183d2d94ab60c128b136674ef40eeb30057b281c Reviewed-on: https://gerrit.libreoffice.org/67714 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/weld.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 311136279c37..bdd80ac3c635 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -618,6 +618,8 @@ public:
virtual OUString get_column_title(int nColumn) const = 0;
virtual void set_column_title(int nColumn, const OUString& rTitle) = 0;
+ int get_checkbox_column_width() const { return get_approximate_digit_width() * 3 + 6; }
+
virtual void set_selection_mode(SelectionMode eMode) = 0;
virtual int count_selected_rows() const = 0;