summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-04-26 09:56:47 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-30 15:06:45 +0000
commitfc2590cfa112222500a6c847917d7545f60024c6 (patch)
tree951f6a8e86c6d42672b9fe1e6e6cde3ee7eed152 /sc/source
parent783b02de3bc75cd0be1a6e919d4755a297fe7a84 (diff)
Fix typos
Change-Id: Id81b16ff26283611f0b84929d831c827f847ab73 Reviewed-on: https://gerrit.libreoffice.org/24317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/formulacell.cxx2
-rw-r--r--sc/source/core/tool/chartlis.cxx2
-rw-r--r--sc/source/core/tool/sharedformula.cxx2
-rw-r--r--sc/source/ui/view/gridwin2.cxx2
-rw-r--r--sc/source/ui/view/gridwin4.cxx4
5 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 6e3bbca0b449..57a7e647043c 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -1420,7 +1420,7 @@ void ScFormulaCell::CalcAfterLoad( sc::CompileFormulaContext& rCxt, bool bStartL
}
// DoubleRefs for binary operators were always a Matrix before version v5.0.
- // Now this is only the case when when in an array formula, otherwise it's an implicit intersection
+ // Now this is only the case when in an array formula, otherwise it's an implicit intersection
if ( pDocument->GetSrcVersion() < SC_MATRIX_DOUBLEREF &&
GetMatrixFlag() == MM_NONE && pCode->HasMatrixDoubleRefOps() )
{
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index 7efeb337fed5..c97286cb8fd7 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -573,7 +573,7 @@ void ScChartListenerCollection::FreeUno( const uno::Reference< chart::XChartData
}
// Release all pointers currently managed by the ptr_map container.
- // coverity[leaked_storage] - no leak, because because we will take care of them below
+ // coverity[leaked_storage] - no leak, because we will take care of them below
for (auto & it : m_Listeners)
{
it.second.release();
diff --git a/sc/source/core/tool/sharedformula.cxx b/sc/source/core/tool/sharedformula.cxx
index 62e031cca01c..92c1cda2d0cb 100644
--- a/sc/source/core/tool/sharedformula.cxx
+++ b/sc/source/core/tool/sharedformula.cxx
@@ -218,7 +218,7 @@ void SharedFormulaUtil::unshareFormulaCell(const CellStoreType::position_type& a
ScFormulaCellGroupRef xGroup = rCell.GetCellGroup();
if (xGroup->mnLength == 2)
{
- // Group consists only only two cells. Mark the second one non-shared.
+ // Group consists of only two cells. Mark the second one non-shared.
#if DEBUG_COLUMN_STORAGE
if (aPos.second+1 >= aPos.first->size)
{
diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx
index 3b829ad0aeba..d99972898a9b 100644
--- a/sc/source/ui/view/gridwin2.cxx
+++ b/sc/source/ui/view/gridwin2.cxx
@@ -695,7 +695,7 @@ sal_uInt16 ScGridWindow::HitPageBreak( const Point& rMouse, ScRange* pSource,
Point aTL = pViewData->GetScrPos( nPosX, nPosY, eWhich );
Point aBR = pViewData->GetScrPos( nPosX+1, nPosY+1, eWhich );
- // Horizontal more tolerances as as for vertical, because there is more space
+ // Horizontal more tolerances as for vertical, because there is more space
if ( nMouseX <= aTL.X() + 4 )
{
bHori = true;
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 05174c9248c4..ec58fed70534 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -81,7 +81,7 @@ static void lcl_DrawOneFrame( vcl::RenderContext* pDev, const Rectangle& rInnerP
double nPPTX, double nPPTY, const Fraction& rZoomY,
ScDocument* pDoc, ScViewData* pButtonViewData, bool bLayoutRTL )
{
- // pButtonViewData is only used to set the the button size,
+ // pButtonViewData is only used to set the button size,
// can otherwise be NULL!
Rectangle aInner = rInnerPixel;
@@ -925,7 +925,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
pEditView->Paint(rDevice.PixelToLogic(Rectangle(Point(nScrX, nScrY), Size(aOutputData.GetScrW(), aOutputData.GetScrH()))), &rDevice);
rDevice.SetMapMode(MAP_PIXEL);
- // restore the cursor it it was originally visible
+ // restore the cursor it was originally visible
if (bVisCursor)
pCrsr->Show();
}