From b8a1165c514645d93333a5d2b5e40df43feb47a9 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 28 Aug 2026 00:10:53 +0200 Subject: [PATCH] Fix typos Change-Id: I136a2e9615d41944a1eadb4915fb7f2950ad4e58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210211 Reviewed-by: Julien Nabet Tested-by: Jenkins --- vcl/headless/CairoCommon.cxx | 2 +- vcl/inc/accessibility/vclxaccessibletextfield.hxx | 4 ++-- vcl/inc/font/FontMetricData.hxx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx index aa8540cf7f00..c277b05227cf 100644 --- a/vcl/headless/CairoCommon.cxx +++ b/vcl/headless/CairoCommon.cxx @@ -1766,7 +1766,7 @@ void CairoCommon::drawMask(const SalTwoRect& rTR, const SalBitmap& rSalBitmap, C bool bAntiAlias) { /** creates an image from the given rectangle, replacing all black pixels - * with nMaskColor and make all other full transparent */ + * with nMaskColor and making all others fully transparent */ // MM02 here decided *against* using buffered BitmapHelper // because the data gets somehow 'unmultiplied'. This may also be // done just once, but I am not sure if this is safe to do. diff --git a/vcl/inc/accessibility/vclxaccessibletextfield.hxx b/vcl/inc/accessibility/vclxaccessibletextfield.hxx index 8e80df7f688e..908d2b930fd3 100644 --- a/vcl/inc/accessibility/vclxaccessibletextfield.hxx +++ b/vcl/inc/accessibility/vclxaccessibletextfield.hxx @@ -24,8 +24,8 @@ #include #include -/** This class represents non editable text fields. - From the ListBox passed to the constructor, always the selected item is token to be made +/** This class represents non-editable text fields. + From the ListBox passed to the constructor, always the selected item is taken to be made accessible by this class. When the selected item changes then also the exported text changes. */ diff --git a/vcl/inc/font/FontMetricData.hxx b/vcl/inc/font/FontMetricData.hxx index 79156b3d57f1..bcf578561f7b 100644 --- a/vcl/inc/font/FontMetricData.hxx +++ b/vcl/inc/font/FontMetricData.hxx @@ -120,7 +120,7 @@ private: tools::Long mnExtLeading; // External Leading int mnSlant; // Slant (Italic/Oblique) double mnMinKashida; // Minimal width of kashida (Arabic) - tools::Long mnHangingBaseline; // Offset of hanging baseline to Romn baseline + tools::Long mnHangingBaseline; // Offset of hanging baseline to Roman baseline double mdEmSize; // Size of an 'em' double mdHorCJKAdvanceSize; // Size of an 'ic' in horizontal text double mdVertCJKAdvanceSize; // Size of an 'ic' in vertical text @@ -146,8 +146,8 @@ private: tools::Long mnAboveDUnderlineSize; // Height of double underline (for Vertical Right) tools::Long mnAboveDUnderlineOffset1; // Offset from double underline to baseline (for Vertical Right) tools::Long mnAboveDUnderlineOffset2; // Offset from double underline to baseline (for Vertical Right) - tools::Long mnAboveWUnderlineSize; // Height of WaveLine-strike-out (for Vertical Right) - tools::Long mnAboveWUnderlineOffset; // Offset from WaveLine-strike-out to baseline, but centred to the WaveLine (for Vertical Right) + tools::Long mnAboveWUnderlineSize; // Height of WaveLine underline (for Vertical Right) + tools::Long mnAboveWUnderlineOffset; // Offset from WaveLine underline to baseline, but centred to the WaveLine (for Vertical Right) tools::Long mnStrikeoutSize; // Height of single strike-out tools::Long mnStrikeoutOffset; // Offset from single strike-out to baseline tools::Long mnBStrikeoutSize; // Height of bold strike-out