Kaydet (Commit) 6a515ca1 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

does not need to be a member variable

Change-Id: Ib5b61f724c9df974d02875cde76079094cb59c38
üst ccbaca29
......@@ -940,7 +940,6 @@ OpenGLRender::OpenGLRender(uno::Reference< drawing::XShape > xTarget):
memset(&m_Bubble2DPointList, 0, sizeof(m_Bubble2DPointList));
memset(&m_Bubble2DCircle, 0, sizeof(m_Bubble2DCircle));
memset(&m_TextInfo, 0, sizeof(TextInfo));
memset(&m_RectangleList, 0, sizeof(RectanglePointList));
m_iArbMultisampleFormat = 0;
......@@ -1347,13 +1346,13 @@ int OpenGLRender::RectangleShapePoint(float x, float y, float directionX, float
//check whether to create the circle data
float actualX = x / OPENGL_SCALE_VALUE;
float actualY = y / OPENGL_SCALE_VALUE;
m_RectangleList.x = actualX;
m_RectangleList.y = actualY;
m_RectangleList.z = m_fZStep;
m_RectangleList.xScale = directionX / OPENGL_SCALE_VALUE;
m_RectangleList.yScale = directionY / OPENGL_SCALE_VALUE;
RectanglePointList aRectangleList.x = actualX;
aRectangleList.y = actualY;
aRectangleList.z = m_fZStep;
aRectangleList.xScale = directionX / OPENGL_SCALE_VALUE;
aRectangleList.yScale = directionY / OPENGL_SCALE_VALUE;
m_RectangleShapePointList.push_back(m_RectangleList);
m_RectangleShapePointList.push_back(aRectangleList);
return 0;
}
......
......@@ -278,8 +278,6 @@ private:
float m_fAlpha;
RectanglePointList m_RectangleList;
std::list <RectanglePointList> m_RectangleShapePointList;
// add for text
TextInfo m_TextInfo;
......
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