summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drawinglayer/source/tools/emfphelperdata.cxx4
-rw-r--r--editeng/source/editeng/editobj.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/tools/emfphelperdata.cxx b/drawinglayer/source/tools/emfphelperdata.cxx
index 0aac3e95f6f5..8528bcfbbfe1 100644
--- a/drawinglayer/source/tools/emfphelperdata.cxx
+++ b/drawinglayer/source/tools/emfphelperdata.cxx
@@ -517,7 +517,7 @@ namespace emfplushelper
}
// get the polygon range to be able to map the start/end/center point correctly
- // threrefore, create a mapping and invert it
+ // therefore, create a mapping and invert it
basegfx::B2DRange aPolygonRange= polygon.getB2DRange();
basegfx::B2DHomMatrix aPolygonTransformation = basegfx::tools::createScaleTranslateB2DHomMatrix(
aPolygonRange.getWidth(),aPolygonRange.getHeight(),
@@ -555,7 +555,7 @@ namespace emfplushelper
aVector,
aCenterPoint,
0.5, // relative radius
- true, // use UnitCoordinates to strectch the gradient
+ true, // use UnitCoordinates to stretch the gradient
drawinglayer::primitive2d::SpreadMethod::Repeat,
nullptr));
}
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index 8b459e3dae68..14eebcfbcf45 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -1185,7 +1185,7 @@ void EditTextObjectImpl::CreateData( SvStream& rIStream )
// And the individual attributes
// Items as Surrogate => always 8 bytes per Attributes
- // Which = 2; Surregat = 2; Start = 2; End = 2;
+ // Which = 2; Surrogate = 2; Start = 2; End = 2;
for (size_t nAttr = 0; nAttr < nAttribs; ++nAttr)
{
sal_uInt16 _nWhich(0), nStart(0), nEnd(0);