From 858240db0373d1eba3f5bef160cb52c62da1c38d Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 28 Aug 2026 00:10:17 +0200 Subject: [PATCH] Fix typos in code and comments Change-Id: Ic3a174969b9a35f495d696b941c187973f69faba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210174 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- oox/source/ppt/pptshape.cxx | 4 ++-- .../org/libreoffice/report/pentaho/SOReportJobFactory.java | 2 +- .../report/pentaho/output/text/TextRawReportTarget.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx index 8bfbc3070e35..7caad2017c2f 100644 --- a/oox/source/ppt/pptshape.cxx +++ b/oox/source/ppt/pptshape.cxx @@ -90,7 +90,7 @@ static const char* lclDebugSubType( sal_Int32 nType ) case XML_hdr : return "hdr"; case XML_ftr : - return "frt"; + return "ftr"; case XML_sldNum : return "sldNum"; case XML_sldImg : @@ -711,7 +711,7 @@ namespace // Function to find placeholder (ph) for a shape. No idea how MSO implements this, but // this order seems to work quite well -// (probably it's unnecessary complicated / wrong. i.e. tdf#104202): +// (probably it's unnecessarily complicated / wrong. i.e. tdf#104202): // 1. ph with nFirstSubType and the same oSubTypeIndex // 2. ph with nFirstSubType // 3. ph with nSecondSubType and the same oSubTypeIndex diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java index 328fd3d61282..4325f7f41e4e 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java @@ -132,7 +132,7 @@ public class SOReportJobFactory } /** - * This method is a simple helper function to used in the static component initialisation functions as well as + * This method is a simple helper function to be used in the static component initialisation functions as well as * in getSupportedServiceNames. */ private static String[] getServiceNames() diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java index 9a928118f225..7f279356c8a9 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java @@ -347,7 +347,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget // This is a rather cheap solution to the problem. In a sane world, we would have to feed the // footer multiple times. Right now, we simply rely on the balancing, which should make sure that - // the column's content are evenly distributed. + // the columns' contents are evenly distributed. final XmlWriter writer = getXmlWriter(); final AttributeList attrs = new AttributeList(); attrs.setAttribute(OfficeNamespaces.TEXT_NS, OfficeToken.STYLE_NAME, generateSectionStyle(numberOfColumns));