summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-04 15:23:04 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-04 15:23:04 +0000
commita75c1c5a09f00ef5fa31639ecf29545fa740c2ba (patch)
tree39c9d2c80e8d0fbd3bd9abdd4bed695911c917d9 /framework/source
parent96a72cc7e3f0b8c9cfce6563a2407d7f1a521227 (diff)
INTEGRATION: CWS fwk77 (1.5.44); FILE MERGED
2007/11/07 15:04:30 cd 1.5.44.1: #i83012# Fixed 64bit Linux WaE
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/uielement/spinfieldtoolbarcontroller.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
index 38bb4de633f0..f0d8959de548 100644
--- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx
+++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: spinfieldtoolbarcontroller.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: ihi $ $Date: 2007-07-10 15:13:01 $
+ * last change: $Author: obo $ $Date: 2008-01-04 16:23:04 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -637,7 +637,7 @@ rtl::OUString SpinfieldToolbarController::impl_formatOutputString( double fValue
if ( m_bFloat )
snprintf( aBuffer, 128, aFormat.getStr(), fValue );
else
- snprintf( aBuffer, 128, aFormat.getStr(), sal_Int32( fValue ));
+ snprintf( aBuffer, 128, aFormat.getStr(), static_cast<long>( fValue ));
sal_Int32 nSize = strlen( aBuffer );
rtl::OString aTmp( aBuffer, nSize );