diff options
-rw-r--r-- | editeng/source/items/numitem.cxx | 2 | ||||
-rw-r--r-- | include/editeng/numitem.hxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/odfexport/odfexport2.cxx | 4 | ||||
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 9c55ef1e401c..54bec9d892ea 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -572,7 +572,7 @@ void SvxNumberFormat::SetListFormat(const OUString& rPrefix, const OUString& rSu { int nLevelId = nLevel - nInclUpperLevels + i; if (nLevelId < 0) - // There can be cases with curent level 1, but request to show 10 upper levels. Trim it + // There can be cases with current level 1, but request to show 10 upper levels. Trim it continue; *sListFormat += "%"; diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index f955ea15d008..2e2e660267e8 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -171,7 +171,7 @@ public: const OUString& GetPrefix() const { return sPrefix;} void SetSuffix(const OUString& rSet) { sSuffix = rSet;} const OUString& GetSuffix() const { return sSuffix;} - // Based on prefix and suffix ininialize them (for backward compatibility) and generate listformat string + // Based on prefix and suffix initialize them (for backward compatibility) and generate listformat string void SetListFormat(const OUString& rPrefix, const OUString& rSuffix, int nLevel); void SetListFormat(std::optional<OUString> oSet = std::nullopt); bool HasListFormat() const { return sListFormat.has_value(); } diff --git a/sw/qa/extras/odfexport/odfexport2.cxx b/sw/qa/extras/odfexport/odfexport2.cxx index bbe5d7f193e7..5269779a1690 100644 --- a/sw/qa/extras/odfexport/odfexport2.cxx +++ b/sw/qa/extras/odfexport/odfexport2.cxx @@ -52,7 +52,7 @@ DECLARE_ODFEXPORT_TEST(testTdf137199, "tdf137199.docx") DECLARE_ODFEXPORT_TEST(testListFormatDocx, "listformat.docx") { - // Ensure in resulting ODT we also have not just prefix/suffux, but custom delimiters + // Ensure in resulting ODT we also have not just prefix/suffix, but custom delimiters CPPUNIT_ASSERT_EQUAL(OUString(">1<"), getProperty<OUString>(getParagraph(1), "ListLabelString")); CPPUNIT_ASSERT_EQUAL(OUString(">>1/1<<"), getProperty<OUString>(getParagraph(2), "ListLabelString")); CPPUNIT_ASSERT_EQUAL(OUString(">>1/1/1<<"), getProperty<OUString>(getParagraph(3), "ListLabelString")); @@ -84,7 +84,7 @@ DECLARE_ODFEXPORT_TEST(testListFormatDocx, "listformat.docx") DECLARE_ODFEXPORT_TEST(testListFormatOdt, "listformat.odt") { - // Ensure in resulting ODT we also have not just prefix/suffux, but custom delimiters + // Ensure in resulting ODT we also have not just prefix/suffix, but custom delimiters CPPUNIT_ASSERT_EQUAL(OUString(">1<"), getProperty<OUString>(getParagraph(1), "ListLabelString")); CPPUNIT_ASSERT_EQUAL(OUString(">>1.1<<"), getProperty<OUString>(getParagraph(2), "ListLabelString")); CPPUNIT_ASSERT_EQUAL(OUString(">>1.1.1<<"), getProperty<OUString>(getParagraph(3), "ListLabelString")); diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx index 9e190389d938..ed4787f148f7 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx @@ -1790,7 +1790,7 @@ OOXMLFastContextHandlerShape::lcl_createFastChildContext const uno::Reference< xml::sax::XFastAttributeList > & Attribs) { // we need to share a single theme across all the shapes, but we parse it - // in ShapeContextHandler. So if it has been parsed there, propogate it to + // in ShapeContextHandler. So if it has been parsed there, propagate it to // the document. if (mrShapeContext && mrShapeContext->getTheme() && !getDocument()->getTheme()) { |