[Libreoffice-commits] core.git: sc/source
Andrea Gelmini
andrea.gelmini at gelma.net
Tue Sep 29 23:27:03 PDT 2015
sc/source/filter/oox/defnamesbuffer.cxx | 4 ++--
sc/source/filter/oox/pivotcachebuffer.cxx | 2 +-
sc/source/filter/oox/revisionfragment.cxx | 2 +-
sc/source/filter/oox/sheetdatabuffer.cxx | 2 +-
sc/source/filter/oox/viewsettings.cxx | 2 +-
sc/source/filter/starcalc/scflt.cxx | 2 +-
sc/source/ui/app/inputhdl.cxx | 2 +-
sc/source/ui/app/uiitems.cxx | 2 +-
sc/source/ui/docshell/docsh.cxx | 2 +-
sc/source/ui/docshell/docsh4.cxx | 2 +-
sc/source/ui/drawfunc/fudraw.cxx | 2 +-
sc/source/ui/inc/csvcontrol.hxx | 2 +-
sc/source/ui/navipi/navipi.cxx | 4 ++--
sc/source/ui/unoobj/chart2uno.cxx | 2 +-
sc/source/ui/unoobj/confuno.cxx | 2 +-
15 files changed, 17 insertions(+), 17 deletions(-)
New commits:
commit 7de7eeff1c92427262a2400c69daf2c84cffe088
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Tue Sep 29 17:57:36 2015 +0200
Fix typos
Change-Id: I532c635d2dd2ba58bb6dba6422cb50dfac32fcc5
Reviewed-on: https://gerrit.libreoffice.org/18970
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx
index 20bb852..a1811d7 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 64da525..704b098 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 14fb06f..db15193 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 812eee1..1fd0788 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 05a70fc..fae3067 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 9e12fa0..683445c 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 7b157bf..8cabdcb 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 a1c9b24..9a79988 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 140b525..9860e53 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 6e1717fe..262b902 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 767ba47..d999bf2 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 46866da..d62c899 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 f25e85b..382488b 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 a4eea9d..2bec744 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 0ddaaa1..3c9277c 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(
More information about the Libreoffice-commits
mailing list