diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:45:29 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:45:29 +0000 |
commit | 01055b0b55bc14b1a21c37340c41c2f71b1a9a9e (patch) | |
tree | 6941ea3742fb17c8f0de4cbea9485845420b1288 /sc/source/ui/unoobj/cellvaluebinding.cxx | |
parent | 8e3a0525db1a0d80c5c3ed7ee11da2f04d6ad308 (diff) |
INTEGRATION: CWS pj75 (1.9.2); FILE MERGED
2007/03/04 16:16:05 pjanik 1.9.2.1: #i75099#: Prevent warnings on Mac OS X/gcc-4.0.1.
Diffstat (limited to 'sc/source/ui/unoobj/cellvaluebinding.cxx')
-rw-r--r-- | sc/source/ui/unoobj/cellvaluebinding.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/cellvaluebinding.cxx b/sc/source/ui/unoobj/cellvaluebinding.cxx index 1451bdfa9e89..4d9c8eed8bc0 100644 --- a/sc/source/ui/unoobj/cellvaluebinding.cxx +++ b/sc/source/ui/unoobj/cellvaluebinding.cxx @@ -4,9 +4,9 @@ * * $RCSfile: cellvaluebinding.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: vg $ $Date: 2007-02-27 13:41:32 $ + * last change: $Author: obo $ $Date: 2007-03-05 14:45:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -393,7 +393,7 @@ namespace calc { DBG_ASSERT( m_xCell.is(), "OCellValueBinding::setValue: don't have a double value supplier!" ); - double nValue; + double nValue = 0; aValue >>= nValue; if ( m_xCell.is() ) m_xCell->setValue( nValue ); @@ -404,7 +404,7 @@ namespace calc { DBG_ASSERT( m_xCell.is(), "OCellValueBinding::setValue: don't have a double value supplier!" ); - sal_Int32 nValue; + sal_Int32 nValue = 0; aValue >>= nValue; // list index from control layer (0-based) ++nValue; // the list position value in the cell is 1-based if ( m_xCell.is() ) |