summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-25 14:47:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-25 17:20:30 +0100
commite1a5ae3975dfa42003772f8afd98dde387d82653 (patch)
tree00df7352123cefc7958717a06e49ef8cf65add64 /include
parent259ab763f236778b1c9c4a9707c0b9e0b565c24f (diff)
Related: fdo#83010 move NumericFormatter clipping to min/max into one place
Change-Id: I60cfe651a6ec25fc7e482192d908acca25c1ad8b
Diffstat (limited to 'include')
-rw-r--r--include/vcl/field.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index 1bf15e177a36..546b1c9704ab 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -184,6 +184,8 @@ public:
void SetMax( sal_Int64 nNewMax );
sal_Int64 GetMax() const { return mnMax; }
+ sal_Int64 ClipAgainstMinMax(sal_Int64 nValue) const;
+
void SetFirst( sal_Int64 nNewFirst ) { mnFirst = nNewFirst; }
sal_Int64 GetFirst() const { return mnFirst; }
void SetLast( sal_Int64 nNewLast ) { mnLast = nNewLast; }