summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-01-02 15:51:30 +0100
committerEike Rathke <erack@redhat.com>2015-01-02 20:23:51 +0000
commit3a2b1af87d629a780f0e98559fb8b409378a80c7 (patch)
treeecf27171a38a2d6d4b05b4acd42e8e98b7f7d70a /sc
parentd7794d2584cd5d476b011b5344c77ad59c179c58 (diff)
Fix simple typos.
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/documen7.cxx8
-rw-r--r--sc/source/core/data/table4.cxx2
-rw-r--r--sc/source/ui/navipi/navipi.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index 1871a2483a6d..a627f434aed7 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -352,7 +352,7 @@ void ScDocument::RemoveFromFormulaTree( ScFormulaCell* pCell )
OSL_ENSURE( pCell, "RemoveFromFormulaTree: pCell Null" );
ScFormulaCell* pPrev = pCell->GetPrevious();
assert(pPrev != pCell); // pointing to itself?!?
- // if the cell is first or somwhere in chain
+ // if the cell is first or somewhere in chain
if ( pPrev || pFormulaTree == pCell )
{
ScFormulaCell* pNext = pCell->GetNext();
@@ -369,7 +369,7 @@ void ScDocument::RemoveFromFormulaTree( ScFormulaCell* pCell )
if ( pNext )
{
assert(pEOFormulaTree != pCell); // if this cell is also tail something's wrong
- pNext->SetPrevious( pPrev ); // sucessor exists, set predecessor
+ pNext->SetPrevious( pPrev ); // successor exists, set predecessor
}
else
{
@@ -542,7 +542,7 @@ void ScDocument::RemoveFromFormulaTrack( ScFormulaCell* pCell )
OSL_ENSURE( pCell, "RemoveFromFormulaTrack: pCell Null" );
ScFormulaCell* pPrev = pCell->GetPreviousTrack();
assert(pPrev != pCell); // pointing to itself?!?
- // if the cell is first or somwhere in chain
+ // if the cell is first or somewhere in chain
if ( pPrev || pFormulaTrack == pCell )
{
ScFormulaCell* pNext = pCell->GetNextTrack();
@@ -559,7 +559,7 @@ void ScDocument::RemoveFromFormulaTrack( ScFormulaCell* pCell )
if ( pNext )
{
assert(pEOFormulaTrack != pCell); // if this cell is also tail something's wrong
- pNext->SetPreviousTrack( pPrev ); // sucessor exists, set predecessor
+ pNext->SetPreviousTrack( pPrev ); // successor exists, set predecessor
}
else
{
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 276842937af1..84ee54e22921 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -1451,7 +1451,7 @@ void ScTable::FillSeries( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
// when filling vertically, the inner position is the row position whereas
// when filling horizontally the column position becomes the inner
// position. The term 'outer' refers to the column position when filling
- // vertically, or the row positon when filling horizontally. The fill is
+ // vertically, or the row position when filling horizontally. The fill is
// performed once in each 'outer' position e.g. when filling vertically,
// we perform the fill once in each column.
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index b30420d9619d..fc4fbbdf5ced 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -487,7 +487,7 @@ ScNavigatorDialogWrapper::ScNavigatorDialogWrapper(
SetWindow( pNavigator );
// handle configurations elsewhere,
- // onyl size of pInfo matters now
+ // only size of pInfo matters now
Size aInfoSize = pParent->GetOutputSizePixel(); // outside defined size
Size aNavSize = pNavigator->GetOutputSizePixel(); // Default-Size