From 45d1b0331bf65de11b77e97e15d50ad20c6a3c81 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 13 Feb 2013 20:32:45 +0100 Subject: oox: MSVC complains that nPlacement may be uninitialized Change-Id: If80b550af5e3dac9ae0601bd9ce0e9e5e877b254 --- oox/source/export/chartexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox') diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index ff207d38d8b3..ebeafc249784 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -2325,7 +2325,7 @@ void ChartExport::exportDataLabels( mAny >>= aLabel; namespace csscd = ::com::sun::star::chart::DataLabelPlacement; - sal_Int32 nPlacement; + sal_Int32 nPlacement(csscd::AVOID_OVERLAP); const char *aPlacement = NULL; if (GetProperty( xPropSet, "LabelPlacement")) -- cgit