[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - oox/source
Tor Lillqvist
tml at collabora.com
Tue Dec 8 06:01:12 PST 2015
oox/source/export/chartexport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 23e6789dfc7c5a7cd0693fad573540519784bd91
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
(cherry picked from commit 20d8267ac702ec6e910481c14eb46c6431a40fe9)
Signed-off-by: Stephan Bergmann <sbergman at 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);
}
More information about the Libreoffice-commits
mailing list