oox: MSVC complains that nPlacement may be uninitialized

Change-Id: If80b550af5e3dac9ae0601bd9ce0e9e5e877b254
This commit is contained in:
Michael Stahl
2013-02-13 20:32:45 +01:00
parent a45b42b801
commit 45d1b0331b

View File

@@ -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"))