[Libreoffice-commits] core.git: sc/source
Andrea Gelmini
andrea.gelmini at gelma.net
Wed Sep 30 06:46:46 PDT 2015
sc/source/core/tool/consoli.cxx | 2 +-
sc/source/core/tool/dbdata.cxx | 2 +-
sc/source/core/tool/formulagroup.cxx | 2 +-
sc/source/core/tool/interpr2.cxx | 6 +++---
sc/source/core/tool/sharedformula.cxx | 2 +-
sc/source/core/tool/token.cxx | 2 +-
sc/source/filter/excel/tokstack.cxx | 2 +-
sc/source/filter/excel/xipivot.cxx | 2 +-
sc/source/filter/html/htmlpars.cxx | 2 +-
sc/source/filter/inc/externallinkbuffer.hxx | 2 +-
sc/source/filter/inc/pivottablebuffer.hxx | 2 +-
sc/source/filter/inc/richstring.hxx | 2 +-
sc/source/filter/inc/tablebuffer.hxx | 2 +-
sc/source/filter/inc/worksheetsettings.hxx | 2 +-
sc/source/filter/inc/xlescher.hxx | 2 +-
15 files changed, 17 insertions(+), 17 deletions(-)
New commits:
commit 1f03430e3d9e9e6b89415efe9c7c8bfabd9c30e5
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Wed Sep 30 11:55:52 2015 +0200
Fix typos
Change-Id: I8450ed77094094b19d77a0ffa37fe9fbaa889fa3
Reviewed-on: https://gerrit.libreoffice.org/18969
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx
index 9934096..bb0777d 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 9edd5d0..23570886 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 f196b16..f3dcd37 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 a1cce0f..677f2d3 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 8e84ac0..debfb03 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 439134f..4c88ebe 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 8365121..933b2d4 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 2539184..53afce6 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 e5dfeae..220ca50 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 08a2ff8..2ddc5d2 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 a94e35d..7759928 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 4cfe3a9..5635fed 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 2bc2cfe..c18c57a 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 f314733..5a8d9a4 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 f8afb4e..d877a6a 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;
More information about the Libreoffice-commits
mailing list