summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:53 -0400
commitd955148381be3496b091fab7c2335d080634d376 (patch)
treefed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /sc
parent1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/qa/complex/sc/CalcRTL.java2
-rw-r--r--sc/qa/unit/helper/qahelper.hxx2
-rw-r--r--sc/qa/unit/ucalc.cxx2
-rw-r--r--sc/qa/unit/ucalc_formula.cxx2
-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
61 files changed, 69 insertions, 69 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index b617fa1717e5..01f7a48f51e1 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -317,7 +317,7 @@ private:
ScFormulaCell* pFormulaTree; // formula tree (start)
ScFormulaCell* pEOFormulaTree; // formula tree (end), last cell
ScFormulaCell* pFormulaTrack; // BroadcastTrack (start)
- ScFormulaCell* pEOFormulaTrack; // BrodcastTrack (end), last cell
+ ScFormulaCell* pEOFormulaTrack; // BroadcastTrack (end), last cell
ScBroadcastAreaSlotMachine* pBASM; // BroadcastAreas
ScChartListenerCollection* pChartListenerCollection;
SvMemoryStream* pClipData;
diff --git a/sc/qa/complex/sc/CalcRTL.java b/sc/qa/complex/sc/CalcRTL.java
index 2da80548e387..57529e6d709f 100644
--- a/sc/qa/complex/sc/CalcRTL.java
+++ b/sc/qa/complex/sc/CalcRTL.java
@@ -473,7 +473,7 @@ public class CalcRTL
}
/*
- * This method inserts a RectangleShape into the calc document xSheetDoc and returns the resultung XShape-object
+ * This method inserts a RectangleShape into the calc document xSheetDoc and returns the resulting XShape-object
*/
protected XShape getInsertedShape() {
XShape insertedShape = null;
diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx
index 1beb33cb866c..cce409c9adbd 100644
--- a/sc/qa/unit/helper/qahelper.hxx
+++ b/sc/qa/unit/helper/qahelper.hxx
@@ -111,7 +111,7 @@ SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const OpCode&
// handling APIs? Do we really want to add arbitrary new file handling
// wrappers here and there (and then having to handle the Android (and
// eventually perhaps iOS) special cases here, too)? Please move this to osl,
-// it sure looks gemerally useful. Or am I missing something?
+// it sure looks generally useful. Or am I missing something?
SCQAHELPER_DLLPUBLIC void loadFile(const OUString& aFileName, std::string& aContent);
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 65e9fbce9cbf..3be2f8e8cb28 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -5717,7 +5717,7 @@ void Test::testCondFormatInsertDeleteSheets()
ScConditionalFormatList* pList = m_pDoc->GetCondFormList(0);
CPPUNIT_ASSERT(pList);
const ScConditionalFormat* pCheck = pList->GetFormat(nKey);
- CPPUNIT_ASSERT_MESSAGE("Wrong condntional format instance.", pCheck == pFormat);
+ CPPUNIT_ASSERT_MESSAGE("Wrong conditional format instance.", pCheck == pFormat);
// ... and its range is B2:B4.
ScRangeList aCheckRange = pCheck->GetRange();
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 99dc5ca388cb..75ef6a2ba0c0 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -4190,7 +4190,7 @@ void Test::testFuncLEN()
ScFormulaCell* pFC = m_pDoc->GetFormulaCell(ScAddress(1,0,0));
CPPUNIT_ASSERT(pFC);
- CPPUNIT_ASSERT_MESSAGE("This formulashould be a matrix origin.",
+ CPPUNIT_ASSERT_MESSAGE("This formula should be a matrix origin.",
pFC->GetMatrixFlag() == MM_FORMULA);
// This should be a 1x3 matrix.
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index d59e5d588d5b..1b03f1f803f6 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 4c42a7d387c2..c2e5bc5da4a8 100644
--- a/sc/source/core/data/column4.cxx
+++ b/sc/source/core/data/column4.cxx
@@ -904,7 +904,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 7bd9f5cd55a2..aaeb3c880d1a 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 c87bca8a7f8e..d37142c92634 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -4006,7 +4006,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);
@@ -6196,7 +6196,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 cffc05af74f4..bed460df4630 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 8b72b196edb1..1df7454367bf 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -3800,7 +3800,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 74acac9ba854..899129908f12 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -812,7 +812,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 0551f2621991..e8245b4da91d 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -488,7 +488,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 c6684c80e706..f64b0bce4724 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -1142,7 +1142,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.
//
@@ -4963,7 +4963,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 143aec6f5e0e..2c303f94a978 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -6189,7 +6189,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 b85a9427e224..fa2453666d49 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -2140,7 +2140,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 76018e4f5136..1fe40aaea6a6 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -2316,7 +2316,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 4dce086be9fa..40f1c02a72c8 100644
--- a/sc/source/filter/excel/xicontent.cxx
+++ b/sc/source/filter/excel/xicontent.cxx
@@ -1227,7 +1227,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 f6ba2eaf62c8..32b43b1c0558 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 f55e570aec17..b3d830b1f1b8 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 996264dd8c72..696d319c520a 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 16339d106aa8..47a43970a028 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5262,7 +5262,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 33ba895fa751..20b74d78fcc9 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -291,7 +291,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 08c0342f6734..b56722ad6fbe 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 2cd556c98589..9334e36ea126 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -815,7 +815,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 c12b2b32715d..12783c13cccb 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() );