summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-01 22:13:43 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-29 08:09:27 +0100
commit1d7ffd16592580419be2e63d812fce081a7191d1 (patch)
treeb83ef10010a67ffdeefeaa5e0cd846a0be392f30 /chart2
parente48cf6cd50051cae5c029138bbab736c6a22ad27 (diff)
add more debug output
Change-Id: Ib9454f6fec6988899161e59c066fcc384e286200
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/DummyXShape.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index c11e57d5f06b..7ac6363318ad 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -372,7 +372,8 @@ DummyCircle::DummyCircle(const awt::Point& rPos, const awt::Size& rSize)
void DummyCircle::render()
{
debugProperties(maProperties);
- std::map<OUString, uno::Any> itr = maProperties.find("FillColor");
+ DummyChart* pChart = getRootShape();
+ std::map<OUString, uno::Any>::const_iterator itr = maProperties.find("FillColor");
if(itr != maProperties.end())
{
sal_Int32 nColor = itr->second.get<sal_Int32>();
@@ -380,10 +381,10 @@ void DummyCircle::render()
}
else
SAL_WARN("chart2.opengl", "missing color");
- long color = 0x3465AF;
- DummyChart* pChart = getRootShape();
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);
}