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

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Dec 15 14:09:08 PST 2013


 oox/source/export/chartexport.cxx |  120 +++++++++++++++++++-------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

New commits:
commit 950fc08a5fba9f14bdfa55240cca14151eecd137
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Dec 15 23:07:57 2013 +0100

    fix indentation
    
    Change-Id: Ide951bb2c7e06d8c16e6f07200901e5112be3524

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 0bbbef6..3447f2d 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1004,66 +1004,66 @@ void ChartExport::exportPlotArea( )
             // note: if xDSCnt.is() then also aCTSeq[nCTIdx]
             OUString aChartType( xChartType->getChartType());
             sal_Int32 eChartType = lcl_getChartType( aChartType );
-    switch( eChartType )
-    {
-        case chart::TYPEID_BAR:
-        {
-            exportBarChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_AREA:
-        {
-            exportAreaChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_LINE:
-        {
-            exportLineChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_BUBBLE:
-        {
-            exportBubbleChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_OFPIE:
-        {
-            exportOfPieChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_DOUGHNUT:
-        case chart::TYPEID_PIE:
-        {
-            exportPieChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_RADARLINE:
-        case chart::TYPEID_RADARAREA:
-        {
-            exportRadarChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_SCATTER:
-        {
-            exportScatterChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_STOCK:
-        {
-            exportStockChart( xChartType );
-            break;
-        }
-        case chart::TYPEID_SURFACE:
-        {
-            exportSuffaceChart( xChartType );
-            break;
-        }
-        default:
-        {
-            OSL_TRACE("ChartExport::exportPlotArea -- not support chart type");
-            break;
-        }
-    }
+            switch( eChartType )
+            {
+                case chart::TYPEID_BAR:
+                    {
+                        exportBarChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_AREA:
+                    {
+                        exportAreaChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_LINE:
+                    {
+                        exportLineChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_BUBBLE:
+                    {
+                        exportBubbleChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_OFPIE:
+                    {
+                        exportOfPieChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_DOUGHNUT:
+                case chart::TYPEID_PIE:
+                    {
+                        exportPieChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_RADARLINE:
+                case chart::TYPEID_RADARAREA:
+                    {
+                        exportRadarChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_SCATTER:
+                    {
+                        exportScatterChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_STOCK:
+                    {
+                        exportStockChart( xChartType );
+                        break;
+                    }
+                case chart::TYPEID_SURFACE:
+                    {
+                        exportSuffaceChart( xChartType );
+                        break;
+                    }
+                default:
+                    {
+                        OSL_TRACE("ChartExport::exportPlotArea -- not support chart type");
+                        break;
+                    }
+            }
 
         }
     }


More information about the Libreoffice-commits mailing list