summaryrefslogtreecommitdiff
path: root/include/vcl/weld.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-22 16:41:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-26 09:41:46 +0200
commitb032d746a48b8887ccc2330b2fdbf63d701a213f (patch)
treeb7d2b80a2a614711069f4d814845346ff20df12b /include/vcl/weld.hxx
parente953ce16d24cff34b97940a6063704cd487fec42 (diff)
weld SwTextGridPage
Change-Id: I4f8e5f643126bea5deef7636b6d20f8080cb6662 Reviewed-on: https://gerrit.libreoffice.org/56309 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.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index fe391c8e26d4..443b916b5142 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -543,6 +543,18 @@ public:
get_range(min, dummy);
set_range(min, max);
}
+ int get_min() const
+ {
+ int min, dummy;
+ get_range(min, dummy);
+ return min;
+ }
+ int get_max() const
+ {
+ int dummy, max;
+ get_range(dummy, max);
+ return max;
+ }
virtual void set_increments(int step, int page) = 0;
virtual void get_increments(int& step, int& page) const = 0;
virtual void set_digits(unsigned int digits) = 0;