diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-04-26 09:56:47 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:26:04 -0400 |
commit | 9c7cae1561cfe16226b1f16dce59f08a38da3ce0 (patch) | |
tree | 4eaa57139ad89692acc39438c5a225184efde5b7 /sc | |
parent | 2d9bbc20d8d465afbf61d69bae120d30c14046f9 (diff) |
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/24317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit fc2590cfa112222500a6c847917d7545f60024c6)
Change-Id: Id81b16ff26283611f0b84929d831c827f847ab73
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/chartlis.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/sharedformula.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 09e46353573d..599fb4611682 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -1469,7 +1469,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 d2e50bd0e90a..9387549dfd29 100644 --- a/sc/source/core/tool/chartlis.cxx +++ b/sc/source/core/tool/chartlis.cxx @@ -575,7 +575,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 c90d8dbf6d3a..1c1fee5518b3 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 cdca3947d20a..462fc4993822 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(); } |