[Libreoffice-commits] core.git: basegfx/source drawinglayer/inc drawinglayer/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 30 06:19:28 UTC 2020
basegfx/source/polygon/b2dpolygontools.cxx | 2 +-
drawinglayer/inc/wmfemfhelper.hxx | 6 +++---
drawinglayer/source/tools/wmfemfhelper.cxx | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 47d437dfb017bd6bebe2dee4cb1b267d9a3325ed
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 29 19:20:31 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Aug 30 08:18:42 2020 +0200
Fix typo in code
Change-Id: If6683cd134e9bd675ec9b6f9a59fa667ebb41da0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101647
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index fa772be9e199..720fb7a10e23 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -3384,7 +3384,7 @@ namespace basegfx::utils
SAL_WARN_IF(ePolygonFlag == css::drawing::PolygonFlags_CONTROL || bControlA != bControlB,
"basegfx", "UnoPolygonBezierCoordsToB2DPolygon: Illegal source polygon (!)");
- // the previous writes used the B2DPolyPoygon -> utils::PolyPolygon converter
+ // the previous writes used the B2DPolyPolygon -> utils::PolyPolygon converter
// which did not create minimal PolyPolygons, but created all control points
// as null vectors (identical points). Because of the former P(CA)(CB)-norm of
// B2DPolygon and it's unused sign of being the zero-vector and CA and CB being
diff --git a/drawinglayer/inc/wmfemfhelper.hxx b/drawinglayer/inc/wmfemfhelper.hxx
index 214d2a5d785c..7b643bf5e36c 100644
--- a/drawinglayer/inc/wmfemfhelper.hxx
+++ b/drawinglayer/inc/wmfemfhelper.hxx
@@ -96,7 +96,7 @@ namespace wmfemfhelper
basegfx::BColor maOverlineColor;
/// clipping
- basegfx::B2DPolyPolygon maClipPolyPoygon;
+ basegfx::B2DPolyPolygon maClipPolyPolygon;
/// font, etc.
vcl::Font maFont;
@@ -154,8 +154,8 @@ namespace wmfemfhelper
bool getOverlineColorActive() const { return mbOverlineColor; }
void setOverlineColorActive(bool bNew) { if (bNew != mbOverlineColor) mbOverlineColor = bNew; }
- const basegfx::B2DPolyPolygon& getClipPolyPolygon() const { return maClipPolyPoygon; }
- void setClipPolyPolygon(const basegfx::B2DPolyPolygon& rNew) { if (rNew != maClipPolyPoygon) maClipPolyPoygon = rNew; }
+ const basegfx::B2DPolyPolygon& getClipPolyPolygon() const { return maClipPolyPolygon; }
+ void setClipPolyPolygon(const basegfx::B2DPolyPolygon& rNew) { if (rNew != maClipPolyPolygon) maClipPolyPolygon = rNew; }
bool getClipPolyPolygonActive() const { return mbClipPolyPolygonActive; }
void setClipPolyPolygonActive(bool bNew) { if (bNew != mbClipPolyPolygonActive) mbClipPolyPolygonActive = bNew; }
diff --git a/drawinglayer/source/tools/wmfemfhelper.cxx b/drawinglayer/source/tools/wmfemfhelper.cxx
index e74135c66170..7fd3d8c9a2a8 100644
--- a/drawinglayer/source/tools/wmfemfhelper.cxx
+++ b/drawinglayer/source/tools/wmfemfhelper.cxx
@@ -123,7 +123,7 @@ namespace wmfemfhelper
maTextFillColor(),
maTextLineColor(),
maOverlineColor(),
- maClipPolyPoygon(),
+ maClipPolyPolygon(),
maFont(),
maRasterOp(RasterOp::OverPaint),
mnLayoutMode(ComplexTextLayoutFlags::Default),
More information about the Libreoffice-commits
mailing list