summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:57:36 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 06:26:40 +0000
commit7de7eeff1c92427262a2400c69daf2c84cffe088 (patch)
tree91a9172ccb4b8a24470c00067ad72c1357c4e8f0 /sc
parent04724c97b385d22b9db73c9d078a88fbbe019760 (diff)
Fix typos
Change-Id: I532c635d2dd2ba58bb6dba6422cb50dfac32fcc5 Reviewed-on: https://gerrit.libreoffice.org/18970 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/defnamesbuffer.cxx4
-rw-r--r--sc/source/filter/oox/pivotcachebuffer.cxx2
-rw-r--r--sc/source/filter/oox/revisionfragment.cxx2
-rw-r--r--sc/source/filter/oox/sheetdatabuffer.cxx2
-rw-r--r--sc/source/filter/oox/viewsettings.cxx2
-rw-r--r--sc/source/filter/starcalc/scflt.cxx2
-rw-r--r--sc/source/ui/app/inputhdl.cxx2
-rw-r--r--sc/source/ui/app/uiitems.cxx2
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx2
-rw-r--r--sc/source/ui/inc/csvcontrol.hxx2
-rw-r--r--sc/source/ui/navipi/navipi.cxx4
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx2
-rw-r--r--sc/source/ui/unoobj/confuno.cxx2
15 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx
index 20bb85281fa3..a1811d70c580 100644
--- a/sc/source/filter/oox/defnamesbuffer.cxx
+++ b/sc/source/filter/oox/defnamesbuffer.cxx
@@ -95,7 +95,7 @@ OUString lclGetPrefixedName( sal_Unicode cBuiltinId )
return OUStringBuffer().appendAscii( spcOoxPrefix ).append( lclGetBaseName( cBuiltinId ) ).makeStringAndClear();
}
-/** returns the built-in name identifier from a perfixed built-in name, e.g. '_xlnm.Print_Area'. */
+/** returns the built-in name identifier from a prefixed built-in name, e.g. '_xlnm.Print_Area'. */
sal_Unicode lclGetBuiltinIdFromPrefixedName( const OUString& rModelName )
{
OUString aPrefix = OUString::createFromAscii( spcOoxPrefix );
@@ -248,7 +248,7 @@ void DefinedName::importDefinedName( const AttributeList& rAttribs )
mnCalcSheet = (maModel.mnSheet >= 0) ? getWorksheets().getCalcSheetIndex( maModel.mnSheet ) : -1;
/* Detect built-in state from name itself, there is no built-in flag.
- Built-in names are prexixed with '_xlnm.' instead. */
+ Built-in names are prefixed with '_xlnm.' instead. */
mcBuiltinId = lclGetBuiltinIdFromPrefixedName( maModel.maName );
}
diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx
index 64da525d9812..704b098de939 100644
--- a/sc/source/filter/oox/pivotcachebuffer.cxx
+++ b/sc/source/filter/oox/pivotcachebuffer.cxx
@@ -891,7 +891,7 @@ OUString PivotCacheField::createParentGroupField( const Reference< XDataPilotFie
/* Find the group object and the auto-generated group name.
The returned field contains all groups derived from the
previous field if that is grouped too. To find the correct
- group, the first item used to create the group is serached.
+ group, the first item used to create the group is searched.
Calc provides the original item names of the base field
when the group is querried for its members. Its does not
provide the names of members that are already groups in the
diff --git a/sc/source/filter/oox/revisionfragment.cxx b/sc/source/filter/oox/revisionfragment.cxx
index 14fb06f471ba..db151934a30d 100644
--- a/sc/source/filter/oox/revisionfragment.cxx
+++ b/sc/source/filter/oox/revisionfragment.cxx
@@ -262,7 +262,7 @@ void RevisionHeadersFragment::finalizeImport()
if (aPath.isEmpty())
continue;
- // Parse each reivison log fragment.
+ // Parse each revision log fragment.
const RevisionMetadata& rData = it->second;
pCT->SetUser(rData.maUserName);
pCT->SetFixDateTimeLocal(rData.maDateTime);
diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx
index 812eee140a27..1fd07881d6ef 100644
--- a/sc/source/filter/oox/sheetdatabuffer.cxx
+++ b/sc/source/filter/oox/sheetdatabuffer.cxx
@@ -374,7 +374,7 @@ void SheetDataBuffer::addColXfStyle( sal_Int32 nXfId, sal_Int32 nFormatId, const
// the range style Rows into sections ( to
// occupy only rows that have no style definition )
- // We dont want to set any rowstyle 'rows'
+ // We don't want to set any rowstyle 'rows'
// for rows where there is an existing 'style' )
std::vector< RowRangeStyle > aRangeRowsSplits;
diff --git a/sc/source/filter/oox/viewsettings.cxx b/sc/source/filter/oox/viewsettings.cxx
index 05a70fcd9350..fae30670bc01 100644
--- a/sc/source/filter/oox/viewsettings.cxx
+++ b/sc/source/filter/oox/viewsettings.cxx
@@ -375,7 +375,7 @@ void SheetViewSettings::finalizeImport()
{
/* Frozen panes: handle split position as row/column positions.
#i35812# Excel uses number of visible rows/columns in the
- frozen area (rows/columns scolled outside are not incuded),
+ frozen area (rows/columns scolled outside are not included),
Calc uses absolute position of first unfrozen row/column. */
const CellAddress& rMaxApiPos = getAddressConverter().getMaxApiAddress();
if( (xModel->mfSplitX >= 1.0) && (xModel->maFirstPos.Column + xModel->mfSplitX <= rMaxApiPos.Column) )
diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx
index 9e12fa0fc0eb..683445c8c4cd 100644
--- a/sc/source/filter/starcalc/scflt.cxx
+++ b/sc/source/filter/starcalc/scflt.cxx
@@ -2312,7 +2312,7 @@ void Sc10Import::LoadObjects()
{
sal_uInt8 ObjectType;
Sc10GraphHeader GraphHeader;
- bool IsOleObject = false; // TODO: this is only a bandaid
+ bool IsOleObject = false; // TODO: this is only a band-aid
for (sal_uInt16 i = 0; (i < nAnz) && (nError == 0) && !rStream.IsEof() && !IsOleObject; i++)
{
rStream.ReadUChar( ObjectType );
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 7b157bf034a3..8cabdcb91706 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -2056,7 +2056,7 @@ void ScInputHandler::SyncViews( EditView* pSourceView )
lcl_SetTopSelection(pTableView, aSel);
}
}
- // Only sync selection from topView if we are actually editiing there
+ // Only sync selection from topView if we are actually editing there
else if (pTopView && pTableView)
{
ESelection aSel(pTopView->GetSelection());
diff --git a/sc/source/ui/app/uiitems.cxx b/sc/source/ui/app/uiitems.cxx
index a1c9b242fdae..9a7998849075 100644
--- a/sc/source/ui/app/uiitems.cxx
+++ b/sc/source/ui/app/uiitems.cxx
@@ -92,7 +92,7 @@ void ScInputStatusItem::SetMisspellRanges( const std::vector<editeng::MisspellRa
mpMisspellRanges = pRanges;
}
-// ScPaintHint was moved to schints.cxx
+// ScPaintHint was moved to hints.cxx
/**
* Adapt Views when inserting/deleting a table
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 140b52510c0b..9860e53bc953 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -299,7 +299,7 @@ void ScDocShell::AfterXMLLoading(bool bRet)
if (nLinkTabNameLength < nNameLength)
{
- // remove the quottes on begin and end of the docname and restore the escaped quotes
+ // remove the quotes on begin and end of the docname and restore the escaped quotes
const sal_Unicode* pNameBuffer = aName.getStr();
if ( *pNameBuffer == '\'' && // all docnames have to have a ' character on the first pos
ScGlobal::UnicodeStrChr( pNameBuffer, SC_COMPILER_FILE_TAB_SEP ) )
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 6e1717fe8383..262b902ab9d4 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -1249,7 +1249,7 @@ void ScDocShell::DoHardRecalc( bool /* bApi */ )
// (might check for the presence of any formulas on each sheet)
SCTAB nTabCount = aDocument.GetTableCount();
SCTAB nTab;
- if (aDocument.HasAnySheetEventScript( ScSheetEventId::CALCULATE, true )) // search also for VBA hendler
+ if (aDocument.HasAnySheetEventScript( ScSheetEventId::CALCULATE, true )) // search also for VBA handler
for (nTab=0; nTab<nTabCount; nTab++)
aDocument.SetCalcNotification(nTab);
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 767ba47c8488..d999bf2096ba 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -314,7 +314,7 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
// changeover to the next object
if(!pView->MarkNextObj( !aCode.IsShift() ))
{
- //If there is only one object, don't do the UnmarkAlllObj() & MarkNextObj().
+ //If there is only one object, don't do the UnmarkAllObj() & MarkNextObj().
if ( pView->GetMarkableObjCount() > 1 && pView->HasMarkableObj() )
{
// No next object: go over open end and
diff --git a/sc/source/ui/inc/csvcontrol.hxx b/sc/source/ui/inc/csvcontrol.hxx
index 46866da1cdb0..d62c899745ec 100644
--- a/sc/source/ui/inc/csvcontrol.hxx
+++ b/sc/source/ui/inc/csvcontrol.hxx
@@ -154,7 +154,7 @@ inline bool operator!=( const ScCsvLayoutData& rData1, const ScCsvLayoutData& rD
@descr Controls have to send commands instead of changing their settings directly.
This helps to keep the different controls consistent to each other.
A command can contain 0 to 2 sal_Int32 parameters. In the description of each
- command the required parameters are swown in brackets. [-] means no parameter. */
+ command the required parameters are shown in brackets. [-] means no parameter. */
enum ScCsvCmdType
{
// misc
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index f25e85b15d2e..382488ba777b 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -49,7 +49,7 @@
#include <algorithm>
-// toleance, how much spac above the folded size is still small
+// tolerance, how much spac above the folded size is still small
#define SCNAV_MINTOL 5
// maximum values for UI
@@ -1222,7 +1222,7 @@ void ScNavigatorDlg::GetDocNames( const OUString* pManualSel )
if ( pManualSel ? ( aName == *pManualSel )
: ( pSh == pCurrentSh ) )
- aSelEntry = aEntry; // compelte entry for selection
+ aSelEntry = aEntry; // complete entry for selection
}
pSh = SfxObjectShell::GetNext( *pSh );
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index a4eea9da06eb..2bec7444755f 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -1544,7 +1544,7 @@ ScChart2DataProvider::createDataSource(
}
}
- // Fill Serieses (values and label)
+ // Fill Series (values and label)
sal_Int32 nCount = bOrientCol ? pChartMap->getDataColCount() : pChartMap->getDataRowCount();
for (sal_Int32 i = 0; i < nCount; ++i)
{
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index 0ddaaa114f35..3c9277c1f3fa 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -162,7 +162,7 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue(
sal_Int16 n;
//TODO: css.sheet.XGlobalSheetSettings LinkUpdateMode property is
// documented to take values in the range 0--2 (always, never, on
- // demaned), but appears to be routinely set to 3 here,
+ // demand), but appears to be routinely set to 3 here,
// corresponding to ScLkUpdMode LM_UNKNOWN:
if (!(aValue >>= n) || n < 0 || n > 3) {
throw css::lang::IllegalArgumentException(