[Libreoffice-commits] core.git: oox/source

Michael Stahl mstahl at redhat.com
Wed Feb 13 11:42:16 PST 2013


 oox/source/export/chartexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 45d1b0331bf65de11b77e97e15d50ad20c6a3c81
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Feb 13 20:32:45 2013 +0100

    oox: MSVC complains that nPlacement may be uninitialized
    
    Change-Id: If80b550af5e3dac9ae0601bd9ce0e9e5e877b254

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index ff207d3..ebeafc2 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"))


More information about the Libreoffice-commits mailing list