summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /sc/source
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/column3.cxx2
-rw-r--r--sc/source/core/data/column4.cxx2
-rw-r--r--sc/source/core/data/conditio.cxx2
-rw-r--r--sc/source/core/data/dociter.cxx2
-rw-r--r--sc/source/core/data/docpool.cxx2
-rw-r--r--sc/source/core/data/documen4.cxx2
-rw-r--r--sc/source/core/data/document.cxx4
-rw-r--r--sc/source/core/data/dpresfilter.cxx2
-rw-r--r--sc/source/core/data/dptabres.cxx2
-rw-r--r--sc/source/core/data/formulacell.cxx2
-rw-r--r--sc/source/core/data/table1.cxx2
-rw-r--r--sc/source/core/data/table4.cxx2
-rw-r--r--sc/source/core/opencl/op_addin.hxx2
-rw-r--r--sc/source/core/tool/chgtrack.cxx2
-rw-r--r--sc/source/core/tool/compiler.cxx4
-rw-r--r--sc/source/core/tool/interpr1.cxx2
-rw-r--r--sc/source/core/tool/interpr3.cxx4
-rw-r--r--sc/source/core/tool/interpr5.cxx2
-rw-r--r--sc/source/core/tool/interpr7.cxx2
-rw-r--r--sc/source/core/tool/queryentry.cxx2
-rw-r--r--sc/source/core/tool/reffind.cxx2
-rw-r--r--sc/source/core/tool/token.cxx2
-rw-r--r--sc/source/filter/excel/xicontent.cxx2
-rw-r--r--sc/source/filter/excel/xistream.cxx2
-rw-r--r--sc/source/filter/excel/xlpivot.cxx2
-rw-r--r--sc/source/filter/inc/autofilterbuffer.hxx2
-rw-r--r--sc/source/filter/inc/formulabase.hxx2
-rw-r--r--sc/source/filter/inc/fprogressbar.hxx2
-rw-r--r--sc/source/filter/inc/pivotcachebuffer.hxx2
-rw-r--r--sc/source/filter/inc/scflt.hxx2
-rw-r--r--sc/source/filter/inc/xelink.hxx2
-rw-r--r--sc/source/filter/inc/xiescher.hxx2
-rw-r--r--sc/source/filter/oox/formulaparser.cxx2
-rw-r--r--sc/source/filter/qpro/qpro.cxx2
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx2
-rw-r--r--sc/source/filter/xml/xmlfilti.cxx2
-rw-r--r--sc/source/filter/xml/xmlnexpi.cxx2
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx2
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx2
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx2
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
-rw-r--r--sc/source/ui/inc/namemgrtable.hxx2
-rw-r--r--sc/source/ui/miscdlgs/inscodlg.cxx4
-rw-r--r--sc/source/ui/src/scstring.src2
-rw-r--r--sc/source/ui/unoobj/condformatuno.cxx8
-rw-r--r--sc/source/ui/vba/excelvbahelper.hxx2
-rw-r--r--sc/source/ui/vba/vbaapplication.cxx4
-rw-r--r--sc/source/ui/vba/vbawindow.cxx2
-rw-r--r--sc/source/ui/vba/vbaworkbook.cxx2
-rw-r--r--sc/source/ui/view/gridwin.cxx2
-rw-r--r--sc/source/ui/view/output.cxx2
-rw-r--r--sc/source/ui/view/tabcont.cxx2
-rw-r--r--sc/source/ui/view/tabview.cxx2
-rw-r--r--sc/source/ui/view/tabview3.cxx2
-rw-r--r--sc/source/ui/view/tabview5.cxx2
56 files changed, 64 insertions, 64 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index bca3d7a760ae..d66090b8b3f7 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -65,7 +65,7 @@
using ::com::sun::star::i18n::LocaleDataItem;
-// Err527 Workaroand
+// Err527 Workaround
extern const ScFormulaCell* pLastFormulaTreeTop; // in cellform.cxx
using namespace formula;
diff --git a/sc/source/core/data/column4.cxx b/sc/source/core/data/column4.cxx
index 6134eefb77c7..09e2e38e24c8 100644
--- a/sc/source/core/data/column4.cxx
+++ b/sc/source/core/data/column4.cxx
@@ -903,7 +903,7 @@ private:
sc::CellTextAttr& rAttr = sc::celltextattr_block::at(*aAttrPos.first->data, aAttrPos.second);
if (rAttr.mnScriptType != SvtScriptType::UNKNOWN)
- // Script type already deteremined. Skip it.
+ // Script type already determined. Skip it.
return;
const ScPatternAttr* pPat = mrCol.GetPattern(nRow);
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx
index 6dd4c324741c..e27a533f4ac0 100644
--- a/sc/source/core/data/conditio.cxx
+++ b/sc/source/core/data/conditio.cxx
@@ -781,7 +781,7 @@ void ScConditionEntry::FillCache() const
SCROW nRowStart = aRange->aStart.Row();
SCTAB nTab = aRange->aStart.Tab();
- // temporary fix to workaorund slow duplicate entry
+ // temporary fix to workaround slow duplicate entry
// conditions, prevent to use a whole row
if(nRow == MAXROW)
{
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 8b79337ba6b5..c174d994ee48 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -2108,7 +2108,7 @@ bool ScHorizontalCellIterator::SkipInvalidInRow()
return false;
}
-/// Find the next row that has some real content in one of it's columns.
+/// Find the next row that has some real content in one of its columns.
SCROW ScHorizontalCellIterator::FindNextNonEmptyRow()
{
size_t nNextRow = MAXROW+1;
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index f8839b9a72fc..e1eb4955e627 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -438,7 +438,7 @@ void ScDocumentPool::InitVersionMaps()
pVersionMap3 = new sal_uInt16 [ nMap3Count ];
for ( i=0, j=nMap3Start; i < nMap3New; i++, j++ )
pVersionMap3[i] = j;
- // An entry insterted ...
+ // An entry inserted...
for ( i=nMap3New, j=nMap3Start+nMap3New+1; i < nMap3Count; i++, j++ )
pVersionMap3[i] = j;
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index b0b6cc9643f5..afe6469e44a2 100644
--- a/sc/source/core/data/documen4.cxx
+++ b/sc/source/core/data/documen4.cxx
@@ -936,7 +936,7 @@ sal_uInt16 ScDocument::RowDifferences( SCROW nThisRow, SCTAB nThisTab,
if (nUsed > 0)
return static_cast<sal_uInt16>((nDif*64)/nUsed); // max.256 (SC_DOCCOMP_MAXDIFF)
- OSL_ENSURE(!nDif,"Diff withoud Used");
+ OSL_ENSURE(!nDif,"Diff without Used");
return 0;
}
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 9057fa9be505..c12ea31e6102 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -3877,7 +3877,7 @@ bool ScDocument::CompileErrorCells(sal_uInt16 nErrCode)
void ScDocument::CalcAfterLoad( bool bStartListening )
{
if (bIsClip) // Excel data is loaded from the Clipboard to a Clip-Doc
- return; // the clculation is then only perfromed when inserting into the real document
+ return; // the calculation is then only performed when inserting into the real document
bCalcingAfterLoad = true;
sc::CompileFormulaContext aCxt(this);
@@ -6134,7 +6134,7 @@ void ScDocument::RestorePrintRanges( const ScPrintRangeSaver& rSaver )
bool ScDocument::NeedPageResetAfterTab( SCTAB nTab ) const
{
// The page number count restarts at a sheet, if another template is set at
- // the preseding one (oly compare names) and if a pagenumber is specified (not 0)
+ // the preceding one (only compare names) and if a pagenumber is specified (not 0)
if ( nTab + 1 < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab] && maTabs[nTab+1] )
{
diff --git a/sc/source/core/data/dpresfilter.cxx b/sc/source/core/data/dpresfilter.cxx
index a416bc3a527e..f66e7f116766 100644
--- a/sc/source/core/data/dpresfilter.cxx
+++ b/sc/source/core/data/dpresfilter.cxx
@@ -116,7 +116,7 @@ void ScDPResultTree::add(
DimensionsType::iterator itDim = rDims.find(aUpperName);
if (itDim == rDims.end())
{
- // New dimenison. Insert it.
+ // New dimension. Insert it.
std::pair<DimensionsType::iterator, bool> r =
rDims.insert(DimensionsType::value_type(aUpperName, new DimensionNode));
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index 6516bc73bf7c..2078cf6fb727 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -258,7 +258,7 @@ void ScDPInitState::AddMember( long nSourceIndex, SCROW nMember )
void ScDPInitState::RemoveMember()
{
- OSL_ENSURE(!maMembers.empty(), "ScDPInitState::RemoveMember: Attempt to remmove member while empty.");
+ OSL_ENSURE(!maMembers.empty(), "ScDPInitState::RemoveMember: Attempt to remove member while empty.");
if (!maMembers.empty())
maMembers.pop_back();
}
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index fbb3d90f03a2..722c5c092de8 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -3791,7 +3791,7 @@ ScFormulaCell::CompareState ScFormulaCell::CompareByTokenArray( ScFormulaCell& r
if ( GetMatrixFlag() != MM_NONE )
return NotEqual;
- // are these formule at all similar ?
+ // are these formulas at all similar ?
if ( GetHash() != rOther.GetHash() )
return NotEqual;
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index df05e2284411..2bc27053d964 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -807,7 +807,7 @@ void ScTable::GetDataArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, S
// Flags as modifiers:
//
// bIncludeOld = true ensure that the returned area contains at least the initial area,
- // independently of the emptniess of rows / columns (i.e. does not allow shrinking)
+ // independently of the emptiness of rows / columns (i.e. does not allow shrinking)
// bOnlyDown = true means extend / shrink the inputed area only down, i.e modifiy only rEndRow
bool bLeft = false;
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 7b682cd55005..7c001dee077a 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -453,7 +453,7 @@ void ScTable::FillFormula(
}
else
{
- OSL_FAIL( "FillFormula: MatrixOrigin no forumla cell with MM_FORMULA" );
+ OSL_FAIL( "FillFormula: MatrixOrigin no formula cell with MM_FORMULA" );
}
}
else
diff --git a/sc/source/core/opencl/op_addin.hxx b/sc/source/core/opencl/op_addin.hxx
index 11d6eb77f2cc..d0b27e6947f8 100644
--- a/sc/source/core/opencl/op_addin.hxx
+++ b/sc/source/core/opencl/op_addin.hxx
@@ -25,7 +25,7 @@ class OpGestep: public Normal
{
public:
virtual void GenSlidingWindowFunction(std::stringstream &ss,
- const std::string &sSymName, SubArguments &vSubArguments) override;;
+ const std::string &sSymName, SubArguments &vSubArguments) override;
virtual std::string BinFuncName() const override { return "Gestep"; }
};
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index ced7be732aab..076a34ccf1dd 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -3472,7 +3472,7 @@ void ScChangeTrack::UpdateReference( ScChangeAction** ppFirstAction,
{
// Cut off inserted ranges, if Start/End is within the Delete,
// but the Insert is not completely within the Delete or
- // the Delete is not completelty within the Insert.
+ // the Delete is not completely within the Insert.
// The Delete remembers which Insert it has cut off from;
// it can also just be a single Insert (because Delete has
// a single column/is a single row).
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index a9bbc68e237d..4c55d76d6170 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -1141,7 +1141,7 @@ struct ConventionXL
static void makeExternalDocStr( OUStringBuffer& rBuffer, const OUString& rFullName, bool bEncodeUrl )
{
// Format that is easier to deal with inside OOo, because we use file
- // URL, and all characetrs are allowed. Check if it makes sense to do
+ // URL, and all characters are allowed. Check if it makes sense to do
// it the way Gnumeric does it. Gnumeric doesn't use the URL form
// and allows relative file path.
//
@@ -4932,7 +4932,7 @@ bool ScCompiler::HandleColRowName()
if (!bString && aCell.isEmpty())
bString = true; // empty cell is ok
if ( bString )
- { // coresponds with ScInterpreter::ScColRowNameAuto()
+ { // corresponds with ScInterpreter::ScColRowNameAuto()
bValidName = true;
if ( bColName )
{ // ColName
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index bf3c0e2d5e43..1a1ada5a0fd1 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -6109,7 +6109,7 @@ void ScInterpreter::ScLookup()
case svDoubleRef:
{
// Use the result array vector. Note that the result array is assumed
- // to be a vector (i.e. 1-dimensinoal array).
+ // to be a vector (i.e. 1-dimensional array).
ScAddress aAdr;
aAdr.SetTab(nResTab);
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index d11d99c2829d..a2c9de0809aa 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -154,7 +154,7 @@ static double lcl_IterateInverse( const ScDistFunc& rFunction, double fAx, doubl
{
fAx = fRx; fAy = fRy;
}
- // if last interration brought to small advance, then do bisection next
+ // if last iteration brought to small advance, then do bisection next
// time, for safety
bHasToInterpolate = bHasToInterpolate && (fabs(fRy) * 2.0 <= fabs(fQy));
++nCount;
@@ -943,7 +943,7 @@ static double lcl_GetBetaHelperContFrac(double fX, double fA, double fB)
const double fMaxIter = 50000.0;
// loop security, normal cases converge in less than 100 iterations.
- // FIXME: You will get so much iteratons for fX near mean,
+ // FIXME: You will get so much iterations for fX near mean,
// I do not know a better algorithm.
bool bfinished = false;
do
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index a0933c0b93e9..2546b8b850db 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -2127,7 +2127,7 @@ void lcl_SolveWithLowerLeftTriangle(ScMatrixRef pMatA,
/* Calculates Z = R * B
* R is given in matrix A and vector VecR as obtained from the QR
- * decompostion in lcl_CalculateQRdecomposition. B and Z are column vectors
+ * decomposition in lcl_CalculateQRdecomposition. B and Z are column vectors
* given as matrix with at least index 0 to K-1; elements on index>=K are
* not used.
*/
diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
index 027c40391583..67e1039d82ee 100644
--- a/sc/source/core/tool/interpr7.cxx
+++ b/sc/source/core/tool/interpr7.cxx
@@ -227,7 +227,7 @@ void ScInterpreter::ScEncodeURL()
OString aUtf8Str( aStr.toUtf8());
const sal_Int32 nLen = aUtf8Str.getLength();
- OStringBuffer aUrlBuf( nLen );;
+ OStringBuffer aUrlBuf( nLen );
for ( int i = 0; i < nLen; i++ )
{
sal_Char c = aUtf8Str[ i ];
diff --git a/sc/source/core/tool/queryentry.cxx b/sc/source/core/tool/queryentry.cxx
index fb35163f1664..1a5c47145dcf 100644
--- a/sc/source/core/tool/queryentry.cxx
+++ b/sc/source/core/tool/queryentry.cxx
@@ -24,7 +24,7 @@
/*
* dialog returns the special field values "empty"/"not empty"
* as constants SC_EMPTYFIELDS and SC_NONEMPTYFIELDS respectively in nVal in
- * conjuctions with the flag bQueryByString = FALSE.
+ * conjunctions with the flag bQueryByString = FALSE.
*/
#define SC_EMPTYFIELDS ((double)0x0042)
diff --git a/sc/source/core/tool/reffind.cxx b/sc/source/core/tool/reffind.cxx
index 6c99d837cf3c..b1883232bc07 100644
--- a/sc/source/core/tool/reffind.cxx
+++ b/sc/source/core/tool/reffind.cxx
@@ -109,7 +109,7 @@ sal_Int32 FindEndPosR1C1(const sal_Unicode* p, sal_Int32 nStartPos, sal_Int32 nE
}
/**
- * Find last character position that is considred text, from the specified
+ * Find last character position that is considered text, from the specified
* start position.
*/
sal_Int32 FindEndPos(const sal_Unicode* p, sal_Int32 nStartPos, sal_Int32 nEndPos,
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 8e62a267d1f5..ee6e305aa583 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -2303,7 +2303,7 @@ namespace {
void GetExternalTableData(const ScDocument* pOldDoc, const ScDocument* pNewDoc, const SCTAB nTab, OUString& rTabName, sal_uInt16& rFileId)
{
- OUString aFileName = pOldDoc->GetFileURL();;
+ OUString aFileName = pOldDoc->GetFileURL();
rFileId = pNewDoc->GetExternalRefManager()->getExternalFileId(aFileName);
rTabName = pOldDoc->GetCopyTabName(nTab);
if (rTabName.isEmpty())
diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx
index 3e48f3526ab4..9cf9841a3adf 100644
--- a/sc/source/filter/excel/xicontent.cxx
+++ b/sc/source/filter/excel/xicontent.cxx
@@ -1212,7 +1212,7 @@ void XclImpDocProtectBuffer::Apply() const
if (mnPassHash)
{
- // 16-bit password pash.
+ // 16-bit password hash.
Sequence<sal_Int8> aPass(2);
aPass[0] = (mnPassHash >> 8) & 0xFF;
aPass[1] = mnPassHash & 0xFF;
diff --git a/sc/source/filter/excel/xistream.cxx b/sc/source/filter/excel/xistream.cxx
index a5eda2c50d6b..9b9fe1b2d990 100644
--- a/sc/source/filter/excel/xistream.cxx
+++ b/sc/source/filter/excel/xistream.cxx
@@ -148,7 +148,7 @@ uno::Sequence< beans::NamedValue > XclImpBiff5Decrypter::OnVerifyPassword( const
*aIt = static_cast< sal_uInt16 >( rPassword[nInd] );
uno::Sequence< sal_Int8 > aDocId = ::comphelper::DocPasswordHelper::GenerateRandomByteSequence( 16 );
- OSL_ENSURE( aDocId.getLength() == 16, "Unexpected length of the senquence!" );
+ OSL_ENSURE( aDocId.getLength() == 16, "Unexpected length of the sequence!" );
::msfilter::MSCodec_Std97 aCodec97;
aCodec97.InitKey( &aPassVect.front(), reinterpret_cast<sal_uInt8 const *>(aDocId.getConstArray()) );
diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx
index a70308a1eb68..3ca6b13442d2 100644
--- a/sc/source/filter/excel/xlpivot.cxx
+++ b/sc/source/filter/excel/xlpivot.cxx
@@ -263,7 +263,7 @@ void XclPCNumGroupInfo::SetXclDataType( sal_uInt16 nXclType )
XclImpStream& operator>>( XclImpStream& rStrm, XclPCNumGroupInfo& rInfo )
{
rInfo.mnFlags = rStrm.ReaduInt16();
- return rStrm;;
+ return rStrm;
}
XclExpStream& operator<<( XclExpStream& rStrm, const XclPCNumGroupInfo& rInfo )
diff --git a/sc/source/filter/inc/autofilterbuffer.hxx b/sc/source/filter/inc/autofilterbuffer.hxx
index 21f3bab6ea71..639960e625a1 100644
--- a/sc/source/filter/inc/autofilterbuffer.hxx
+++ b/sc/source/filter/inc/autofilterbuffer.hxx
@@ -142,7 +142,7 @@ public:
virtual ApiFilterSettings finalizeImport( sal_Int32 nMaxCount ) override;
private:
- /** Appends the passed filter criteriom, if it contains valid settings. */
+ /** Appends the passed filter criterion, if it contains valid settings. */
void appendCriterion( const FilterCriterionModel& rCriterion );
private:
diff --git a/sc/source/filter/inc/formulabase.hxx b/sc/source/filter/inc/formulabase.hxx
index 174190f0f51c..8fa5bbb42bd2 100644
--- a/sc/source/filter/inc/formulabase.hxx
+++ b/sc/source/filter/inc/formulabase.hxx
@@ -787,7 +787,7 @@ public:
@param orTokens (input/output parameter) Expects a single string token
in this token sequence (whitespace tokens are allowed). The string
is split into substrings. A list of string tokens separated with
- parameter separator tokens is returned in this psrameter.
+ parameter separator tokens is returned in this parameter.
@param cStringSep The separator character used to split the input
string.
diff --git a/sc/source/filter/inc/fprogressbar.hxx b/sc/source/filter/inc/fprogressbar.hxx
index 03bceec92d09..ad0f9924876e 100644
--- a/sc/source/filter/inc/fprogressbar.hxx
+++ b/sc/source/filter/inc/fprogressbar.hxx
@@ -34,7 +34,7 @@ const sal_Int32 SCF_INV_SEGMENT = -1;
/** Progress bar for complex progress representation.
- The progress bar contains one or more segments, each with customable
+ The progress bar contains one or more segments, each with customizable
size. Each segment is represented by a unique identifier. While showing the
progress bar, several segments can be started simultaneously. The progress
bar displays the sum of all started segments on screen.
diff --git a/sc/source/filter/inc/pivotcachebuffer.hxx b/sc/source/filter/inc/pivotcachebuffer.hxx
index a18c2addf6f1..3bf5406c62f3 100644
--- a/sc/source/filter/inc/pivotcachebuffer.hxx
+++ b/sc/source/filter/inc/pivotcachebuffer.hxx
@@ -166,7 +166,7 @@ struct PCSharedItemsModel
bool mbHasMixed; /// True = has [(string|bool|error) and (number|date)] or (number and date).
bool mbIsNumeric; /// True = has numeric item(s), maybe other types except date.
bool mbIsInteger; /// True = has numeric item(s) with only integers, maybe other types except date.
- bool mbHasLongText; /// True = contains strings with >255 charascters.
+ bool mbHasLongText; /// True = contains strings with >255 characters.
bool mbHasLongIndexes; /// True = indexes to shared items are 16-bit (BIFF only).
explicit PCSharedItemsModel();
diff --git a/sc/source/filter/inc/scflt.hxx b/sc/source/filter/inc/scflt.hxx
index 216dc4f41e52..a6878c34c8ec 100644
--- a/sc/source/filter/inc/scflt.hxx
+++ b/sc/source/filter/inc/scflt.hxx
@@ -480,7 +480,7 @@ struct Sc10GraphHeader
sal_Int16 CarretX; // Cell Position of Grafik
sal_Int16 CarretY;
sal_Int16 CarretZ;
- sal_Int32 x; // x,y distance to cell border in pixels (pixels, as Grafics are stored in window)
+ sal_Int32 x; // x,y distance to cell border in pixels (pixels, as Graphics are stored in window)
sal_Int32 y;
sal_Int32 w; // w,h width and height in pixels
sal_Int32 h;
diff --git a/sc/source/filter/inc/xelink.hxx b/sc/source/filter/inc/xelink.hxx
index b269e29e43a5..0a606f3e9572 100644
--- a/sc/source/filter/inc/xelink.hxx
+++ b/sc/source/filter/inc/xelink.hxx
@@ -101,7 +101,7 @@ private:
void CalcSortedIndexes();
private:
- /** Data structure with infoemation about one Calc sheet. */
+ /** Data structure with information about one Calc sheet. */
struct XclExpTabInfoEntry
{
OUString maScName;
diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx
index eb27f388ea7d..74e14666543d 100644
--- a/sc/source/filter/inc/xiescher.hxx
+++ b/sc/source/filter/inc/xiescher.hxx
@@ -292,7 +292,7 @@ protected:
/** Reads fil data, line data, and frame flags. */
void ReadFrameData( XclImpStream& rStrm );
- /** Converts fill formatting, line formattind, and frame style. */
+ /** Converts fill formatting, line formatting, and frame style. */
void ConvertRectStyle( SdrObject& rSdrObj ) const;
/** Reads the contents of the a BIFF3 OBJ record from the passed stream. */
diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx
index 3e8dd034fdc5..8748ffee4db3 100644
--- a/sc/source/filter/oox/formulaparser.cxx
+++ b/sc/source/filter/oox/formulaparser.cxx
@@ -618,7 +618,7 @@ void FormulaParserImpl::initializeImport( const CellAddress& rBaseAddr, FormulaT
break;
case FORMULATYPE_DEFINEDNAME:
mbRelativeAsOffset = true;
- // BIFF2-BIFF4: convert 2D referebces to absolute 3D references
+ // BIFF2-BIFF4: convert 2D references to absolute 3D references
mb2dRefsAs3dRefs = (getFilterType() == FILTER_BIFF) && (getBiff() <= BIFF4);
break;
}
diff --git a/sc/source/filter/qpro/qpro.cxx b/sc/source/filter/qpro/qpro.cxx
index 1ca679cd1885..76019722becd 100644
--- a/sc/source/filter/qpro/qpro.cxx
+++ b/sc/source/filter/qpro/qpro.cxx
@@ -153,7 +153,7 @@ FltError ScQProReader::import( ScDocument *pDoc )
{
switch( getId() )
{
- case 0x0000: // Begginning of file
+ case 0x0000: // Beginning of file
mpStream->ReadUInt16( nVersion );
break;
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx
index 9d691ed2e35e..1af0794e956d 100644
--- a/sc/source/filter/xml/xmlcelli.cxx
+++ b/sc/source/filter/xml/xmlcelli.cxx
@@ -876,7 +876,7 @@ void ScXMLTableRowCellContext::SetAnnotation(const ScAddress& rPos)
"ScXMLTableRowCellContext::SetAnnotation - shape without drawing page" );
if( mxAnnotationData->mxShape.is() && mxAnnotationData->mxShapes.is() )
{
- OSL_ENSURE( mxAnnotationData->mxShapes.get() == xShapes.get(), "ScXMLTableRowCellContext::SetAnnotation - diffenet drawing pages" );
+ OSL_ENSURE( mxAnnotationData->mxShapes.get() == xShapes.get(), "ScXMLTableRowCellContext::SetAnnotation - different drawing pages" );
SdrObject* pObject = ::GetSdrObjectFromXShape( mxAnnotationData->mxShape );
OSL_ENSURE( pObject, "ScXMLTableRowCellContext::SetAnnotation - cannot get SdrObject from shape" );
diff --git a/sc/source/filter/xml/xmlfilti.cxx b/sc/source/filter/xml/xmlfilti.cxx
index f9b96b3107a6..ab70483ee29e 100644
--- a/sc/source/filter/xml/xmlfilti.cxx
+++ b/sc/source/filter/xml/xmlfilti.cxx
@@ -513,7 +513,7 @@ SvXMLImportContext* ScXMLSetItemContext::CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLName,
const Reference<XAttributeList>& /*xAttrList*/ )
{
- return new SvXMLImportContext( GetImport(), nPrefix, rLName );;
+ return new SvXMLImportContext( GetImport(), nPrefix, rLName );
}
ScXMLSetItemContext::~ScXMLSetItemContext()
diff --git a/sc/source/filter/xml/xmlnexpi.cxx b/sc/source/filter/xml/xmlnexpi.cxx
index 99f5def87f61..37dcb0246c50 100644
--- a/sc/source/filter/xml/xmlnexpi.cxx
+++ b/sc/source/filter/xml/xmlnexpi.cxx
@@ -218,7 +218,7 @@ SvXMLImportContext *ScXMLNamedExpressionContext::CreateChildContext( sal_uInt16
const css::uno::Reference<
css::xml::sax::XAttributeList>& /* xAttrList */ )
{
- return new SvXMLImportContext( GetImport(), nPrefix, rLName );;
+ return new SvXMLImportContext( GetImport(), nPrefix, rLName );
}
void ScXMLNamedExpressionContext::EndElement()
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index a0956de1799e..55916f10e75a 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -314,7 +314,7 @@ SvXMLImportContext* XMLTableCellPropsContext::CreateChildContext( sal_uInt16 nPr
{
// no need for a custom context or indeed a SvXMLTokenMap to grab just the
// single attribute ( href ) that we are interested in.
- // still though, we will check namesspaces etc.
+ // still though, we will check namespaces etc.
if ( ( XML_NAMESPACE_STYLE == nPrefix) &&
IsXMLToken(rLocalName, XML_HYPERLINK ) )
{
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index d30805a2e14a..4c4e81147d68 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -236,7 +236,7 @@ ScInputWindow::ScInputWindow( vcl::Window* pParent, SfxBindings* pBind ) :
// If the input row was hidden while editing (e.g. when editing a formula
// and then switching to another document or the help), display the text
// we just edited from the InputHandler
- aTextWindow.SetTextString( pInputHdl->GetEditString() ); // Dispaly text
+ aTextWindow.SetTextString( pInputHdl->GetEditString() ); // Display text
if ( pInputHdl->IsTopMode() )
pInputHdl->SetMode( SC_INPUT_TABLE ); // Focus ends up at the bottom anyways
}
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index 9e91618e2c5f..0c3e05dbc076 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -502,7 +502,7 @@ void ScCondFormatDlg::RefInputDone( bool bForced )
ScAnyRefDlg::RefInputDone(bForced);
// ScAnyRefModalDlg::RefInputDone resets the title back
- // to it's original state.
+ // to its original state.
// I.e. if we open the dialog normally, and then click into the sheet
// to modify the selection, the title is updated such that the range
// is only a single cell (e.g. $A$1), after which the dialog switches
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index f14f1e957c01..89b2d26f493f 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -1176,7 +1176,7 @@ bool checkNewOutputRange(ScDPObject& rDPObj, ScDocShell& rDocShell, ScRange& rNe
const ScSheetSourceDesc* pSheetDesc = rDPObj.GetSheetDesc();
if (pSheetDesc && pSheetDesc->GetSourceRange().Intersects(rNewOut))
{
- // New output range intersepts with the source data. Move it up to
+ // New output range intersteps with the source data. Move it up to
// where the old range is and see if that works.
ScRange aOldRange = rDPObj.GetOutRange();
SCsROW nDiff = aOldRange.aStart.Row() - rNewOut.aStart.Row();
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 0a0a7c394b0d..3ca38ac018cf 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -2194,7 +2194,7 @@ bool ScDocShell::DdeSetData( const OUString& rItem,
}
// Address in DDE function must be always parsed as CONV_OOO so that it
- // would always work regardless of current address convension. We do this
+ // would always work regardless of current address conversion. We do this
// because the address item in a DDE entry is *not* normalized when saved
// into ODF.
ScRange aRange;
diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx
index 9d5f4e1958cd..aa7e5af437f1 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -50,7 +50,7 @@ private:
// should be const because we should not modify it here
const std::map<OUString, std::unique_ptr<ScRangeName>>& m_RangeMap;
// for performance, save which entries already have the formula entry
- // otherwise opening the dialog with a lot of range names is extremelly slow because
+ // otherwise opening the dialog with a lot of range names is extremely slow because
// we would calculate all formula strings during opening
std::map<SvTreeListEntry*, bool> maCalculatedFormulaEntries;
const ScAddress maPos;
diff --git a/sc/source/ui/miscdlgs/inscodlg.cxx b/sc/source/ui/miscdlgs/inscodlg.cxx
index 5a29f2e8852c..31f3ea3f486f 100644
--- a/sc/source/ui/miscdlgs/inscodlg.cxx
+++ b/sc/source/ui/miscdlgs/inscodlg.cxx
@@ -121,8 +121,8 @@ ScInsertContentsDlg::ScInsertContentsDlg( vcl::Window* pParent,
mpBtnInsAll->SetClickHdl( LINK( this, ScInsertContentsDlg, InsAllHdl ) );
mpBtnLink->SetClickHdl( LINK( this, ScInsertContentsDlg, LinkBtnHdl ) );
- mpBtnShortCutPasteValuesOnly->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );;
- mpBtnShortCutPasteValuesFormats->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );;
+ mpBtnShortCutPasteValuesOnly->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );
+ mpBtnShortCutPasteValuesFormats->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );
mpBtnShortCutPasteTranspose->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );
}
diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src
index fd15cf13d101..82e5e62b222d 100644
--- a/sc/source/ui/src/scstring.src
+++ b/sc/source/ui/src/scstring.src
@@ -848,7 +848,7 @@ String STR_DEL_AUTOFORMAT_TITLE
String STR_DEL_AUTOFORMAT_MSG
{
- Text [ en-US ] = "Do you really want to delete the # AutoFomat?" ;
+ Text [ en-US ] = "Do you really want to delete the # AutoFormat?" ;
};
String STR_BTN_AUTOFORMAT_CLOSE
diff --git a/sc/source/ui/unoobj/condformatuno.cxx b/sc/source/ui/unoobj/condformatuno.cxx
index ef9542e5ea83..ae121a45aed0 100644
--- a/sc/source/ui/unoobj/condformatuno.cxx
+++ b/sc/source/ui/unoobj/condformatuno.cxx
@@ -366,7 +366,7 @@ void ScCondFormatsObj::removeByID(const sal_Int32 nID)
throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- ScConditionalFormatList* pFormatList = getCoreObject();;
+ ScConditionalFormatList* pFormatList = getCoreObject();
pFormatList->erase(nID);
}
@@ -374,7 +374,7 @@ uno::Sequence<uno::Reference<sheet::XConditionalFormat> > ScCondFormatsObj::getC
throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- ScConditionalFormatList* pFormatList = getCoreObject();;
+ ScConditionalFormatList* pFormatList = getCoreObject();
size_t n = pFormatList->size();
uno::Sequence<uno::Reference<sheet::XConditionalFormat> > aCondFormats(n);
sal_Int32 i = 0;
@@ -390,8 +390,8 @@ sal_Int32 ScCondFormatsObj::getLength()
throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- ScConditionalFormatList* pFormatList = getCoreObject();;
- return pFormatList->size();;
+ ScConditionalFormatList* pFormatList = getCoreObject();
+ return pFormatList->size();
}
ScConditionalFormatList* ScCondFormatsObj::getCoreObject()
diff --git a/sc/source/ui/vba/excelvbahelper.hxx b/sc/source/ui/vba/excelvbahelper.hxx
index c62f5bf0beb8..d98a1be171c1 100644
--- a/sc/source/ui/vba/excelvbahelper.hxx
+++ b/sc/source/ui/vba/excelvbahelper.hxx
@@ -75,7 +75,7 @@ template < typename ImplObject >
if ( xTunnel.is() )
pObj = reinterpret_cast<ImplObject*>( xTunnel->getSomething(ImplObject::getUnoTunnelId()));
if ( bThrow && !pObj )
- throw css::uno::RuntimeException("Internal error, can't exctract implementation object", rxWrapperIf );
+ throw css::uno::RuntimeException("Internal error, can't extract implementation object", rxWrapperIf );
return pObj;
}
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index a57f136500ef..3a984d1cb6e5 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -412,7 +412,7 @@ ScVbaApplication::setStatusBar( const uno::Any& _statusbar ) throw (uno::Runtime
}
}
else
- throw uno::RuntimeException("Invalid prarameter. It should be a string or False" );
+ throw uno::RuntimeException("Invalid parameter. It should be a string or False" );
}
::sal_Int32 SAL_CALL
@@ -599,7 +599,7 @@ ScVbaApplication::GoTo( const uno::Any& Reference, const uno::Any& Scroll ) thro
ScGridWindow* gridWindow = static_cast<ScGridWindow*>(pShell->GetWindow());
if ( xVbaRange.is() )
{
- //TODO bScroll should be using. An this time, it does not have effection
+ //TODO bScroll should be used. At this time, it does not have effect
if( bScroll )
{
xVbaRange->Select();
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index ec58bc901a3f..081400cafb16 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -203,7 +203,7 @@ ScVbaWindow::init()
still zero. The implementation of ActivePane() uses a UNO reference of
this (to set this window as parent of the pane object). This requires
the own refcount to be non-zero, otherwise this instance will be
- desctructed immediately! Guard the call to ActivePane() in try/catch to
+ destructed immediately! Guard the call to ActivePane() in try/catch to
not miss the decrementation of the reference count on exception. */
osl_atomic_increment( &m_refCount );
try
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx
index 0160826d043c..2bd237a327a7 100644
--- a/sc/source/ui/vba/vbaworkbook.cxx
+++ b/sc/source/ui/vba/vbaworkbook.cxx
@@ -47,7 +47,7 @@
#include "docoptio.hxx"
#include "unonames.hxx"
-// Much of the impl. for the equivalend UNO module is
+// Much of the impl. for the equivalent UNO module is
// sc/source/ui/unoobj/docuno.cxx, viewuno.cxx
using namespace ::ooo::vba;
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index bb1ae4311d43..fe96a0e982e9 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5236,7 +5236,7 @@ void ScGridWindow::RFMouseMove( const MouseEvent& rMEvt, bool bUp )
}
if ( bUp )
- aNew.PutInOrder(); // For ButtonUp agin in the proper order
+ aNew.PutInOrder(); // For ButtonUp again in the proper order
if ( aNew != aOld )
{
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 16e24992f9fd..523349fd4959 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -338,7 +338,7 @@ void ScOutputData::DrawGrid(vcl::RenderContext& rRenderContext, bool bGrid, bool
// * when bWorksInPixels is false: these are in the logic units
//
// This is where all the confusion comes from, ultimately we want them
- // always in the logic units (100th of milimiters), but we need to get
+ // always in the logic units (100th of millimiters), but we need to get
// there gradually (get rid of setting MAP_PIXEL first), otherwise we'd
// break all the drawing by one change.
// So until that happens, we need to special case.
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 7926f724d16a..7b34af1c1d86 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -289,7 +289,7 @@ void ScTabControl::Select()
// SetReference onlw when the consolidate dialog is open
// (for referenzes over multiple sheets)
- // for others this is only uneeded fidgeting
+ // for others this is only needed fidgeting
if ( bRefMode && pViewData->GetRefType() == SC_REFTYPE_REF )
if ( pViewData->GetViewShell()->GetViewFrame()->HasChildWindow(SID_OPENDLG_CONSOLIDATE) )
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 914c68483258..cf82bf897559 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -1060,7 +1060,7 @@ IMPL_LINK_TYPED( ScTabView, ScrollHdl, ScrollBar*, pScroll, void )
/* Convert scrollbar mouse position to screen position. If RTL
mode of scrollbar differs from RTL mode of its parent, then the
direct call to Window::OutputToNormalizedScreenPixel() will
- give unusable results, because calcualtion of screen position
+ give unusable results, because calculation of screen position
is based on parent orientation and expects equal orientation of
the child position. Need to mirror mouse position before. */
Point aMousePos = pScroll->GetPointerPosPixel();
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 8e6d1432f30a..7bdeeae35f62 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -758,7 +758,7 @@ void ScTabView::AlignToCursor( SCsCOL nCurX, SCsROW nCurY, ScFollowMode eMode,
// when for instance a search dialog is open, don't put the cursor behind the dialog
// if possible, put the row with the cursor above or below the dialog
- //! not if already complelely visible
+ //! not if already completely visible
if ( eMode == SC_FOLLOW_JUMP )
{
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index d48fde82131d..76b8562b883a 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -104,7 +104,7 @@ void ScTabView::Init()
pTabControl->SetStyle(pTabControl->GetStyle() | WB_SIZEABLE);
/* #i97900# The tab control has to remain in RTL mode if GUI is RTL, this
- is needed to draw the 3D effect correctly. The base TabBar implementes
+ is needed to draw the 3D effect correctly. The base TabBar implements
mirroring independent from the GUI direction. Have to set RTL mode
explicitly because the parent frame window is already RTL disabled. */
pTabControl->EnableRTL( AllSettings::GetLayoutRTL() );