sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py | 2 +- sc/source/core/data/documen3.cxx | 2 +- sc/source/core/data/patattr.cxx | 4 ++-- sc/source/core/data/tablestyle.cxx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit e2a9dd57196227daa48ec9a31983115c04d1cb2c Author: Andrea Gelmini <[email protected]> AuthorDate: Thu Jan 29 15:54:15 2026 +0100 Commit: Julien Nabet <[email protected]> CommitDate: Thu Jan 29 17:21:43 2026 +0100 Fix typos Change-Id: I163bb0789f2e83e669c7fb3a480e5b36798985c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198366 Tested-by: Jenkins Reviewed-by: Julien Nabet <[email protected]> diff --git a/sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py b/sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py index caa023f2f759..0baba5aab675 100644 --- a/sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py +++ b/sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py @@ -14,7 +14,7 @@ class Tdf166756(UITestCase): def test_tdf166756_edit_header_and_footer(self): # Test that the filename is correctly displayed in the edit header and footer dialog - # even if the filename contains special chars taht are encoded in an URL + # even if the filename contains special chars that are encoded in an URL # This test does not cover actual printing or print preview fileName="tdf166756_[1].ods" fileURL = get_url_for_data_file(fileName) diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index 9f3c36d24fa6..cfd47b90b8e2 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -1605,7 +1605,7 @@ void ScDocument::GetFilterEntries( ScDBData* pDBData = pDBCollection->GetDBAtCursor(nCol, nRow, nTab, ScDBDataPortion::AREA); //!?? if (!pDBData) return; - // Do not extand DBArea automatically in case of Table Styles with Total row + // Do not extend DBArea automatically in case of Table Styles with Total row if (!pDBData->HasTotals() || !pDBData->GetTableStyleInfo()) { pDBData->ExtendBackColorArea(*this); diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx index d3532ebb7ff8..0fbc6d26f83e 100644 --- a/sc/source/core/data/patattr.cxx +++ b/sc/source/core/data/patattr.cxx @@ -582,7 +582,7 @@ static const T* lcl_populateresult( TypedWhichId<T> nWhich, const SfxItemSet& rS if (rSrcSet.GetItemState(nWhich, false, &pThisItem) == SfxItemState::SET && *pThisItem != rSrcSet.GetPool()->GetUserOrPoolDefaultItem(nWhich)) { - // use the direct cell format value againts the Table style format + // use the direct cell format value against the Table style format // if it not a default one (COL_BLACK is the default in case of Table Styles) // on the cell level if (sal_uInt16(nWhich) == ATTR_FONT_COLOR @@ -970,7 +970,7 @@ static void lcl_populate( std::optional<T>& rxItem, TypedWhichId<T> nWhich, cons if (rSrcSet.GetItemState(nWhich, false, &pThisItem) == SfxItemState::SET && *pThisItem != rSrcSet.GetPool()->GetUserOrPoolDefaultItem(nWhich)) { - // use the direct cell format value againts the Table style format + // use the direct cell format value against the Table style format // if it not a default one (COL_BLACK is the default in case of Table Styles) // on the cell level if (sal_uInt16(nWhich) == ATTR_FONT_COLOR diff --git a/sc/source/core/data/tablestyle.cxx b/sc/source/core/data/tablestyle.cxx index bf7c03664d09..d0b131c1136c 100644 --- a/sc/source/core/data/tablestyle.cxx +++ b/sc/source/core/data/tablestyle.cxx @@ -24,7 +24,7 @@ bool ScTableStyle::HasFontAttrSet(ScPatternAttr* pPattern) { // TODO: maybe different pPatterns can have different font attributes, and // now we only check if any font attribute is set on a pattern. - // e.g.: mpFirstRowStripePattern only has ATTR_FONT_WEIGHT set and we will retirn that one, + // e.g.: mpFirstRowStripePattern only has ATTR_FONT_WEIGHT set and we will return that one, // but mpTablePattern also can have ATTR_FONT_COLOR set (need to merge them and return that // one for custom styles, but now it is enough for the ooxml default styles). for (sal_Int16 nWhich = ATTR_FONT; nWhich <= ATTR_FONT_RELIEF; nWhich++)
