summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-08-20 16:37:43 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-08-21 01:52:11 -0500
commite189fa400ec4fcafae5e3b04f054cec851f81dd8 (patch)
tree3cca982e3ce1250a1d3a27d1fbb94c05c58fc1f8 /wizards
parentac57362b23859591c088e36b7218f4a606dcf3bb (diff)
wizards: EffectiveMax & EffectiveMin of TINYINT
http://docs.oracle.com/javase/1.5.0/docs/api/constant-values.html#java.lang.Byte.MIN_VALUE Change-Id: I702f1354eaddc37e6321c3cdc0126a78945d0754 Reviewed-on: https://gerrit.libreoffice.org/11044 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/document/DatabaseControl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/document/DatabaseControl.java b/wizards/com/sun/star/wizards/document/DatabaseControl.java
index 7e98a872cd9d..6995fdca8d92 100644
--- a/wizards/com/sun/star/wizards/document/DatabaseControl.java
+++ b/wizards/com/sun/star/wizards/document/DatabaseControl.java
@@ -199,8 +199,8 @@ public class DatabaseControl extends Control
xPropertySet.setPropertyValue("EffectiveMin", new Double(Short.MIN_VALUE));
break;
case DataType.TINYINT:
- xPropertySet.setPropertyValue("EffectiveMax", new Double(127));
- xPropertySet.setPropertyValue("EffectiveMin", new Double(-128));
+ xPropertySet.setPropertyValue("EffectiveMax", new Double(Byte.MAX_VALUE));
+ xPropertySet.setPropertyValue("EffectiveMin", new Double(Byte.MIN_VALUE));
break;
case DataType.FLOAT:
case DataType.REAL: