Fix typos
Change-Id: I2043f25bd44bf25e485a7e2b58ec0165ed28f301 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209810 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
e933a74013
commit
e482f993c1
@@ -99,7 +99,7 @@ bool XAccessibleEventBroadcasterTester::isTransient(
|
||||
void XAccessibleEventBroadcasterTester::fireEvent() { m_aFireEventFunc(); }
|
||||
|
||||
/**
|
||||
* @brief Adds a listener and fires events by mean of object relation.
|
||||
* @brief Adds a listener and fires events by means of object relation.
|
||||
*
|
||||
* Asserts that the listener was properly called.
|
||||
*/
|
||||
|
||||
@@ -277,7 +277,7 @@ void ScreenshotTest::processDialogBatchFile(std::u16string_view rFile)
|
||||
{
|
||||
// unknown dialog, try fallback to generic created
|
||||
// Builder-generated instance. Keep in mind that Dialogs
|
||||
// using this mechanism will probably not be layouted well
|
||||
// using this mechanism will probably not be laid out well
|
||||
// since the setup/initialization part is missing. Thus,
|
||||
// only use for fallback when only the UI file is available.
|
||||
dumpDialogToPath(aNextUIFile);
|
||||
|
||||
@@ -29,7 +29,7 @@ void XSpreadsheets::testInsertNewByName()
|
||||
xSpreadsheets->insertNewByName(newSheetName, 0);
|
||||
|
||||
uno::Reference< container::XNameAccess > xNameAccess(xSpreadsheets, UNO_QUERY_THROW);
|
||||
CPPUNIT_ASSERT_MESSAGE("Sheet was not insert",
|
||||
CPPUNIT_ASSERT_MESSAGE("Sheet was not inserted",
|
||||
xNameAccess->hasByName(newSheetName));
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ void XSpreadsheets::testMoveByName()
|
||||
// first insert one that should be moved
|
||||
xSpreadsheets->insertNewByName(u"SheetToMove"_ustr, 0);
|
||||
uno::Reference< container::XNameAccess > xNameAccess(xSpreadsheets, UNO_QUERY_THROW);
|
||||
CPPUNIT_ASSERT_MESSAGE("Sheet to move was not insert",
|
||||
CPPUNIT_ASSERT_MESSAGE("Sheet to move was not inserted",
|
||||
xNameAccess->hasByName(u"SheetToMove"_ustr));
|
||||
|
||||
xSpreadsheets->moveByName(u"SheetToMove"_ustr, 2);
|
||||
@@ -72,7 +72,7 @@ void XSpreadsheets::testCopyByName()
|
||||
// insert new sheet to copy
|
||||
xSpreadsheets->insertNewByName(u"SheetToCopySrc"_ustr, 0);
|
||||
uno::Reference< container::XNameAccess > xNameAccess(xSpreadsheets, UNO_QUERY_THROW);
|
||||
CPPUNIT_ASSERT_MESSAGE("Sheet to copy was not insert",
|
||||
CPPUNIT_ASSERT_MESSAGE("Sheet to copy was not inserted",
|
||||
xNameAccess->hasByName(u"SheetToCopySrc"_ustr));
|
||||
|
||||
xSpreadsheets->copyByName(u"SheetToCopySrc"_ustr, u"SheetToCopyDst"_ustr, 0);
|
||||
|
||||
@@ -46,7 +46,7 @@ void XReplaceable::testReplaceAll()
|
||||
uno::Reference<uno::XInterface> xElement = xReplaceable->findFirst(xSearchDescr);
|
||||
CPPUNIT_ASSERT(xElement.is());
|
||||
|
||||
//check that there is none object with the replace string
|
||||
//check that there is no object with the replace string
|
||||
xSearchDescr->setSearchString(maReplaceString);
|
||||
xElement = xReplaceable->findFirst(xSearchDescr);
|
||||
CPPUNIT_ASSERT(!xElement.is());
|
||||
@@ -78,7 +78,7 @@ void XReplaceable::testReplaceAll()
|
||||
xElement = xReplaceable->findFirst(xSearchDescr);
|
||||
CPPUNIT_ASSERT(xElement.is());
|
||||
|
||||
//check that there is none object with the replace string
|
||||
//check that there is no object with the replace string
|
||||
xSearchDescr->setSearchString(maReplaceString);
|
||||
xElement = xReplaceable->findFirst(xSearchDescr);
|
||||
CPPUNIT_ASSERT(!xElement.is());
|
||||
|
||||
Reference in New Issue
Block a user