diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-09-10 10:37:53 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-09-10 14:18:04 +0200 |
commit | 0c234a60ae31c2404dfec9d09cc79a1a5c4558fd (patch) | |
tree | d6139e8b035e9fc5f5f36bbfb9d0e0bc7c859b9f /sc/source | |
parent | b86ab7eb8b14b877c93be23bfc944e629e080573 (diff) |
Fix typos
Change-Id: I79f87f033eeb67d1750bb595d311d74ef3db6ce9
Reviewed-on: https://gerrit.libreoffice.org/78795
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin2.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx index be603d6f3108..58db4cadcd4a 100644 --- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx +++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx @@ -197,11 +197,11 @@ bool ScAccessibleSpreadsheet::CalcScRangeListDifferenceMax(ScRangeList *pSrc,ScR int nSize =0; if (pDest->GetCellCount() == 0)//if the Dest Rang List is empty { - if (pSrc->GetCellCount() > sal_uInt32(nMax))//if the Src Cell count is greater then nMax + if (pSrc->GetCellCount() > sal_uInt32(nMax))//if the Src Cell count is greater than nMax { return true; } - //now the cell count is less then nMax + //now the cell count is less than nMax vecRet.reserve(10); size_t nSrcSize = pSrc->size(); for (size_t i = 0; i < nSrcSize; ++i) diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index c2ceabd35c77..dab34195c1cf 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -5208,7 +5208,7 @@ bool ScGridWindow::GetEditUrl( const Point& rPos, std::shared_ptr<ScFieldEditEngine> pEngine = createEditEngine(pDocSh, *pPattern); - MapMode aEditMode = pViewData->GetLogicMode(eWhich); // without draw scaleing + MapMode aEditMode = pViewData->GetLogicMode(eWhich); // without draw scaling tools::Rectangle aLogicEdit = PixelToLogic( aEditRect, aEditMode ); long nThisColLogic = aLogicEdit.Right() - aLogicEdit.Left() + 1; Size aPaperSize( 1000000, 1000000 ); diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx index ebb73fe891ae..dcbf78acdaf3 100644 --- a/sc/source/ui/view/gridwin2.cxx +++ b/sc/source/ui/view/gridwin2.cxx @@ -988,7 +988,7 @@ void ScGridWindow::PagebreakMove( const MouseEvent& rMEvt, bool bUp ) } if ( bGrow ) { - // change last break to hard, and change scaleing + // change last break to hard, and change scaling bool bManualBreak(rDoc.HasColBreak(static_cast<SCCOL>(nPagebreakPrev), nTab) & ScBreakType::Manual); if ( static_cast<SCCOL>(nPagebreakPrev) > aPagebreakSource.aStart.Col() && !bManualBreak ) { |