From 390583e4ee2077448228e3ea51110131c1901236 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 28 Aug 2026 00:10:26 +0200 Subject: [PATCH] Fix typos Change-Id: Ib570df673235d69be17ca1065dff9c4d5d464cd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210183 Tested-by: Jenkins Reviewed-by: Julien Nabet --- sc/source/filter/excel/xetable.cxx | 4 ++-- sc/source/filter/html/htmlexp.cxx | 2 +- sc/source/filter/lotus/lotattr.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index 94dd1e1ebd42..bc1793929dc6 100644 --- a/sc/source/filter/excel/xetable.cxx +++ b/sc/source/filter/excel/xetable.cxx @@ -2361,7 +2361,7 @@ void XclExpRowBuffer::Finalize( XclExpDefaultRowData& rDefRowData, XclExpDefaultRowData aMaxDefData; size_t nMaxDefCount = 0; // only look for default format in existing rows, if there are more than unused - // if the row is hidden, then row xml must be created even if it not contain cells + // if the row is hidden, then row xml must be created even if it does not contain cells XclExpRow* pPrev = nullptr; std::vector< XclExpRow* > aRepeated; for (const auto& rEntry : maRowMap) @@ -2605,7 +2605,7 @@ XclExpCellTable::XclExpCellTable( const XclExpRoot& rRoot ) : if(nLastUsedScCol > nMaxScCol) nLastUsedScCol = nMaxScCol; - // check extra blank rows to avoid of losing their not default settings (workaround for tdf#41425) + // check extra blank rows to avoid losing their non-default settings (workaround for tdf#41425) nLastUsedScRow += 1000; if(nLastUsedScRow > nMaxScRow) diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx index ff9c42be270b..263823f0e3ec 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -790,7 +790,7 @@ void ScHTMLExport::WriteTables() "=\"" OOO_STRING_SVTOOLS_HTML_AL_left "\""); } - // ALIGN=LEFT allow text and graphics to flow around + // ALIGN=LEFT allows text and graphics to flow around // CELLSPACING aByteStrOut.append(" " OOO_STRING_SVTOOLS_HTML_O_cellspacing "=\"" + diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx index efa84138601a..058023bb890a 100644 --- a/sc/source/filter/lotus/lotattr.cxx +++ b/sc/source/filter/lotus/lotattr.cxx @@ -172,7 +172,7 @@ const SvxColorItem& LotAttrCache::GetColorItem( const sal_uInt8 nLotIndex ) cons const Color& LotAttrCache::GetColor( const sal_uInt8 nLotIndex ) const { // color <-> index fits background, but not for fonts (0 <-> 7)! - // *LotAttrCache::GetColor(): Index > 7, caller hast to check index!" + // *LotAttrCache::GetColor(): Index > 7, caller has to check index! assert( nLotIndex < 8 ); return pColTab[ nLotIndex ];