summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/excel/excform.cxx2
-rw-r--r--sc/source/filter/excel/xihelper.cxx2
-rw-r--r--sc/source/filter/excel/xilink.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
index b7c7afab7ba6..7f9893f53bd1 100644
--- a/sc/source/filter/excel/excform.cxx
+++ b/sc/source/filter/excel/excform.cxx
@@ -1810,7 +1810,7 @@ void ExcelToSc::ReadExtensionArray( unsigned int n, XclImpStream& aIn )
OSL_FAIL( "ExcelToSc::ReadExtensionArray - missing matrix" );
}
- //assuming worse case scenario of unknown types
+ //assuming worst case scenario of unknown types
const size_t nMinRecordSize = 1;
const size_t nMaxRows = aIn.GetRecLeft() / (nMinRecordSize * nCols);
if (nRows > nMaxRows)
diff --git a/sc/source/filter/excel/xihelper.cxx b/sc/source/filter/excel/xihelper.cxx
index 862d9629104d..9ce3c500c9fa 100644
--- a/sc/source/filter/excel/xihelper.cxx
+++ b/sc/source/filter/excel/xihelper.cxx
@@ -834,7 +834,7 @@ XclImpCachedMatrix::XclImpCachedMatrix( XclImpStream& rStrm ) :
++mnScRows;
}
- //assuming worse case scenario of unknown types
+ //assuming worst case scenario of unknown types
const size_t nMinRecordSize = 1;
const size_t nMaxRows = rStrm.GetRecLeft() / (nMinRecordSize * mnScCols);
if (mnScRows > nMaxRows)
diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx
index 2b1a2f2bb427..1bc3f16fd18c 100644
--- a/sc/source/filter/excel/xilink.cxx
+++ b/sc/source/filter/excel/xilink.cxx
@@ -275,7 +275,7 @@ XclImpExtName::MOper::MOper(svl::SharedStringPool& rPool, XclImpStream& rStrm) :
SCSIZE nLastCol = rStrm.ReaduInt8();
SCSIZE nLastRow = rStrm.ReaduInt16();
- //assuming worse case scenario of nOp + one byte unistring len
+ //assuming worst case scenario of nOp + one byte unistring len
const size_t nMinRecordSize = 2;
const size_t nMaxRows = rStrm.GetRecLeft() / (nMinRecordSize * (nLastCol+1));
if (nLastRow >= nMaxRows)