summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-30 11:55:52 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 13:46:23 +0000
commit1f03430e3d9e9e6b89415efe9c7c8bfabd9c30e5 (patch)
tree78d2a8945270a522139f625af73404c208120dd3
parent3f6da86e9fb9390d7c9f97769a79bddb265e43b4 (diff)
Fix typos
Change-Id: I8450ed77094094b19d77a0ffa37fe9fbaa889fa3 Reviewed-on: https://gerrit.libreoffice.org/18969 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
-rw-r--r--sc/source/core/tool/consoli.cxx2
-rw-r--r--sc/source/core/tool/dbdata.cxx2
-rw-r--r--sc/source/core/tool/formulagroup.cxx2
-rw-r--r--sc/source/core/tool/interpr2.cxx6
-rw-r--r--sc/source/core/tool/sharedformula.cxx2
-rw-r--r--sc/source/core/tool/token.cxx2
-rw-r--r--sc/source/filter/excel/tokstack.cxx2
-rw-r--r--sc/source/filter/excel/xipivot.cxx2
-rw-r--r--sc/source/filter/html/htmlpars.cxx2
-rw-r--r--sc/source/filter/inc/externallinkbuffer.hxx2
-rw-r--r--sc/source/filter/inc/pivottablebuffer.hxx2
-rw-r--r--sc/source/filter/inc/richstring.hxx2
-rw-r--r--sc/source/filter/inc/tablebuffer.hxx2
-rw-r--r--sc/source/filter/inc/worksheetsettings.hxx2
-rw-r--r--sc/source/filter/inc/xlescher.hxx2
15 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx
index 99340963ef90..bb0777d56fd0 100644
--- a/sc/source/core/tool/consoli.cxx
+++ b/sc/source/core/tool/consoli.cxx
@@ -675,7 +675,7 @@ void ScConsData::OutputToDocument( ScDocument* pDestDoc, SCCOL nCol, SCROW nRow,
//TODO: differentiate, if split into categories
OUString aString;
- ScSingleRefData aSRef; // data for Referece formula cells
+ ScSingleRefData aSRef; // data for Reference formula cells
aSRef.InitFlags(); // this reference is absolute at all times
aSRef.SetFlag3D(true);
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index 9edd5d05b91a..23570886bd26 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -1433,7 +1433,7 @@ void ScDBCollection::UpdateReference(UpdateRefMode eUpdateRefMode,
}
else
{
- //this will perhabs break undo
+ //this will perhaps break undo
}
}
diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index f196b165c025..f3dcd375c9df 100644
--- a/sc/source/core/tool/formulagroup.cxx
+++ b/sc/source/core/tool/formulagroup.cxx
@@ -424,7 +424,7 @@ bool FormulaGroupInterpreterSoftware::interpret(ScDocument& rDoc, const ScAddres
if (p2->IsStartFixed() && p2->IsEndFixed())
{
- // Cached the converted token for absolute range referene.
+ // Cached the converted token for absolute range reference.
ScComplexRefData aRef;
ScRange aRefRange = rTopPos;
aRefRange.aEnd.SetRow(rTopPos.Row() + nRowEnd);
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index a1cce0f4822c..677f2d305208 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -1171,13 +1171,13 @@ void ScInterpreter::ScIRR()
fEstimated = GetDouble();
else
fEstimated = 0.1;
- sal_uInt16 sPos = sp; //memory the position of the stack
+ sal_uInt16 sPos = sp; // memorize the position of the stack
double fEps = 1.0;
double x, fValue;
if (fEstimated == -1.0)
- x = 0.1; // default result for divion by zero
+ x = 0.1; // default result for division by zero
else
- x = fEstimated; // startvalue
+ x = fEstimated; // startvalue
switch (GetStackType())
{
case svDoubleRef :
diff --git a/sc/source/core/tool/sharedformula.cxx b/sc/source/core/tool/sharedformula.cxx
index 8e84ac0f0135..debfb035fb39 100644
--- a/sc/source/core/tool/sharedformula.cxx
+++ b/sc/source/core/tool/sharedformula.cxx
@@ -256,7 +256,7 @@ void SharedFormulaUtil::unshareFormulaCell(const CellStoreType::position_type& a
}
else
{
- // Just shortern the shared range length by one.
+ // Just shorten the shared range length by one.
--xGroup->mnLength;
}
}
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 439134fae419..4c88ebe3560d 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -182,7 +182,7 @@ namespace
return pTR;
if (p->GetRef() > 1)
// Reference handled in RPN, but do not return nullptr so
- // loops will process ocTableRef via pp instead of issueing
+ // loops will process ocTableRef via pp instead of issuing
// a continue.
return pTR;
}
diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx
index 83651217b041..933b2d42d535 100644
--- a/sc/source/filter/excel/tokstack.cxx
+++ b/sc/source/filter/excel/tokstack.cxx
@@ -653,7 +653,7 @@ const TokenId TokenPool::Store( const OUString& rString )
if (ppP_Str[ nP_StrAkt ])
{
- /* attention trucate to 16 bits */
+ /* attention truncate to 16 bits */
pSize[ nElementAkt ] = ( sal_uInt16 ) ppP_Str[ nP_StrAkt ]->getLength();
}
diff --git a/sc/source/filter/excel/xipivot.cxx b/sc/source/filter/excel/xipivot.cxx
index 253918428c97..53afce640560 100644
--- a/sc/source/filter/excel/xipivot.cxx
+++ b/sc/source/filter/excel/xipivot.cxx
@@ -1455,7 +1455,7 @@ void XclImpPivotTable::MaybeRefresh()
void XclImpPivotTable::ApplyMergeFlags(const ScRange& rOutRange, const ScDPSaveData& rSaveData)
{
- // Apply merge flags for varoius datapilot controls.
+ // Apply merge flags for various datapilot controls.
ScDPOutputGeometry aGeometry(rOutRange, false);
aGeometry.setColumnFieldCount(maPTInfo.mnColFields);
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index e5dfeae8ae79..220ca5074b45 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -2084,7 +2084,7 @@ void ScHTMLTable::RowOff( const ImportInfo& rInfo )
namespace {
/**
- * Decode a numbert format string stored in Excel-generated HTML's CSS
+ * Decode a number format string stored in Excel-generated HTML's CSS
* region.
*/
OUString decodeNumberFormat(const OUString& rFmt)
diff --git a/sc/source/filter/inc/externallinkbuffer.hxx b/sc/source/filter/inc/externallinkbuffer.hxx
index 08a2ff8faad2..2ddc5d2e5d4e 100644
--- a/sc/source/filter/inc/externallinkbuffer.hxx
+++ b/sc/source/filter/inc/externallinkbuffer.hxx
@@ -253,7 +253,7 @@ private:
void setDdeOleTargetUrl( const OUString& rClassName, const OUString& rTargetUrl, ExternalLinkType eLinkType );
void parseExternalReference( const ::oox::core::Relations& rRelations, const OUString& rRelId );
- /** Creates an external locument link and the sheet cache for the passed sheet name. */
+ /** Creates an external document link and the sheet cache for the passed sheet name. */
void insertExternalSheet( const OUString& rSheetName );
ExternalNameRef createExternalName();
diff --git a/sc/source/filter/inc/pivottablebuffer.hxx b/sc/source/filter/inc/pivottablebuffer.hxx
index a94e35dc26a6..77599286db72 100644
--- a/sc/source/filter/inc/pivottablebuffer.hxx
+++ b/sc/source/filter/inc/pivottablebuffer.hxx
@@ -79,7 +79,7 @@ struct PTFieldModel
bool mbInsertPageBreak; /// True = insert page breaks after items.
bool mbAutoShow; /// True = auto show (top 10) filter enabled.
bool mbTopAutoShow; /// True = auto show filter shows top entries, false = bottom.
- bool mbMultiPageItems; /// True = multiple items selectable in page diemsion.
+ bool mbMultiPageItems; /// True = multiple items selectable in page dimension.
explicit PTFieldModel();
diff --git a/sc/source/filter/inc/richstring.hxx b/sc/source/filter/inc/richstring.hxx
index 4cfe3a9d2ae4..5635fed17330 100644
--- a/sc/source/filter/inc/richstring.hxx
+++ b/sc/source/filter/inc/richstring.hxx
@@ -62,7 +62,7 @@ public:
/** Returns the text data of this portion. */
inline const OUString& getText() const { return maText; }
- /** Returns true, if the portion fontains font formatting. */
+ /** Returns true, if the portion contains font formatting. */
inline bool hasFont() const { return mxFont.get() != 0; }
/** Converts the portion and replaces or appends to the passed XText. */
diff --git a/sc/source/filter/inc/tablebuffer.hxx b/sc/source/filter/inc/tablebuffer.hxx
index 2bc2cfe1cff6..c18c57ab13ad 100644
--- a/sc/source/filter/inc/tablebuffer.hxx
+++ b/sc/source/filter/inc/tablebuffer.hxx
@@ -85,7 +85,7 @@ private:
TableModel maModel;
AutoFilterBuffer maAutoFilters; /// Filter settings for this table.
TableColumnsBuffer maTableColumns; /// Column names of this table.
- OUString maDBRangeName; /// Name of the databae range in the Calc document.
+ OUString maDBRangeName; /// Name of the database range in the Calc document.
::com::sun::star::table::CellRangeAddress
maDestRange; /// Validated range of the table in the worksheet.
sal_Int32 mnTokenIndex; /// Token index used in API token array.
diff --git a/sc/source/filter/inc/worksheetsettings.hxx b/sc/source/filter/inc/worksheetsettings.hxx
index f314733c7b46..5a8d9a47e627 100644
--- a/sc/source/filter/inc/worksheetsettings.hxx
+++ b/sc/source/filter/inc/worksheetsettings.hxx
@@ -44,7 +44,7 @@ struct SheetSettingsModel
struct SheetProtectionModel
{
sal_uInt16 mnPasswordHash; /// Hash value from sheet protection password.
- bool mbSheet; /// True = sheet protection enabled, locked cells are protcted.
+ bool mbSheet; /// True = sheet protection enabled, locked cells are protected.
bool mbObjects; /// True = objects locked.
bool mbScenarios; /// True = scenarios locked.
bool mbFormatCells; /// True = format cells locked.
diff --git a/sc/source/filter/inc/xlescher.hxx b/sc/source/filter/inc/xlescher.hxx
index f8afb4ef8701..d877a6a07416 100644
--- a/sc/source/filter/inc/xlescher.hxx
+++ b/sc/source/filter/inc/xlescher.hxx
@@ -201,7 +201,7 @@ const sal_uInt16 EXC_OBJ_DROPDOWN_LISTBOX = 0; /// Listbox, text not ed
const sal_uInt16 EXC_OBJ_DROPDOWN_COMBOBOX = 1; /// Dropdown listbox with editable text.
const sal_uInt16 EXC_OBJ_DROPDOWN_SIMPLE = 2; /// Dropdown button only, no text area.
const sal_uInt16 EXC_OBJ_DROPDOWN_MAX = 3;
-const sal_uInt16 EXC_OBJ_DROPDOWN_FILTERED = 0x0008; /// Drowdown style: filtered.
+const sal_uInt16 EXC_OBJ_DROPDOWN_FILTERED = 0x0008; /// Dropdown style: filtered.
// BIFF5 groupboxes
const sal_uInt16 EXC_OBJ_GROUPBOX_FLAT = 0x0001;