oox/source/export/chartexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 23e6789dfc7c5a7cd0693fad573540519784bd91 Author: Tor Lillqvist <t...@collabora.com> Date: Fri Jun 5 17:27:01 2015 +0300 WaE: ânLocalAttachedAxisâ may be used uninitialized in this function Change-Id: I74f4c4507bbe6abe7618ca41764715b3b5c68b5b (cherry picked from commit 20d8267ac702ec6e910481c14eb46c6431a40fe9) Signed-off-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 0889275..e9200fd 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -2050,7 +2050,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); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits