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

Kohei Yoshida kohei.yoshida at collabora.com
Tue Aug 5 11:29:41 PDT 2014


 chart2/source/view/main/ChartView.cxx |   29 -----------------------------
 1 file changed, 29 deletions(-)

New commits:
commit ec66929352294861c28fd160912166acab89be66
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Tue Aug 5 14:28:40 2014 -0400

    This was my debug code and is no longer relevant.  Let's remove this.
    
    Change-Id: Idcf8890af737adf302866c78101dd00398397a3c

diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index f904639..9086abc 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -127,31 +127,6 @@ namespace {
 
 class theExplicitValueProviderUnoTunnelId  : public rtl::Static<UnoTunnelIdInit, theExplicitValueProviderUnoTunnelId> {};
 
-#if ENABLE_GL3D_BARCHART
-
-/**
- * Only used for initial debugging of the new GL chart (until we can
- * visualize it).
- */
-void debugGL3DOutput( ChartModel& rModel )
-{
-    uno::Reference<XDiagram> xDiagram = rModel.getFirstDiagram();
-    if (!xDiagram.is())
-        return;
-
-    try
-    {
-        uno::Reference<beans::XPropertySet> xPropSet(xDiagram, uno::UNO_QUERY_THROW);
-        bool bRoundedEdge = false;
-        xPropSet->getPropertyValue(CHART_UNONAME_ROUNDED_EDGE) >>= bRoundedEdge;
-
-        SAL_INFO("chart2.barchart3D", "GL3D: rounded edge = " << bRoundedEdge);
-    }
-    catch (...) {}
-}
-
-#endif
-
 }
 
 class GL2DRenderer : public IRenderer
@@ -2502,10 +2477,6 @@ void ChartView::createShapes()
         maTimeBased.bTimeBased = true;
     }
 
-#if ENABLE_GL3D_BARCHART
-    debugGL3DOutput(mrChartModel);
-#endif
-
     //make sure add-in is refreshed after creating the shapes
     const ::comphelper::ScopeGuard aGuard( boost::bind( &ChartView::impl_refreshAddIn, this ) );
     if( impl_AddInDrawsAllByItself() )


More information about the Libreoffice-commits mailing list