summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-26 11:37:23 +0100
committerJens Carl <j.carl43@gmx.de>2018-01-27 08:45:03 +0100
commit72c68a3d1768ea2e05671aee3b2a0db8d87c9e86 (patch)
tree427d070add01976520c546f56e373d6d903c97f8 /vcl
parentba8c04a6fc7d1931b4417af99aa0b45091747d83 (diff)
Fix typos
Change-Id: I914ac70f39028caebafb874e871f11017fda7795 Reviewed-on: https://gerrit.libreoffice.org/48682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/print/common_gfx.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/generic/print/common_gfx.cxx b/vcl/unx/generic/print/common_gfx.cxx
index 0bd2ffa2ea82..85984e835736 100644
--- a/vcl/unx/generic/print/common_gfx.cxx
+++ b/vcl/unx/generic/print/common_gfx.cxx
@@ -500,7 +500,7 @@ PrinterGfx::DrawPolyLineBezier (sal_uInt32 nPoints, const Point* pPath, const Po
else //Otherwise we're drawing a spline
{
if (i+2 >= nPoints)
- return; //Error: wrong sequence of contol/normal points somehow
+ return; //Error: wrong sequence of control/normal points somehow
if ((pFlgAry[i] == PolyFlags::Control) && (pFlgAry[i+1] == PolyFlags::Control) &&
(pFlgAry[i+2] != PolyFlags::Control))
{
@@ -545,7 +545,7 @@ PrinterGfx::DrawPolygonBezier (sal_uInt32 nPoints, const Point* pPath, const Pol
else
{
if (i+2 >= nPoints)
- return; //Error: wrong sequence of contol/normal points somehow
+ return; //Error: wrong sequence of control/normal points somehow
if ((pFlgAry[i] == PolyFlags::Control) && (pFlgAry[i+1] == PolyFlags::Control) &&
(pFlgAry[i+2] != PolyFlags::Control))
{
@@ -609,7 +609,7 @@ PrinterGfx::DrawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 * pPoints,
else
{
if (j+2 >= nPoints)
- break; //Error: wrong sequence of contol/normal points somehow
+ break; //Error: wrong sequence of control/normal points somehow
if ((pFlgAry[i][j] == PolyFlags::Control) && (pFlgAry[i][j+1] == PolyFlags::Control) && (pFlgAry[i][j+2] != PolyFlags::Control))
{
snprintf(pString, nBezString, "%li %li %li %li %li %li curveto\n",