summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-18 10:37:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-18 11:34:22 +0200
commit80363950fda5eeef9830f61e57899d1805c91751 (patch)
tree3674af04b0c4dd9847b423fc472b66a5ce754f6b /vcl/opengl
parentac1081170c5bc2234b14ce99b7ea8e583bac82b5 (diff)
Acknowledge that WinSalGraphicsImpl::drawPolyLine modifies pPtAry
Change-Id: Idde44857f8ace883cc759321c71e2ca7a4359334 Reviewed-on: https://gerrit.libreoffice.org/42406 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index f3d4f6925cef..4a0153caf509 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -1544,7 +1544,7 @@ void OpenGLSalGraphicsImpl::drawRect( long nX, long nY, long nWidth, long nHeigh
PostBatchDraw();
}
-void OpenGLSalGraphicsImpl::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry )
+void OpenGLSalGraphicsImpl::drawPolyLine( sal_uInt32 nPoints, SalPoint* pPtAry )
{
VCL_GL_INFO("::drawPolyLine legacy -> redirecting to drawPolyLine");
basegfx::B2DPolygon aPoly;