summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /sc/source/filter
parentbb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff)
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/excel/excform.cxx8
-rw-r--r--sc/source/filter/excel/excform8.cxx10
-rw-r--r--sc/source/filter/excel/excrecds.cxx2
-rw-r--r--sc/source/filter/excel/xestream.cxx2
-rw-r--r--sc/source/filter/excel/xlstyle.cxx4
-rw-r--r--sc/source/filter/html/htmlpars.cxx2
-rw-r--r--sc/source/filter/inc/xichart.hxx2
-rw-r--r--sc/source/filter/xml/XMLTableShapeImportHelper.cxx2
-rw-r--r--sc/source/filter/xml/XMLTableShapeResizer.cxx2
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx2
10 files changed, 18 insertions, 18 deletions
diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
index 3a0236a416be..eda413421f82 100644
--- a/sc/source/filter/excel/excform.cxx
+++ b/sc/source/filter/excel/excform.cxx
@@ -568,7 +568,7 @@ ConvErr ExcelToSc::Convert( const ScTokenArray*& pErgebnis, XclImpStream& aIn, s
case 0x25: // Area Reference [320 270]
case 0x4B:
case 0x6B:
- case 0x2B: // Deleted Area Refernce [323 273]
+ case 0x2B: // Deleted Area Reference [323 273]
{
sal_uInt16 nRowFirst, nRowLast;
sal_uInt8 nColFirst, nColLast;
@@ -594,7 +594,7 @@ ConvErr ExcelToSc::Convert( const ScTokenArray*& pErgebnis, XclImpStream& aIn, s
{
case 0x4B:
case 0x6B:
- case 0x2B: // Deleted Area Refernce [323 273]
+ case 0x2B: // Deleted Area Reference [323 273]
// no information which part is deleted, set all
rSRef1.SetColDeleted( true );
rSRef1.SetRowDeleted( true );
@@ -1109,7 +1109,7 @@ ConvErr ExcelToSc::Convert( _ScRangeListTabs& rRangeList, XclImpStream& aIn, sal
break;
case 0x4B:
case 0x6B:
- case 0x2B: // Deleted Area Refernce [323 273]
+ case 0x2B: // Deleted Area Refernece [323 273]
nIgnore = 6;
break;
case 0x4C:
@@ -1467,7 +1467,7 @@ bool ExcelToSc::GetAbsRefs( ScRangeList& rRangeList, XclImpStream& rStrm, sal_Si
case 0x28: // Incomplete Constant Reference Subexpr.[331 281]
case 0x4B:
case 0x6B:
- case 0x2B: // Deleted Area Refernce [323 273]
+ case 0x2B: // Deleted Area Reference [323 273]
nSeek = 6;
break;
case 0x40:
diff --git a/sc/source/filter/excel/excform8.cxx b/sc/source/filter/excel/excform8.cxx
index 19f8cb5d73f7..a4f3bf634e94 100644
--- a/sc/source/filter/excel/excform8.cxx
+++ b/sc/source/filter/excel/excform8.cxx
@@ -519,7 +519,7 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
case 0x25: // Area Reference [320 270]
case 0x4B:
case 0x6B:
- case 0x2B: // Deleted Area Refernce [323 273]
+ case 0x2B: // Deleted Area Reference [323 273]
{
sal_uInt16 nRowFirst, nRowLast;
sal_uInt16 nColFirst, nColLast;
@@ -545,7 +545,7 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
{
case 0x4B:
case 0x6B:
- case 0x2B: // Deleted Area Refernce [323 273]
+ case 0x2B: // Deleted Area Reference [323 273]
// no information which part is deleted, set all
rSRef1.SetColDeleted( true );
rSRef1.SetRowDeleted( true );
@@ -785,7 +785,7 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
if (aExtInfo.mbExternal)
{
- // nTabFirst and nTabLast are the indices of the refernced
+ // nTabFirst and nTabLast are the indices of the referenced
// sheets in the SUPBOOK record, hence do not represent
// the actual indices of the original sheets since the
// SUPBOOK record only stores referenced sheets and skips
@@ -1100,7 +1100,7 @@ ConvErr ExcelToSc8::Convert( _ScRangeListTabs& rRangeList, XclImpStream& aIn, sa
break;
case 0x4B:
case 0x6B:
- case 0x2B: // Deleted Area Refernce [323 273]
+ case 0x2B: // Deleted Area Reference [323 273]
aIn.Ignore( 6 );
break;
case 0x4C:
@@ -1569,7 +1569,7 @@ bool ExcelToSc8::GetAbsRefs( ScRangeList& r, XclImpStream& aIn, sal_Size nLen )
case 0x1F: // Number [315 266]
case 0x4B:
case 0x6B:
- case 0x2B: // Deleted Area Refernce [323 273]
+ case 0x2B: // Deleted Area Reference [323 273]
nSeek = 8;
break;
case 0x5D:
diff --git a/sc/source/filter/excel/excrecds.cxx b/sc/source/filter/excel/excrecds.cxx
index 2273c8f97958..7bbe5559f446 100644
--- a/sc/source/filter/excel/excrecds.cxx
+++ b/sc/source/filter/excel/excrecds.cxx
@@ -506,7 +506,7 @@ void XclExpSheetProtection::SaveXml( XclExpXmlStream& rStrm )
it != end; ++it)
{
SAL_WARN_IF( (*it).maSecurityDescriptorXML.isEmpty() && !(*it).maSecurityDescriptor.empty(),
- "sc.filter", "XclExpSheetProtection::SaveXml: loosing BIFF security descriptor");
+ "sc.filter", "XclExpSheetProtection::SaveXml: losing BIFF security descriptor");
rWorksheet->singleElement( XML_protectedRange,
XML_name, (*it).maTitle.isEmpty() ? NULL : XclXmlUtils::ToOString( (*it).maTitle).getStr(),
XML_securityDescriptor, (*it).maSecurityDescriptorXML.isEmpty() ? NULL : XclXmlUtils::ToOString( (*it).maSecurityDescriptorXML).getStr(),
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 9d1adb00f8f2..e5ff50c431c7 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -1108,7 +1108,7 @@ bool XclExpXmlStream::exportDocument()
}
PopStream();
- // Free all FSHelperPtr, to flush data before commiting storage
+ // Free all FSHelperPtr, to flush data before committing storage
maOpenedStreamMap.clear();
commitStorage();
diff --git a/sc/source/filter/excel/xlstyle.cxx b/sc/source/filter/excel/xlstyle.cxx
index 405c6016a9c6..fef4e2c92836 100644
--- a/sc/source/filter/excel/xlstyle.cxx
+++ b/sc/source/filter/excel/xlstyle.cxx
@@ -99,10 +99,10 @@ XclDefaultPalette::XclDefaultPalette( const XclRoot& rRoot ) :
// background specified as a real colour and the text specified as a
// colour index. That means the text colour would be picked from
// the system where the note background would be picked from a real colour.
- // Previously the the note text colour was picked from the system tooltip
+ // Previously the note text colour was picked from the system tooltip
// text colour, on modern gnome(e.g. 3) that tends to be 'white' with the
// default theme.
- // Using the the Libreoffice defaults ( instead of system specific colours
+ // Using the Libreoffice defaults ( instead of system specific colours
// ) lessens the chance of the one colour being an unsuitable combination
// because by default the note text is black and the note background is
// a light yellow colour ( very similar to Excel's normal defaults )
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index ae6ca2cb4036..246528afc127 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -1597,7 +1597,7 @@ void ScHTMLLayoutParser::ProcToken( ImportInfo* pInfo )
// Do not set bInCell to true, TableDataOn does that
pActEntry->aItemSet.Put(
SvxWeightItem( WEIGHT_BOLD, ATTR_FONT_WEIGHT) );
- } // fall thru
+ } // fall through
case HTML_TABLEDATA_ON: // Opens cell
{
TableDataOn( pInfo );
diff --git a/sc/source/filter/inc/xichart.hxx b/sc/source/filter/inc/xichart.hxx
index 06ac771e5a12..f21f77b164fc 100644
--- a/sc/source/filter/inc/xichart.hxx
+++ b/sc/source/filter/inc/xichart.hxx
@@ -1058,7 +1058,7 @@ private:
XDataSeriesRef xSeries, sal_Int32 nApiAxesSetIdx ) const;
/** Creates all data series of any chart type except stock charts. */
void CreateDataSeries( XChartTypeRef xChartType, sal_Int32 nApiAxesSetIdx ) const;
- /** Creates all data series of of a stock chart. */
+ /** Creates all data series of a stock chart. */
void CreateStockSeries( XChartTypeRef xChartType, sal_Int32 nApiAxesSetIdx ) const;
private:
diff --git a/sc/source/filter/xml/XMLTableShapeImportHelper.cxx b/sc/source/filter/xml/XMLTableShapeImportHelper.cxx
index 32a9fe0b761e..ed6e28d6f807 100644
--- a/sc/source/filter/xml/XMLTableShapeImportHelper.cxx
+++ b/sc/source/filter/xml/XMLTableShapeImportHelper.cxx
@@ -192,7 +192,7 @@ void XMLTableShapeImportHelper::finishShape(
else //this are grouped shapes which should also get the layerid
{
uno::Reference< drawing::XShapes > xGroup( rShape, uno::UNO_QUERY );
- // ignore the group ( within group ) object it it exists
+ // ignore the group ( within group ) object if it exists
if ( !bOnTable && !xGroup.is() )
{
// For cell anchored grouped shape we need to set the start
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.cxx b/sc/source/filter/xml/XMLTableShapeResizer.cxx
index 6f3ce9045385..dc9ba8556e9c 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.cxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.cxx
@@ -92,7 +92,7 @@ void ScMyOLEFixer::CreateChartListener(ScDocument* pDoc,
//for loading binary files e.g.
//if we have the flat filter we need to set the dirty flag thus the visible charts get repainted
- //otherwise the charts keep their first visual representation which was created at a moment where the calc itself was not loaded completely and is incorect therefor
+ //otherwise the charts keep their first visual representation which was created at a moment where the calc itself was not loaded completely and is therefore incorrect
if( (rImport.getImportFlags() & IMPORT_ALL) == IMPORT_ALL )
pCL->SetDirty( true );
else
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 8b382c919f9e..f82e0b474710 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -3654,7 +3654,7 @@ void ScXMLExport::exportAnnotationMeta( const uno::Reference < drawing::XShape >
if (pNote)
{
// TODO : notes
- //is it still usefull, as this call back is only called from ScXMLExport::WriteAnnotation
+ //is it still useful, as this call back is only called from ScXMLExport::WriteAnnotation
// and should be in sync with pCurrentCell
SdrCaptionObj* pNoteCaption = pNote->GetOrCreateCaption(pCurrentCell->maCellAddress);
Reference<drawing::XShape> xCurrentShape( pNoteCaption->getUnoShape(), uno::UNO_QUERY );