summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-10-02 09:57:58 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-06 19:12:42 +0000
commit7154aece1fdc3ea5049ba2d91ce929a14d139056 (patch)
treeebcc9a575a77da4984e4c6d081b25a428a9b8ae2 /drawinglayer
parent4c2339d8177d610cc23619e787c1517ce8e8afd7 (diff)
Fix typos
Change-Id: Ia6246bb6d37a0ec1ac53a4cb095bfd6fd15f873d Reviewed-on: https://gerrit.libreoffice.org/18945 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx4
-rw-r--r--drawinglayer/source/primitive2d/metafileprimitive2d.cxx12
-rw-r--r--drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx2
-rw-r--r--drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx2
-rw-r--r--drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx2
-rw-r--r--drawinglayer/source/processor2d/hittestprocessor2d.cxx2
6 files changed, 12 insertions, 12 deletions
diff --git a/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx b/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx
index f85f37259816..7f506eea8f2d 100644
--- a/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx
@@ -191,7 +191,7 @@ namespace drawinglayer
// prepare return value
Primitive2DSequence aRetval(rEntries.size() + 1);
- // get outmost viusible range from object
+ // get outmost visible range from object
basegfx::B2DRange aOutmostRange(getOutputRange());
basegfx::B2DPolyPolygon aCombinedPolyPoly;
@@ -219,7 +219,7 @@ namespace drawinglayer
for(sal_uInt32 a(0); a < rEntries.size() - 1; a++)
{
- // create next inner polygon, combinbe with last one
+ // create next inner polygon, combined with last one
basegfx::B2DPolygon aNextPoly(rUnitPolygon);
aNextPoly.transform(rEntries[a + 1].maB2DHomMatrix);
diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
index e27a5383c0cd..0f2ade107412 100644
--- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
@@ -388,7 +388,7 @@ namespace
namespace
{
- /** Helper class to buffer and hold a Primive target vector. It
+ /** Helper class to buffer and hold a Primitive target vector. It
encapsulates the new/delete functionality and allows to work
on pointers of the implementation classes. All data will
be converted to uno sequences of uno references when accessing the
@@ -953,7 +953,7 @@ namespace
{
const bool bNewActive(rClipPolyPolygon.count());
- // #i108636# The handlig of new ClipPolyPolygons was not done as good as possible
+ // #i108636# The handling of new ClipPolyPolygons was not done as good as possible
// in the first version of this interpreter; e.g. when a ClipPolyPolygon was set
// initially and then using a lot of push/pop actions, the pop always leads
// to setting a 'new' ClipPolyPolygon which indeed is the return to the ClipPolyPolygon
@@ -1309,7 +1309,7 @@ namespace
if(bDecoratedIsNeeded)
{
- // prepare overline, underline and srikeout data
+ // prepare overline, underline and strikeout data
const drawinglayer::primitive2d::TextLine eFontOverline(drawinglayer::primitive2d::mapFontUnderlineToTextLine(rFont.GetOverline()));
const drawinglayer::primitive2d::TextLine eFontUnderline(drawinglayer::primitive2d::mapFontUnderlineToTextLine(rFont.GetUnderline()));
const drawinglayer::primitive2d::TextStrikeout eTextStrikeout(drawinglayer::primitive2d::mapFontStrikeoutToTextStrikeout(rFont.GetStrikeout()));
@@ -1627,7 +1627,7 @@ namespace
creations, nor in EMF/WMF imports (checked with a whole bunch of critical EMF/WMF
bugdocs)
- For more commens, see the single action implementations.
+ For more comments, see the single action implementations.
*/
void interpretMetafile(
const GDIMetaFile& rMetaFile,
@@ -2304,7 +2304,7 @@ namespace
if(rPropertyHolders.Current().isRasterOpInvert())
{
// use a special version of FillGradientPrimitive2D which creates
- // non-overlapping geometry on decomposition to makethe old XOR
+ // non-overlapping geometry on decomposition to make the old XOR
// paint 'trick' work.
xGradient[0] = drawinglayer::primitive2d::Primitive2DReference(
new drawinglayer::primitive2d::NonOverlappingFillGradientPrimitive2D(
@@ -2880,7 +2880,7 @@ namespace
case MetaActionType::EPS :
{
/** CHECKED, WORKS WELL */
- // To support this action, i have added a EpsPrimitive2D which will
+ // To support this action, I have added a EpsPrimitive2D which will
// by default decompose to the Metafile replacement data. To support
// this EPS on screen, the renderer visualizing this has to support
// that primitive and visualize the Eps file (e.g. printing)
diff --git a/drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx b/drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx
index ac0f751f4546..c4fd3f03d105 100644
--- a/drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx
@@ -51,7 +51,7 @@ namespace drawinglayer
if(basegfx::fTools::more(aScale.getX(), 0.0) && basegfx::fTools::more(aScale.getY(), 0.0))
{
- // check if content overlaps with tageted size and needs to be embedded with a
+ // check if content overlaps with target size and needs to be embedded with a
// clipping primitive
const basegfx::B2DRange aRealContentRange(getB2DRangeFromPrimitive2DSequence(aContent, rViewInformation));
const basegfx::B2DRange aAllowedContentRange(0.0, 0.0, getContentWidth(), getContentHeight());
diff --git a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
index eeb04d02f024..93e9ba1f0450 100644
--- a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
@@ -172,7 +172,7 @@ namespace drawinglayer
else
{
// no split, was already a single word. Continue to
- // decompse local entity
+ // decompose local entity
}
}
std::vector< Primitive2DReference > aNewPrimitives;
diff --git a/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx b/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
index 497d21abb6a0..1e594a0b8daa 100644
--- a/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
@@ -594,7 +594,7 @@ namespace drawinglayer
basegfx::B3DPolyPolygon aEdgeRounding;
sal_uInt32 a;
- // tetxture parameters
+ // texture parameters
double fInvTexHeight(1.0);
::std::vector<double> aTexHeightArray;
basegfx::B3DRange aTexRangeFront;
diff --git a/drawinglayer/source/processor2d/hittestprocessor2d.cxx b/drawinglayer/source/processor2d/hittestprocessor2d.cxx
index d71d42e067c9..9d7bb4bc247d 100644
--- a/drawinglayer/source/processor2d/hittestprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/hittestprocessor2d.cxx
@@ -528,7 +528,7 @@ namespace drawinglayer
// will be used for HitTest currently.
//
// This may be refined in the future, e.g:
- // - For Bitamps, the mask and/or transparence information may be used
+ // - For Bitmaps, the mask and/or transparence information may be used
// - For MetaFiles, the MetaFile content may be used
const basegfx::B2DRange aRange(rCandidate.getB2DRange(getViewInformation2D()));