summaryrefslogtreecommitdiff
path: root/vcl/opengl/RenderList.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:12:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-19 21:34:46 +0200
commit3aef606f2758172a27718a06fea0ff9080e4d80f (patch)
treead323c90301d80bbb3b68163d8b87e5402b687ed /vcl/opengl/RenderList.cxx
parent5afba3e12c8d4eb1ebb8e087134eb87593bb017a (diff)
use tools::Long in vcl
Change-Id: Ice1055021e8568634e9a66ba89d3bb4ef4e731df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104522 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/opengl/RenderList.cxx')
-rw-r--r--vcl/opengl/RenderList.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/opengl/RenderList.cxx b/vcl/opengl/RenderList.cxx
index 8ba437f924c3..1d78b9d499b6 100644
--- a/vcl/opengl/RenderList.cxx
+++ b/vcl/opengl/RenderList.cxx
@@ -195,7 +195,7 @@ void appendRectangle(std::vector<Vertex>& rVertices, std::vector<GLuint>& rIndic
} // end anonymous namespace
-void RenderList::addDrawPixel(long nX, long nY, Color nColor)
+void RenderList::addDrawPixel(tools::Long nX, tools::Long nY, Color nColor)
{
if (nColor == SALCOLOR_NONE)
return;
@@ -207,7 +207,7 @@ void RenderList::addDrawPixel(long nX, long nY, Color nColor)
nX - 0.5f, nY - 0.5f, nX + 0.5f, nY + 0.5f, nColor, 0.0f);
}
-void RenderList::addDrawRectangle(long nX, long nY, long nWidth, long nHeight, double fTransparency,
+void RenderList::addDrawRectangle(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, double fTransparency,
Color nLineColor, Color nFillColor)
{
if (nLineColor == SALCOLOR_NONE && nFillColor == SALCOLOR_NONE)
@@ -257,7 +257,7 @@ void RenderList::addDrawRectangle(long nX, long nY, long nWidth, long nHeight, d
fX1 + 0.5f, fY1 + 0.5f, fX2 - 0.5f, fY2 - 0.5f, nFillColor, fTransparency);
}
-void RenderList::addDrawLine(long nX1, long nY1, long nX2, long nY2, Color nLineColor, bool bUseAA)
+void RenderList::addDrawLine(tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2, Color nLineColor, bool bUseAA)
{
if (nLineColor == SALCOLOR_NONE)
return;