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

Markus Mohrhard markus.mohrhard at collabora.co.uk
Tue Mar 11 19:02:38 PDT 2014


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

New commits:
commit 372ca2ce06cc940b5da0b4653776cfebc2733d40
Author: Markus Mohrhard <markus.mohrhard at 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 54519d7..b405a9c 100644
--- a/oox/source/drawingml/chart/plotareaconverter.cxx
+++ b/oox/source/drawingml/chart/plotareaconverter.cxx
@@ -355,7 +355,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;
     }
 


More information about the Libreoffice-commits mailing list