diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-30 07:54:09 +0200 |
---|---|---|
committer | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-30 20:58:56 +0200 |
commit | f93a345ab5d35aadb5bbbd501df10ff2521c8104 (patch) | |
tree | a1eefd9451f5dceef83082fe645362d97618edc7 /vcl/source/gdi | |
parent | 70d3bbe11e56f12a339a5b8759b53a96b4fe84ab (diff) |
Fix typos
Change-Id: Ib737ff364f627b9e4d0dc2a9903a07a0af36a8ae
Reviewed-on: https://gerrit.libreoffice.org/76551
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/bitmap3.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/gdimetafiletools.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfextoutdevdata.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/print.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/salgdilayout.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/scrptrun.cxx | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx index 3f3f36e86112..e35636044f3f 100644 --- a/vcl/source/gdi/bitmap3.cxx +++ b/vcl/source/gdi/bitmap3.cxx @@ -884,7 +884,7 @@ void Bitmap::AdaptBitCount(Bitmap& rNew) const } default: { - OSL_ENSURE(false, "BitDepth adaption failed (!)"); + OSL_ENSURE(false, "BitDepth adaptation failed (!)"); break; } } diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx index d545d2f9eba3..6a74c4d69871 100644 --- a/vcl/source/gdi/gdimetafiletools.cxx +++ b/vcl/source/gdi/gdimetafiletools.cxx @@ -194,7 +194,7 @@ namespace aPixelPoly.transform(aTransform); // to fill the non-covered parts, use the Xor fill rule of - // tools::PolyPolygon painting. Start with a all-covering polygon and + // tools::PolyPolygon painting. Start with an all-covering polygon and // add the clip polygon one basegfx::B2DPolyPolygon aInvertPixelPoly; diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx index 1abdb5244714..2a953b7b9d03 100644 --- a/vcl/source/gdi/pdfextoutdevdata.cxx +++ b/vcl/source/gdi/pdfextoutdevdata.cxx @@ -393,7 +393,7 @@ bool PageSyncData::PlaySyncPageAct( PDFWriter& rWriter, sal_uInt32& rCurGDIMtfAc case PDFExtOutDevDataSync::BeginGroup : { /* first determining if this BeginGroup is starting a GfxLink, - by searching for a EndGroup or a EndGroupGfxLink */ + by searching for an EndGroup or an EndGroupGfxLink */ mbGroupIgnoreGDIMtfActions = false; auto isStartingGfxLink = std::any_of(mActions.begin(), mActions.end(), [](const PDFExtOutDevDataSync& rAction) { return rAction.eAct == PDFExtOutDevDataSync::EndGroupGfxLink; }); diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index fed7b1d39b28..cd8f5eac31bb 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -864,7 +864,7 @@ i12626 void pushResource( ResourceKind eKind, const OString& rResource, sal_Int32 nObject ); void appendBuildinFontsToDict( OStringBuffer& rDict ) const; - /* writes a the font dictionary and emits all font objects + /* writes the font dictionary and emits all font objects * returns object id of font directory (or 0 on error) */ bool emitFonts(); diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index c6c5bf021c67..17dc760b9d90 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -1210,7 +1210,7 @@ void Printer::SetPrinterSettingsPreferred( bool bPaperSizeFromSetup) } } -// Map user paper format to a available printer paper formats +// Map user paper format to an available printer paper format void Printer::ImplFindPaperFormatForUserSize( JobSetup& aJobSetup, bool bMatchNearest ) { ImplJobSetup& rData = aJobSetup.ImplGetData(); diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx index 22a0fb9c7137..192eaf66c373 100644 --- a/vcl/source/gdi/salgdilayout.cxx +++ b/vcl/source/gdi/salgdilayout.cxx @@ -613,7 +613,7 @@ bool SalGraphics::DrawPolyLine( // - apply rMirror (multiply from left) // - multiply with inverse of rObjectToDevice to get back from // device-coordinates to object-coordinates - // this only makes sense to do when we *have* a ObjectToDevice + // this only makes sense to do when we *have* an ObjectToDevice // transformation, so optimize that basegfx::B2DHomMatrix aLinearCombination(rObjectToDevice); basegfx::B2DHomMatrix aObjectToDeviceInv(rObjectToDevice); diff --git a/vcl/source/gdi/scrptrun.cxx b/vcl/source/gdi/scrptrun.cxx index f19e169fe93e..cee6fb27eb15 100644 --- a/vcl/source/gdi/scrptrun.cxx +++ b/vcl/source/gdi/scrptrun.cxx @@ -115,7 +115,7 @@ struct PairIndices }; -// There are three Unicode script codes for Japaneese text, but only one +// There are three Unicode script codes for Japanese text, but only one // OpenType script tag, so we want to keep them in one run as splitting is // pointless for the purpose of OpenType shaping. UScriptCode getScript(UChar32 ch, UErrorCode* status) @@ -180,7 +180,7 @@ UBool ScriptRun::next() // if it's an open character, push it onto the stack. // if it's a close character, find the matching open on the // stack, and use that script code. Any non-matching open - // characters above it on the stack will be poped. + // characters above it on the stack will be popped. if (pairIndex >= 0) { if ((pairIndex & 1) == 0) { ++parenSP; |