Kaydet (Commit) 20d8267a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: ‘nLocalAttachedAxis’ may be used uninitialized in this function

Change-Id: I74f4c4507bbe6abe7618ca41764715b3b5c68b5b
üst 2f6a0685
...@@ -2046,7 +2046,7 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType, ...@@ -2046,7 +2046,7 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType,
Reference<XPropertySet> xPropSet(xDataSeries, UNO_QUERY_THROW); Reference<XPropertySet> xPropSet(xDataSeries, UNO_QUERY_THROW);
if( GetProperty( xPropSet, "AttachedAxisIndex") ) if( GetProperty( xPropSet, "AttachedAxisIndex") )
{ {
sal_Int32 nLocalAttachedAxis; sal_Int32 nLocalAttachedAxis = 0;
mAny >>= nLocalAttachedAxis; mAny >>= nLocalAttachedAxis;
rAttachedAxis = translateFromChart2AxisIndexToOox(nLocalAttachedAxis); rAttachedAxis = translateFromChart2AxisIndexToOox(nLocalAttachedAxis);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment