summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel
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/excel
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/excel')
-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
5 files changed, 13 insertions, 13 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 )