summaryrefslogtreecommitdiff
path: root/svx/source/customshapes/EnhancedCustomShape2d.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-07 12:12:31 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-07 12:12:31 +0000
commitde934336a5f1ce8c6dc4613825b606fd0813e50a (patch)
treee7bc61c4150300b3430ef50eb8849027aa8e752e /svx/source/customshapes/EnhancedCustomShape2d.cxx
parentb7fc939088c87249a900dfec5e8b04e4263f00e4 (diff)
INTEGRATION: CWS pj73 (1.24.162); FILE MERGED
2007/02/26 19:52:03 pjanik 1.24.162.1: #i74838#: Initialize variable to prevent warnings.
Diffstat (limited to 'svx/source/customshapes/EnhancedCustomShape2d.cxx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index bea417c61dbb..b84c9e930907 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: EnhancedCustomShape2d.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: vg $ $Date: 2006-11-21 17:06:52 $
+ * last change: $Author: obo $ $Date: 2007-03-07 13:12:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1296,7 +1296,7 @@ sal_Int32 EnhancedCustomShape2d::GetAdjustValueAsInteger( const sal_Int32 nIndex
{
if ( seqAdjustmentValues[ nIndex ].Value.getValueTypeClass() == TypeClass_DOUBLE )
{
- double fNumber;
+ double fNumber = 0;
seqAdjustmentValues[ nIndex ].Value >>= fNumber;
nNumber = (sal_Int32)fNumber;
}