Kaydet (Commit) e189fa40 authored tarafından rbuj's avatar rbuj Kaydeden (comit) Noel Grandin

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/11044Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst ac57362b
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment