summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-08-05 14:28:40 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-08-05 14:29:25 -0400
commitec66929352294861c28fd160912166acab89be66 (patch)
treebed499204f26ffef3ac3792ae2f6ecadd444afe0 /chart2
parent97bda8e081fd746e9ef743b165b5bf621fc21fbb (diff)
This was my debug code and is no longer relevant. Let's remove this.
Change-Id: Idcf8890af737adf302866c78101dd00398397a3c
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/ChartView.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index f90463978970..9086abc46295 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() )