summaryrefslogtreecommitdiff
path: root/svtools/source/uno
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2000-12-07 13:11:49 +0000
committerFrank Schönheit <fs@openoffice.org>2000-12-07 13:11:49 +0000
commit00ea33c0efa73ff7ad042466e17826f925f577db (patch)
treead755049e698bbd16dfc04d3ec1df4e962418e09 /svtools/source/uno
parente14b4c973680b414514008ce09fd4586323e8d7e (diff)
#81018# the BASEPROPERTY_VALUESTEP_DOUBLE is transported as double (as the name suggests:)
Diffstat (limited to 'svtools/source/uno')
-rw-r--r--svtools/source/uno/unoiface.cxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index d325e028a36f..046aabf85a58 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoiface.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:59:06 $
+ * last change: $Author: fs $ $Date: 2000-12-07 14:11:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -921,9 +921,15 @@ void SVTXFormattedField::setProperty( const ::rtl::OUString& PropertyName, const
break;
case BASEPROPERTY_VALUESTEP_DOUBLE:
{
- sal_Int32 n;
- if ( Value >>= n )
- pField->SetSpinSize( n );
+ double d;
+ if ( Value >>= d )
+ pField->SetSpinSize( d );
+ else
+ {
+ sal_Int32 n;
+ if ( Value >>= n )
+ pField->SetSpinSize( n );
+ }
}
break;
case BASEPROPERTY_DECIMALACCURACY: