Fix typos

Change-Id: Icb9acdf67be84e3bedab53188246890b6aa82a7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120286
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2021-09-10 11:22:56 +02:00 committed by Julien Nabet
parent 7d4142269e
commit c42eb3d3f6
3 changed files with 10 additions and 10 deletions

View file

@ -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)));
}

View file

@ -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");

View file

@ -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; }