summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/formcontroller.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-04-26 05:32:03 +0000
committerFrank Schönheit <fs@openoffice.org>2001-04-26 05:32:03 +0000
commit4ec845d63a20a2e257bac94a6a1b889d1520376e (patch)
tree3556c01294fe2d6208b7ef598e2706f974449e84 /extensions/source/propctrlr/formcontroller.cxx
parent8813b5960c9d0f6cead3eb80977d8591f46b567a (diff)
#86017# limit the decimal accuracy to 20
Diffstat (limited to 'extensions/source/propctrlr/formcontroller.cxx')
-rw-r--r--extensions/source/propctrlr/formcontroller.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx
index bfce301bfe1c..af2e3f526265 100644
--- a/extensions/source/propctrlr/formcontroller.cxx
+++ b/extensions/source/propctrlr/formcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: formcontroller.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: fs $ $Date: 2001-04-12 06:30:10 $
+ * last change: $Author: fs $ $Date: 2001-04-26 06:32:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2288,6 +2288,12 @@ namespace pcr
case PROPERTY_ID_BOUNDCOLUMN: pProperty->nMinValue = 1; break;
}
break;
+
+ case PROPERTY_ID_DECIMAL_ACCURACY:
+ pProperty->nMaxValue = 20;
+ pProperty->nMinValue = 0;
+ pProperty->bHaveMinMax = sal_True;
+ break;
}
//////////////////////////////////////////////////////////////////////
@@ -2766,6 +2772,9 @@ namespace pcr
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.15 2001/04/12 06:30:10 fs
+ * #84694# +recalcConnection: show an error when trying to open a new connection
+ *
* Revision 1.14 2001/04/03 12:44:06 fs
* corrected SetQueries for list-/combo boxes
*