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

New commits:
commit 45d1b0331bf65de11b77e97e15d50ad20c6a3c81
Author: Michael Stahl <mst...@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"))
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to