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

New commits:
commit ac26b103af987f080ca14ad243033e5e0acda189
Author: Muthu Subramanian <sumu...@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 dfc08b8..da1a732 100644
--- a/oox/source/drawingml/chart/axisconverter.cxx
+++ b/oox/source/drawingml/chart/axisconverter.cxx
@@ -310,10 +310,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 );
         }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to