oox/source/drawingml/chart/plotareaconverter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9403a3fe41aa7203d2769d54de5f70c49f42d880
Author: Markus Mohrhard <markus.mohrh...@collabora.co.uk>
Date:   Wed Mar 12 02:59:48 2014 +0100

    MSO writes broken files, fdo#74929
    
    Change-Id: Iec545fc2a7ec61f6d4678398f22878c9f31a450d

diff --git a/oox/source/drawingml/chart/plotareaconverter.cxx 
b/oox/source/drawingml/chart/plotareaconverter.cxx
index eaa51e0..8a81e6d 100644
--- a/oox/source/drawingml/chart/plotareaconverter.cxx
+++ b/oox/source/drawingml/chart/plotareaconverter.cxx
@@ -333,7 +333,7 @@ void PlotAreaConverter::convertFromModel( View3DModel& 
rView3DModel )
         PlotAreaModel::AxisVector::value_type xAxis = *aAIt;
         OSL_ENSURE( xAxis->mnAxisId >= 0, "PlotAreaConverter::convertFromModel 
- invalid axis identifier" );
         OSL_ENSURE( !aAxisMap.has( xAxis->mnAxisId ), 
"PlotAreaConverter::convertFromModel - axis identifiers not unique" );
-        if( xAxis->mnAxisId >= 0 )
+        if( xAxis->mnAxisId != -1 )
             aAxisMap[ xAxis->mnAxisId ] = xAxis;
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to