summaryrefslogtreecommitdiffstats
path: root/oox
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-13 20:32:45 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-13 20:40:22 +0100
commit45d1b0331bf65de11b77e97e15d50ad20c6a3c81 (patch)
treef89c37f1d3be6c86bc392da2dfecb2aea376a783 /oox
parentdon't use -notimestanp when using gjdoc as javadoc (diff)
downloadcore-45d1b0331bf65de11b77e97e15d50ad20c6a3c81.tar.gz
core-45d1b0331bf65de11b77e97e15d50ad20c6a3c81.zip
oox: MSVC complains that nPlacement may be uninitialized
Change-Id: If80b550af5e3dac9ae0601bd9ce0e9e5e877b254
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 1 insertions, 1 deletions
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"))