summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-01-14 16:24:38 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-01-14 16:24:38 +0000
commit92f541be50755ade3e18ac60d31b696e36717a46 (patch)
treee1d17029f64e9bb8f8672949e7963a784135011c /framework/source
parentd7794015144f8860345388c10512345d17bf473a (diff)
INTEGRATION: CWS fwk79 (1.5.62); FILE MERGED
2007/11/27 13:43:35 cd 1.5.62.2: #i83922# Use correct variable and string length for SetValue command 2007/11/26 12:47:18 cd 1.5.62.1: #i83922# Use correct variable to check float/integer value
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/uielement/spinfieldtoolbarcontroller.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
index f0d8959de548..011209b8ab2d 100644
--- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx
+++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: spinfieldtoolbarcontroller.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2008-01-04 16:23:04 $
+ * last change: $Author: ihi $ $Date: 2008-01-14 17:24:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -468,13 +468,13 @@ void SpinfieldToolbarController::executeControlCommand( const ::com::sun::star::
{
for ( sal_Int32 i = 0; i < rControlCommand.Arguments.getLength(); i++ )
{
- if ( rControlCommand.Arguments[i].Name.equalsAsciiL( "Value", 4 ))
+ if ( rControlCommand.Arguments[i].Name.equalsAsciiL( "Value", 5 ))
{
sal_Int32 nValue;
double fValue;
bool bFloat( false );
- if ( impl_getValue( rControlCommand.Arguments[i].Value, nValue, fValue, m_bFloat ))
+ if ( impl_getValue( rControlCommand.Arguments[i].Value, nValue, fValue, bFloat ))
{
aValue = bFloat ? ::rtl::OUString::valueOf( fValue ) : ::rtl::OUString::valueOf( nValue );
bFloatValue = bFloat;