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 )