From 00ea33c0efa73ff7ad042466e17826f925f577db Mon Sep 17 00:00:00 2001 From: Frank Schönheit Date: Thu, 7 Dec 2000 13:11:49 +0000 Subject: #81018# the BASEPROPERTY_VALUESTEP_DOUBLE is transported as double (as the name suggests:) --- svtools/source/uno/unoiface.cxx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'svtools/source/uno') 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: -- cgit