From 521920dde246326771bceeba4d2c4e8c4848218c Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 28 Aug 2026 00:10:27 +0200 Subject: [PATCH] Fix typos in code and comments Change-Id: I27027a36c31a230bd3d215c7fc80ec1ea86c3d72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210184 Tested-by: Jenkins Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- sc/source/filter/oox/drawingfragment.cxx | 2 +- sc/source/filter/oox/sheetdatabuffer.cxx | 2 +- sc/source/filter/oox/workbookfragment.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx index efa7ae0605c8..95d30f35025d 100644 --- a/sc/source/filter/oox/drawingfragment.cxx +++ b/sc/source/filter/oox/drawingfragment.cxx @@ -360,7 +360,7 @@ void DrawingFragment::onEndElement() OUString sFragmentPath( getFragmentPathFromRelId(mxShape->getExtDrawings()[0])); - // Don't know why importFragment looses shape name and id. Rescue them. + // Don't know why importFragment loses shape name and id. Rescue them. const OUString sBackupName(mxShape->getName()); const OUString sBackupId(mxShape->getId()); diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx index 6526015d3c7c..c918f29b506c 100644 --- a/sc/source/filter/oox/sheetdatabuffer.cxx +++ b/sc/source/filter/oox/sheetdatabuffer.cxx @@ -761,7 +761,7 @@ void SheetDataBuffer::setCellFormat( const CellModel& rModel ) break; } else if (pLastRange->aStart.Row() > (rMergeRange.aEnd.Row() + 1)) - break; // Un-necessary to check with any other rows + break; // Unnecessary to check with any other rows } } // update merged ranges for 'center across selection' and 'fill' diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx index e87c12949d8e..83aed2a89169 100644 --- a/sc/source/filter/oox/workbookfragment.cxx +++ b/sc/source/filter/oox/workbookfragment.cxx @@ -487,7 +487,7 @@ void WorkbookFragment::finalizeImport() (pRelation->maType == CREATE_MSOFFICE_RELATION_TYPE( "xlIntlMacrosheet" )) ) eSheetType = WorksheetType::Macro; else if( pRelation->maType == CREATE_OFFICEDOC_RELATION_TYPE( "dialogsheet" ) || - pRelation->maType == CREATE_OFFICEDOC_RELATION_TYPE_STRICT(" dialogsheet" )) + pRelation->maType == CREATE_OFFICEDOC_RELATION_TYPE_STRICT("dialogsheet" )) eSheetType = WorksheetType::Dialog; OSL_ENSURE( eSheetType != WorksheetType::Empty, "WorkbookFragment::finalizeImport - unknown sheet type" ); if( eSheetType != WorksheetType::Empty )