diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-11 19:34:23 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-12 16:19:58 +0200 |
commit | bf372bf9bded68caf05696c929dcf4a0f2883db8 (patch) | |
tree | 238ab00fe6ef6002da83aad30ce34ee8465f86bf /sc | |
parent | d9b54924fbfc2eae33c503434b0bfd3619c6a1a6 (diff) |
Fix typos
Change-Id: I20ad6ae358a0777eef0070f056e97eade9111b32
Reviewed-on: https://gerrit.libreoffice.org/77301
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/sccellfieldsobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/sctablesheetobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/uitest/calc_tests4/tdf94208.py | 4 | ||||
-rw-r--r-- | sc/qa/uitest/calc_tests7/tdf31805.py | 2 | ||||
-rw-r--r-- | sc/qa/unit/data/functions/mathematical/fods/color.fods | 2 | ||||
-rw-r--r-- | sc/qa/unit/parallelism.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/pivottable_filters_test.cxx | 16 | ||||
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 4 | ||||
-rw-r--r-- | sc/qa/unit/subsequent_filters-test.cxx | 2 |
9 files changed, 18 insertions, 18 deletions
diff --git a/sc/qa/extras/sccellfieldsobj.cxx b/sc/qa/extras/sccellfieldsobj.cxx index 9785ee313346..98f0db3e23c3 100644 --- a/sc/qa/extras/sccellfieldsobj.cxx +++ b/sc/qa/extras/sccellfieldsobj.cxx @@ -95,7 +95,7 @@ void ScCellFieldsObj::setUp() { CalcUnoApiTest::setUp(); m_xComponent = loadFromDesktop("private:factory/scalc"); - CPPUNIT_ASSERT_MESSAGE("no compoment", m_xComponent.is()); + CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is()); } void ScCellFieldsObj::tearDown() diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx index 22382f333093..46d323f3618c 100644 --- a/sc/qa/extras/sctablesheetobj.cxx +++ b/sc/qa/extras/sctablesheetobj.cxx @@ -130,7 +130,7 @@ public: CPPUNIT_TEST(testSetDataArrayOnTableSheet); // XCellRangeFormula -#if 0 // disable, because it makes no sense to set an FormulaArray over the whole sheet +#if 0 // disable, because it makes no sense to set a FormulaArray over the whole sheet CPPUNIT_TEST(testGetSetFormulaArray); #endif diff --git a/sc/qa/uitest/calc_tests4/tdf94208.py b/sc/qa/uitest/calc_tests4/tdf94208.py index 28961df8f865..346b60c61f78 100644 --- a/sc/qa/uitest/calc_tests4/tdf94208.py +++ b/sc/qa/uitest/calc_tests4/tdf94208.py @@ -34,7 +34,7 @@ class tdf94208(UITestCase): #2 - Select rows three though eight. gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A3:A8"})) self.xUITest.executeCommand(".uno:SelectRow") - #3 - type Control-D/Fill Dow + #3 - type Control-D/Fill Down self.xUITest.executeCommand(".uno:FillDown") #4 - undo. self.xUITest.executeCommand(".uno:Undo") @@ -49,4 +49,4 @@ class tdf94208(UITestCase): self.ui_test.close_doc() -# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/sc/qa/uitest/calc_tests7/tdf31805.py b/sc/qa/uitest/calc_tests7/tdf31805.py index bc7edd669526..cb54784e31c4 100644 --- a/sc/qa/uitest/calc_tests7/tdf31805.py +++ b/sc/qa/uitest/calc_tests7/tdf31805.py @@ -25,7 +25,7 @@ class tdf31805(UITestCase): document = self.ui_test.get_component() #1. open "sample.ods" #2. click 'G1' - #3. Menu 'edit -> Celete Cell - Delete entire Column' + #3. Menu 'edit -> Delete Cell - Delete entire Column' #expected: Column with cell containing "g" will be deleted, # a merged cell range will remainlect row 1 diff --git a/sc/qa/unit/data/functions/mathematical/fods/color.fods b/sc/qa/unit/data/functions/mathematical/fods/color.fods index 86dc00021220..68b3102ee65c 100644 --- a/sc/qa/unit/data/functions/mathematical/fods/color.fods +++ b/sc/qa/unit/data/functions/mathematical/fods/color.fods @@ -2226,7 +2226,7 @@ <table:table-cell table:style-name="ce16"/> <table:table-cell table:style-name="ce23"/> <table:table-cell table:style-name="ce26" office:value-type="string" calcext:value-type="string"> - <text:p>COLOR <text:s/>Return a numeric value calculated by a combination of three colors (red, green and blue) and the alpha channel, in the RGBA color system.The result depends on the color system used by your computer. Syntax <text:s/>COLOR(Red; Green; Blue; Alpha) <text:s/>Red, Green and Blue – required arguments. The value for the red, green and blue components of the color. The values must be between 0 and 255. Zero means no color component and 255 means full color component. <text:s/>Alpha – optional argument. The value for the alpha channel or alpha composite. Alpha is a integer value between 0 and 255. The value of zero for alpha means the color is fully transparent, whereas a value of 255 in the alpha channel gives a fully opaque color.</text:p> + <text:p>COLOR <text:s/>Return a numeric value calculated by a combination of three colors (red, green and blue) and the alpha channel, in the RGBA color system.The result depends on the color system used by your computer. Syntax <text:s/>COLOR(Red; Green; Blue; Alpha) <text:s/>Red, Green and Blue – required arguments. The value for the red, green and blue components of the color. The values must be between 0 and 255. Zero means no color component and 255 means full color component. <text:s/>Alpha – optional argument. The value for the alpha channel or alpha composite. Alpha is an integer value between 0 and 255. The value of zero for alpha means the color is fully transparent, whereas a value of 255 in the alpha channel gives a fully opaque color.</text:p> </table:table-cell> <table:table-cell table:number-columns-repeated="10"/> </table:table-row> diff --git a/sc/qa/unit/parallelism.cxx b/sc/qa/unit/parallelism.cxx index 2f3e4d35771d..9758836d8b9a 100644 --- a/sc/qa/unit/parallelism.cxx +++ b/sc/qa/unit/parallelism.cxx @@ -574,7 +574,7 @@ void ScParallelismTest::testFormulaGroupSpanEval() m_pDoc->SetAutoCalc(true); - // EnsureFormulaCellResults should only calculate the sepecified range along with the dependent spans recursively and nothing more. + // EnsureFormulaCellResults should only calculate the specified range along with the dependent spans recursively and nothing more. // The specified range is A99:A1124, and the dependent range is B99:B1125 (since A99 = SUM(B99:B100) and A1124 = SUM(B1124:B1125) ) bool bAnyDirty = m_pDoc->EnsureFormulaCellResults(ScRange(0, nSpanStart, 0, 0, nSpanEnd, 0)); CPPUNIT_ASSERT(bAnyDirty); diff --git a/sc/qa/unit/pivottable_filters_test.cxx b/sc/qa/unit/pivottable_filters_test.cxx index 14fca36bae17..17f637be0c2f 100644 --- a/sc/qa/unit/pivottable_filters_test.cxx +++ b/sc/qa/unit/pivottable_filters_test.cxx @@ -247,7 +247,7 @@ void ScPivotTableFiltersTest::testPivotTableBasicODS() pDPs->GetCount()); const ScDPObject* pDPObj = &(*pDPs)[0]; - CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj); + CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj); const ScDPSaveData* pSaveData = pDPObj->GetSaveData(); CPPUNIT_ASSERT_MESSAGE("Failed to get ScDPSaveData instance.", pSaveData); std::vector<const ScDPSaveDimension*> aDims; @@ -716,7 +716,7 @@ void ScPivotTableFiltersTest::testTdf112501() // Check first pivot table popup buttons (compact) { const ScDPObject* pDPObj = &(*pDPs)[0]; - CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj); + CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj); // Check whether we have the buttons at the right buttons // Row button { @@ -744,7 +744,7 @@ void ScPivotTableFiltersTest::testTdf112501() // Check first pivot table popup buttons (not compact) { const ScDPObject* pDPObj = &(*pDPs)[1]; - CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj); + CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj); // Check whether we have the buttons at the right buttons // Two row buttons { @@ -1035,7 +1035,7 @@ void ScPivotTableFiltersTest::testPivotCacheExportXLSX() "containsDate", "1"); assertXPath(pCacheDef, "/x:pivotCacheDefinition/x:cacheFields/x:cacheField[5]/x:sharedItems", "containsString", "0"); - //TODO Date generator in tests are one day higher, than during standard xlsx export. It should be: minDate="1899-12-31T00:00:00" maxDate="2009-07-06T10:53:02" + //TODO: date generator in tests are one day higher, than during standard xlsx export. It should be: minDate="1899-12-31T00:00:00" maxDate="2009-07-06T10:53:02" assertXPath(pCacheDef, "/x:pivotCacheDefinition/x:cacheFields/x:cacheField[5]/x:sharedItems", "minDate", "1900-01-01T00:00:00"); assertXPath(pCacheDef, "/x:pivotCacheDefinition/x:cacheFields/x:cacheField[5]/x:sharedItems", @@ -1412,7 +1412,7 @@ void ScPivotTableFiltersTest::testPivotTableRowHeaderXLS() // First table has extra row header { const ScDPObject* pDPObj = &(*pDPs)[0]; - CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj); + CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj); CPPUNIT_ASSERT(pDPObj->GetHeaderLayout()); // Check whether the row header has the right popupbutton flag const ScPatternAttr* pPattern = rDoc.GetPattern(3, 3, 0); @@ -1424,7 +1424,7 @@ void ScPivotTableFiltersTest::testPivotTableRowHeaderXLS() // Second table has no extra row header { const ScDPObject* pDPObj = &(*pDPs)[1]; - CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj); + CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj); CPPUNIT_ASSERT(!pDPObj->GetHeaderLayout()); // Check whether the row header has the right popupbutton flag const ScPatternAttr* pPattern = rDoc.GetPattern(0, 2, 0); @@ -1445,7 +1445,7 @@ void ScPivotTableFiltersTest::testPivotTableRowHeaderXLS() // First table has extra row header { const ScDPObject* pDPObj = &(*pDPs)[0]; - CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj); + CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj); CPPUNIT_ASSERT(pDPObj->GetHeaderLayout()); // Check whether the row header has the right popupbutton flag const ScPatternAttr* pPattern = rLoadedDoc.GetPattern(3, 3, 0); @@ -1457,7 +1457,7 @@ void ScPivotTableFiltersTest::testPivotTableRowHeaderXLS() // Second table has no extra row header { const ScDPObject* pDPObj = &(*pDPs)[1]; - CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj); + CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj); CPPUNIT_ASSERT(!pDPObj->GetHeaderLayout()); // Check whether the row header has the right popupbutton flag const ScPatternAttr* pPattern = rLoadedDoc.GetPattern(0, 2, 0); diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index 82106d2bc0d2..bb1870987cee 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -453,7 +453,7 @@ void ScExportTest::test() void ScExportTest::testTdf111876() { - // DOcument with relative path hyperlink + // Document with relative path hyperlink ScDocShellRef xShell = loadDoc("tdf111876.", FORMAT_XLSX); CPPUNIT_ASSERT(xShell.is()); @@ -1147,7 +1147,7 @@ void ScExportTest::testOutlineExportXLSX() assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[8]", "hidden", "true"); assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[8]", "outlineLevel", "4"); assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[8]", "collapsed", "false"); - // Next rows are the same as the previous one but it needs to bre preserved, + // Next rows are the same as the previous one but it needs to be preserved, // as they contain information about outlineLevel assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[20]", "r", "21"); assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[20]", "hidden", "true"); diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index dd39afb3b341..cde984532dca 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -2525,7 +2525,7 @@ void ScFiltersTest::testOrcusODSStyleInterface() ScDocument aDoc; OUString aFullUrl = m_directories.getURLFromSrc("sc/qa/unit/data/xml/styles.xml"); - /* This loop below trims file:// from the start because orcus doesn't accept such a url */ + /* This loop below trims file:// from the start because orcus doesn't accept such a URL */ OUString aValidPath; osl::FileBase::getSystemPathFromFileURL(aFullUrl, aValidPath); |