Kaydet (Commit) ec669293 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

This was my debug code and is no longer relevant. Let's remove this.

Change-Id: Idcf8890af737adf302866c78101dd00398397a3c
üst 97bda8e0
...@@ -127,31 +127,6 @@ namespace { ...@@ -127,31 +127,6 @@ namespace {
class theExplicitValueProviderUnoTunnelId : public rtl::Static<UnoTunnelIdInit, theExplicitValueProviderUnoTunnelId> {}; 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 class GL2DRenderer : public IRenderer
...@@ -2502,10 +2477,6 @@ void ChartView::createShapes() ...@@ -2502,10 +2477,6 @@ void ChartView::createShapes()
maTimeBased.bTimeBased = true; maTimeBased.bTimeBased = true;
} }
#if ENABLE_GL3D_BARCHART
debugGL3DOutput(mrChartModel);
#endif
//make sure add-in is refreshed after creating the shapes //make sure add-in is refreshed after creating the shapes
const ::comphelper::ScopeGuard aGuard( boost::bind( &ChartView::impl_refreshAddIn, this ) ); const ::comphelper::ScopeGuard aGuard( boost::bind( &ChartView::impl_refreshAddIn, this ) );
if( impl_AddInDrawsAllByItself() ) if( impl_AddInDrawsAllByItself() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment