summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-05 10:24:34 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-06 16:15:04 +0100
commitd76b50a0883451c6c92618f06ecbd7d5232d79d7 (patch)
tree49119c6d29805bef8e344e7f4a51bb02b129abd2 /chart2
parent09ada722c867cba72cc9ae256b6dd54aed0d8aed (diff)
small clean-up
Change-Id: I2bc4ff6f559eec11bcd48298e1147dbed96ee558
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/DummyXShape.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index 9e957d21a725..4cb2c7ab8e4e 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -347,8 +347,10 @@ DummyPieSegment2D::DummyPieSegment2D(double fUnitCircleStartAngleDegree, double
maUnitCircleToScene(rUnitCircleToScene)
{
}
+
void DummyPieSegment2D::render()
{
+ SAL_WARN("chart2.opengl", "render DummyPieSegment2D");
DummyChart* pChart = getRootShape();
while(mfUnitCircleWidthAngleDegree>360)
@@ -425,7 +427,6 @@ void DummyArea2D::render()
pChart->m_GLRender.SetColor(nColor);
}
- //render the shape
pChart->m_GLRender.RenderArea2DShape();
}
@@ -470,8 +471,6 @@ void DummyCircle::render()
SAL_WARN("chart2.opengl", "missing color");
pChart->m_GLRender.Bubble2DShapePoint(maPosition.X, maPosition.Y,
maSize.Width, maSize.Height);
- SAL_WARN("chart2.opengl", "Bubble Position: " << maPosition.X << "," << maPosition.Y);
- SAL_WARN("chart2.opengl", "Bubble Size: " << maSize.Width << "," << maSize.Height);
pChart->m_GLRender.RenderBubble2FBO(GL_TRUE);
}
@@ -618,7 +617,6 @@ void DummyRectangle::render()
std::map< OUString, uno::Any >::const_iterator itr = maProperties.find("Invisible");
if(itr != maProperties.end())
{
- SAL_WARN("chart2.opengl", "invisble");
return;
}