[Libreoffice-commits] core.git: emfio/source vcl/win
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 24 16:49:41 UTC 2021
emfio/source/reader/mtftools.cxx | 6 +++---
vcl/win/gdi/gdiimpl.cxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit a7e3451ce1c8bcce2d7e5db46a253aacb59e4ca3
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Feb 24 13:17:32 2021 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Feb 24 17:48:57 2021 +0100
Fix typos
Change-Id: If005139571e46fbf8aedb37e2626c54a43853fd5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111483
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index e64bb488a458..7ea5b7969c52 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -369,7 +369,7 @@ namespace emfio
// check 2nd (system-dependent) criteria for FontScale
if(nUnscaledAverageFontWidth != rCandidate.GetFontHeight())
{
- // FontScale is active, remrmber and use as current
+ // FontScale is active, remember and use as current
maCurrentMetaFontAction = rNewMetaFontAction;
}
}
@@ -427,8 +427,8 @@ namespace emfio
// an import of an old EMF/WMF written by LibreOffice on a non-Windows (unx) system
// and should be corrected.
// Usually in tested cases this lies inside 5% of range, so detecting this just using
- // fFactorTextPercent indside 5% -> no old file
- // fFactorCorrectedTextPercent indside 5% -> is old file
+ // fFactorTextPercent inside 5% -> no old file
+ // fFactorCorrectedTextPercent inside 5% -> is old file
// works not too bad, but there are some strange not so often used fonts where that
// values do deviate, so better just compare if old corrected would fit better than
// the uncorrected case, that is usually safe.
diff --git a/vcl/win/gdi/gdiimpl.cxx b/vcl/win/gdi/gdiimpl.cxx
index cedd5f42a802..2da6be7d6847 100644
--- a/vcl/win/gdi/gdiimpl.cxx
+++ b/vcl/win/gdi/gdiimpl.cxx
@@ -725,7 +725,7 @@ void WinSalGraphicsImpl::drawBitmap( const SalTwoRect& rPosAry,
ImplDrawBitmap( hMaskDC.get(), aPosAry, rSalBitmap, false, SRCERASE );
// now MaskDC contains the bitmap area with black background
BitBlt( hMemDC.get(), 0, 0, nDstWidth, nDstHeight, hMaskDC.get(), 0, 0, SRCINVERT );
- // now MemDC contains background XORed bitmap area ontop
+ // now MemDC contains background XORed bitmap area on top
}
else
{
More information about the Libreoffice-commits
mailing list