From c42eb3d3f6c8be0bb8d3d4c6955d13279c0dbcc1 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 10 Sep 2021 11:22:56 +0200 Subject: Fix typos Change-Id: Icb9acdf67be84e3bedab53188246890b6aa82a7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120286 Tested-by: Jenkins Reviewed-by: Julien Nabet --- basic/source/comp/symtbl.cxx | 2 +- chart2/qa/extras/chart2export2.cxx | 2 +- starmath/inc/mathml/element.hxx | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx index 258989afd394..9d4376b683fe 100644 --- a/basic/source/comp/symtbl.cxx +++ b/basic/source/comp/symtbl.cxx @@ -102,7 +102,7 @@ short SbiStringPool::Add(double n, SbxDataType t) default: assert(false); break; // should not happen } - // tdf#143707 - add the content of the buffer to the string pool inclding its calculated length + // tdf#143707 - add the content of the buffer to the string pool including its calculated length return Add(OUString::fromUtf8(std::string_view(buf, size))); } diff --git a/chart2/qa/extras/chart2export2.cxx b/chart2/qa/extras/chart2export2.cxx index 2652572f847f..588cbe1d84f2 100644 --- a/chart2/qa/extras/chart2export2.cxx +++ b/chart2/qa/extras/chart2export2.cxx @@ -1530,7 +1530,7 @@ void Chart2ExportTest2::testNameRangeXLSX() load(u"/chart2/qa/extras/data/xlsx/", "chart_with_name_range.xlsx"); xmlDocUniquePtr pXmlDoc = parseExport("xl/charts/chart", "Calc Office Open XML"); CPPUNIT_ASSERT(pXmlDoc); - // test the syntax of local range name on the the local sheet. + // test the syntax of local range name on the local sheet. assertXPathContent(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:barChart/c:ser/c:cat/c:strRef/c:f", "Sheet1!local_name_range"); diff --git a/starmath/inc/mathml/element.hxx b/starmath/inc/mathml/element.hxx index 3a6514542856..8f510f57a72b 100644 --- a/starmath/inc/mathml/element.hxx +++ b/starmath/inc/mathml/element.hxx @@ -83,7 +83,7 @@ private: // Parent element SmMlElement* m_aParentElement; - // Child id, so it is possible to iterata + // Child id, so it is possible to iterate size_t m_nSubElementId; private: @@ -147,7 +147,7 @@ public: // attributes size_t getAttributeCount() const { return m_aAttributeList.size(); }; /** - * Get's a given attribute. + * Gets a given attribute. * If no available returns empty attribute. * @param nAttributePos * @return given attribute. @@ -159,7 +159,7 @@ public: // attributes } /** - * Get's a given attribute. + * Gets a given attribute. * If no available returns empty attribute. * @param nAttributePos * @return given attribute. @@ -167,7 +167,7 @@ public: // attributes SmMlAttribute getAttribute(SmMlAttributeValueType aAttributeType) const; /** - * Set's a given attribute. + * Sets a given attribute. * If no available does nothing. * @param nAttributePos * @return given attribute. @@ -189,7 +189,7 @@ public: // attributes protected: // attributes /** - * Get's a given attribute. + * Gets a given attribute. * If no available returns empty attribute. * @param nAttributePos * @return given attribute. @@ -200,7 +200,7 @@ protected: // attributes } /** - * Set's a given attribute. + * Sets a given attribute. * If no available undefined behaviour. * @param nAttributePos * @param aAttribute @@ -246,12 +246,12 @@ public: // sub elements void setSubElement(size_t nPos, SmMlElement* aElement); /** - * Get's subelement id + * Gets subelement id */ size_t getSubElementId() const { return m_nSubElementId; } /** - * Set's subelement id + * Sets subelement id * @param nSubElementId */ void setSubElementId(size_t nSubElementId) { m_nSubElementId = nSubElementId; } -- cgit