[Libreoffice-commits] core.git: oox/source
Tor Lillqvist
tml at collabora.com
Fri Jun 5 07:27:43 PDT 2015
oox/source/export/chartexport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 20d8267ac702ec6e910481c14eb46c6431a40fe9
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Jun 5 17:27:01 2015 +0300
WaE: ‘nLocalAttachedAxis’ may be used uninitialized in this function
Change-Id: I74f4c4507bbe6abe7618ca41764715b3b5c68b5b
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index f091126..fb27c77 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);
}
More information about the Libreoffice-commits
mailing list