summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rwxr-xr-xchart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx
index 658a9af83ac5..64773ad062f9 100755
--- a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx
@@ -279,7 +279,7 @@ void WrappedScaleProperty::setPropertyValue( tScaleProperty eScaleProperty, cons
}
case SCALE_PROP_AXIS_TYPE:
{
- sal_Int32 nType;
+ sal_Int32 nType = 0;
if( (rOuterValue >>= nType) )
{
if( ::com::sun::star::chart::ChartAxisType::AUTOMATIC == nType )