summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/fieldvalidator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:53:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:53:26 -0600
commitc91e96258b6c127201397dd5309c4433655e63b2 (patch)
tree85682ed6f7056b51a95e85cf1711ffcc74588d34 /kexi/kexidb/fieldvalidator.cpp
parent5ec453c2580654ef1d9c019964fa3b9cf3c601a9 (diff)
downloadkoffice-c91e96258b6c127201397dd5309c4433655e63b2.tar.gz
koffice-c91e96258b6c127201397dd5309c4433655e63b2.zip
Apply a number of kexi patches
This closes Bug 777
Diffstat (limited to 'kexi/kexidb/fieldvalidator.cpp')
-rw-r--r--kexi/kexidb/fieldvalidator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/kexidb/fieldvalidator.cpp b/kexi/kexidb/fieldvalidator.cpp
index 57f8bd8d..3b08301c 100644
--- a/kexi/kexidb/fieldvalidator.cpp
+++ b/kexi/kexidb/fieldvalidator.cpp
@@ -36,7 +36,7 @@ FieldValidator::FieldValidator( const Field &field, TQWidget * parent, const cha
if (field.isIntegerType()) {
TQValidator *validator = 0;
const bool u = field.isUnsigned();
- int bottom, top;
+ int bottom = 0, top = 0;
if (t==Field::Byte) {
bottom = u ? 0 : -0x80;
top = u ? 0xff : 0x7f;