[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - oox/source

Muthu Subramanian sumuthu at collabora.com
Sun Sep 22 09:29:36 PDT 2013


 oox/source/drawingml/chart/axisconverter.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 63eafc88befd398e0ee94a94aff945712a179d48
Author: Muthu Subramanian <sumuthu at collabora.com>
Date:   Wed Sep 11 21:41:43 2013 +0530

    n#834720: Labels wrongly interpreted as dates.
    
    If the numFormat is available we should probably use that.

diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx
index ba01c52..7feb6c9 100644
--- a/oox/source/drawingml/chart/axisconverter.cxx
+++ b/oox/source/drawingml/chart/axisconverter.cxx
@@ -307,10 +307,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo
         {
             bool bPercent = false;
             if( mrModel.maNumberFormat.maFormatCode.indexOf('%') >= 0)
-            {
-                mrModel.maNumberFormat.mbSourceLinked = false;
                 bPercent = true;
-            }
+            mrModel.maNumberFormat.mbSourceLinked = false;
             getFormatter().convertNumberFormat( aAxisProp, mrModel.maNumberFormat, bPercent );
         }
 


More information about the Libreoffice-commits mailing list