summaryrefslogtreecommitdiff
path: root/chart2/source/controller
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller')
-rw-r--r--chart2/source/controller/main/ConfigurationAccess.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ConfigurationAccess.cxx b/chart2/source/controller/main/ConfigurationAccess.cxx
index a6b54f803c19..1fc3968c5ea3 100644
--- a/chart2/source/controller/main/ConfigurationAccess.cxx
+++ b/chart2/source/controller/main/ConfigurationAccess.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ConfigurationAccess.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2007-05-22 18:06:47 $
+ * last change: $Author: hr $ $Date: 2007-08-03 12:35:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -98,7 +98,7 @@ FieldUnit CalcConfigItem::getFieldUnit()
aNames[ 0 ] = ::rtl::OUString( C2U( "Other/MeasureUnit/NonMetric" ));
uno::Sequence< uno::Any > aResult( GetProperties( aNames ));
- sal_Int32 nValue;
+ sal_Int32 nValue = 0;
if( aResult[ 0 ] >>= nValue )
eResult = static_cast< FieldUnit >( nValue );