diff options
-rw-r--r-- | sal/osl/unx/file_url.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 16 | ||||
-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 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/shapes/drawshape.hxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/shapes/gdimtftools.hxx | 2 | ||||
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 2 |
10 files changed, 18 insertions, 18 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx index 75c058735c06..043199ae9522 100644 --- a/sal/osl/unx/file_url.cxx +++ b/sal/osl/unx/file_url.cxx @@ -368,7 +368,7 @@ oslFileError osl_getSystemPathFromFileURL_Ex( namespace { - /** Helper function, return a pinter to the final '\0' + /** Helper function, return a pointer to the final '\0' of a string */ diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index a82f456f2d28..55749266ffb5 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -7805,7 +7805,7 @@ void Test::testFuncGCD() CPPUNIT_ASSERT_EQUAL_MESSAGE("Calculation of GCD for failed", 10.0, m_pDoc->GetValue(aPos)); m_pDoc->SetValue(0, 0, 0, -2.0); // A1 aVal = m_pDoc->GetString(aPos); - CPPUNIT_ASSERT_EQUAL_MESSAGE("GCD should return Err:502 for values less then 0", + CPPUNIT_ASSERT_EQUAL_MESSAGE("GCD should return Err:502 for values less than 0", OUString("Err:502"), aVal); m_pDoc->SetString(0, 0, 0, "a"); // A1 aVal = m_pDoc->GetString(aPos); @@ -7816,7 +7816,7 @@ void Test::testFuncGCD() CPPUNIT_ASSERT_EQUAL_MESSAGE("Calculation of GCD for failed", 0.0, m_pDoc->GetValue(aPos)); m_pDoc->SetValue(0, 1, 0, -12.0); // B1 aVal = m_pDoc->GetString(aPos); - CPPUNIT_ASSERT_EQUAL_MESSAGE("GCD should return Err:502 for a matrix with values less then 0", + CPPUNIT_ASSERT_EQUAL_MESSAGE("GCD should return Err:502 for a matrix with values less than 0", OUString("Err:502"), aVal); m_pDoc->SetValue(0, 0, 0, 15.0); // A1 m_pDoc->SetValue(0, 1, 0, 0.0); // B1 @@ -7854,7 +7854,7 @@ void Test::testFuncGCD() CPPUNIT_ASSERT_EQUAL_MESSAGE("Calculation of GCD for failed", 150.0, m_pDoc->GetValue(aPos)); m_pDoc->SetString(aPos, "=GCD({-3;6;9})"); aVal = m_pDoc->GetString(aPos); - CPPUNIT_ASSERT_EQUAL_MESSAGE("GCD should return Err:502 for an array with values less then 0", + CPPUNIT_ASSERT_EQUAL_MESSAGE("GCD should return Err:502 for an array with values less than 0", OUString("Err:502"), aVal); m_pDoc->SetString(aPos, "=GCD({\"a\";6;9})"); aVal = m_pDoc->GetString(aPos); @@ -7868,7 +7868,7 @@ void Test::testFuncGCD() CPPUNIT_ASSERT_EQUAL_MESSAGE("Calculation of GCD for failed", 150.0, m_pDoc->GetValue(aPos)); m_pDoc->SetString(aPos,"=GCD({3;6;9};{3;-6;9})"); aVal = m_pDoc->GetString(aPos); - CPPUNIT_ASSERT_EQUAL_MESSAGE("GCD should return Err:502 for an array with values less then 0", + CPPUNIT_ASSERT_EQUAL_MESSAGE("GCD should return Err:502 for an array with values less than 0", OUString("Err:502"), aVal); m_pDoc->SetString(aPos, "=GCD({3;6;9};{\"a\";6;9})"); aVal = m_pDoc->GetString(aPos); @@ -7903,7 +7903,7 @@ void Test::testFuncLCM() CPPUNIT_ASSERT_EQUAL_MESSAGE("Calculation of LCM for failed", 10.0, m_pDoc->GetValue(aPos)); m_pDoc->SetValue(0, 0, 0, -2.0); // A1 aVal = m_pDoc->GetString(aPos); - CPPUNIT_ASSERT_EQUAL_MESSAGE("LCM should return Err:502 for values less then 0", + CPPUNIT_ASSERT_EQUAL_MESSAGE("LCM should return Err:502 for values less than 0", OUString("Err:502"), aVal); m_pDoc->SetString(0, 0, 0, "a"); // A1 aVal = m_pDoc->GetString(aPos); @@ -7914,7 +7914,7 @@ void Test::testFuncLCM() CPPUNIT_ASSERT_EQUAL_MESSAGE("Calculation of GCD for failed", 1.0, m_pDoc->GetValue(aPos)); m_pDoc->SetValue(0, 1, 0, -12.0); // B1 aVal = m_pDoc->GetString(aPos); - CPPUNIT_ASSERT_EQUAL_MESSAGE("LCM should return Err:502 for a matrix with values less then 0", + CPPUNIT_ASSERT_EQUAL_MESSAGE("LCM should return Err:502 for a matrix with values less than 0", OUString("Err:502"), aVal); m_pDoc->SetValue(0, 0, 0, 15.0); // A1 m_pDoc->SetValue(0, 1, 0, 0.0); // A2 @@ -7951,7 +7951,7 @@ void Test::testFuncLCM() CPPUNIT_ASSERT_EQUAL_MESSAGE("Calculation of LCM for failed", 0.0, m_pDoc->GetValue(aPos)); m_pDoc->SetString(aPos, "=LCM({-3;6;9})"); aVal = m_pDoc->GetString(aPos); - CPPUNIT_ASSERT_EQUAL_MESSAGE("LCM should return Err:502 for an array with values less then 0", + CPPUNIT_ASSERT_EQUAL_MESSAGE("LCM should return Err:502 for an array with values less than 0", OUString("Err:502"), aVal); m_pDoc->SetString(aPos, "=LCM({\"a\";6;9})"); aVal = m_pDoc->GetString(aPos); @@ -7965,7 +7965,7 @@ void Test::testFuncLCM() CPPUNIT_ASSERT_EQUAL_MESSAGE("Calculation of LCM for failed", 0.0, m_pDoc->GetValue(aPos)); m_pDoc->SetString(aPos,"=LCM({3;6;9};{3;-6;9})"); aVal = m_pDoc->GetString(aPos); - CPPUNIT_ASSERT_EQUAL_MESSAGE("LCM should return Err:502 for an array with values less then 0", + CPPUNIT_ASSERT_EQUAL_MESSAGE("LCM should return Err:502 for an array with values less than 0", OUString("Err:502"), aVal); m_pDoc->SetString(aPos, "=LCM({3;6;9};{\"a\";6;9})"); aVal = m_pDoc->GetString(aPos); 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 ) { diff --git a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx index 5e9270668978..4773c2c2d10d 100644 --- a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx +++ b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx @@ -94,7 +94,7 @@ public: it is created. When <FALSE/> then an empty reference is returned for missing descriptors. @return - When the given index is not valid, i.e. lower then zero or + When the given index is not valid, i.e. lower than zero or larger than or equal to the number of pages then an empty reference is returned. Note that the page count may change between calls to GetPageCount() and GetPageDescriptor(). diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 87f44dcf596e..ecc131177fb9 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -256,7 +256,7 @@ void SfxObjectShell::UpdateTime_Impl( } else if (nDays<=31) { - // If time of working without save greater then 1 month (!)... + // If time of working without save greater than 1 month (!)... // we add 0 to aOldTime! // If 1 or up to 31 days between now and last editing - calculate time indirectly. diff --git a/slideshow/source/engine/shapes/drawshape.hxx b/slideshow/source/engine/shapes/drawshape.hxx index 88cc9a264293..c93f0338f76c 100644 --- a/slideshow/source/engine/shapes/drawshape.hxx +++ b/slideshow/source/engine/shapes/drawshape.hxx @@ -76,7 +76,7 @@ namespace slideshow When true, the source of the shape metafile might be a foreign application. The metafile is checked against unsupported content, and, if necessary, returned as a - pre-rendererd bitmap. + pre-rendered bitmap. */ static DrawShapeSharedPtr create( const css::uno::Reference< css::drawing::XShape >& xShape, diff --git a/slideshow/source/engine/shapes/gdimtftools.hxx b/slideshow/source/engine/shapes/gdimtftools.hxx index 813c557bee81..c0c64e5f4efc 100644 --- a/slideshow/source/engine/shapes/gdimtftools.hxx +++ b/slideshow/source/engine/shapes/gdimtftools.hxx @@ -46,7 +46,7 @@ namespace slideshow MTF_LOAD_NONE = 0, /// the source of the metafile might be a foreign /// application. The metafile is checked against unsupported - /// content, and, if necessary, returned as a pre-rendererd + /// content, and, if necessary, returned as a pre-rendered /// bitmap. MTF_LOAD_FOREIGN_SOURCE = 2, /// retrieve a meta file for the page background only diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 4c979935d108..52f07527687c 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -1729,7 +1729,7 @@ static bool gbAscending = true; static sal_Int16 gnColumn = COLUMN_TITLE; static const CollatorWrapper* pCollatorWrapper = nullptr; -/* this function returns true, if aOne is less then aTwo +/* this function returns true, if aOne is less than aTwo */ static bool CompareSortingData_Impl( std::unique_ptr<SortingData_Impl> const & aOne, std::unique_ptr<SortingData_Impl> const & aTwo ) { |