summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-06-05 17:27:01 +0300
committerTor Lillqvist <tml@collabora.com>2015-06-05 17:27:01 +0300
commit20d8267ac702ec6e910481c14eb46c6431a40fe9 (patch)
tree3523129eb8164af18c06ae1ff3a7fedd9596c5da /oox
parent2f6a06856ad8df0c11a112d1e457b408e9a7af1d (diff)
WaE: ‘nLocalAttachedAxis’ may be used uninitialized in this function
Change-Id: I74f4c4507bbe6abe7618ca41764715b3b5c68b5b
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index f0911267ec3b..fb27c777728b 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2046,7 +2046,7 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType,
Reference<XPropertySet> xPropSet(xDataSeries, UNO_QUERY_THROW);
if( GetProperty( xPropSet, "AttachedAxisIndex") )
{
- sal_Int32 nLocalAttachedAxis;
+ sal_Int32 nLocalAttachedAxis = 0;
mAny >>= nLocalAttachedAxis;
rAttachedAxis = translateFromChart2AxisIndexToOox(nLocalAttachedAxis);
}