Fix typos
Change-Id: I5bdb7ab6eb64a27ee5fe88c7dde69124a695e9c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209487 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
e23d303e84
commit
ee12b6c06b
@@ -189,7 +189,7 @@ CPPUNIT_TEST_FIXTURE(test::AccessibleTestBase, BasicTestFrameDialog)
|
||||
}
|
||||
|
||||
/* Verify that UI elements in the spell check dialog have the accessible IDs
|
||||
* set that that Orca screen reader's logic to identify them depends on,
|
||||
* set that Orca screen reader's logic to identify them depends on,
|
||||
* see tdf#155447 and following Orca commits:
|
||||
*
|
||||
* https://gitlab.gnome.org/GNOME/orca/-/commit/6221f4ecf542646a80e47ee7236380360f0e1a85
|
||||
|
||||
@@ -507,7 +507,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf114882, "tdf114882.docx")
|
||||
|
||||
DECLARE_OOXMLEXPORT_TEST(testTdf49073, "tdf49073.docx")
|
||||
{
|
||||
// test case for Asian phontic guide (ruby text.)
|
||||
// test case for Asian phonetic guide (ruby text.)
|
||||
sal_Unicode aRuby[3] = {0x304D,0x3082,0x3093};
|
||||
OUString sRuby(aRuby, std::size(aRuby));
|
||||
CPPUNIT_ASSERT_EQUAL(sRuby,getProperty<OUString>(getParagraph(1)->getStart(), u"RubyText"_ustr));
|
||||
|
||||
@@ -153,7 +153,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf153042_noTab)
|
||||
|
||||
// export does not keep the tabstop when exporting non-numbering. (Probably a good thing...)
|
||||
xmlDocUniquePtr pLayout = parseLayoutDump();
|
||||
// Ensure a miniscule tab is used in the pseudo-numbering (numbering::NONE followed by tabstop)
|
||||
// Ensure a minuscule tab is used in the pseudo-numbering (numbering::NONE followed by tabstop)
|
||||
assertXPath(pLayout, "//SwFixPortion", "width", u"10");
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf165642_glossaryFootnote)
|
||||
{
|
||||
createSwDoc("tdf165642_glossaryFootnote.docx");
|
||||
save(TestFilter::DOCX);
|
||||
// round-trip'ing the settings.xml file as is, it contains footnote/endnote references
|
||||
// round-tripping the settings.xml file as is, it contains footnote/endnote references
|
||||
xmlDocUniquePtr pXmlSettings = parseExport(u"word/glossary/settings.xml"_ustr);
|
||||
assertXPath(pXmlSettings, "//w:endnotePr", 1);
|
||||
assertXPath(pXmlSettings, "//w:footnotePr", 1);
|
||||
|
||||
@@ -545,7 +545,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf167657_sectPr_bottomSpacing, "tdf167657_sectPr_b
|
||||
|
||||
auto pXmlDoc = parseLayoutDump();
|
||||
|
||||
// Since there is no page break, the prior paragraph's belowSpacing should not be zero'd out.
|
||||
// Since there is no page break, the prior paragraph's belowSpacing should not be zeroed out.
|
||||
// NOTE: apparently layout assigns the belowSpacing to the following section, not body/txt[1],
|
||||
sal_Int32 nHeight = getXPath(pXmlDoc, "//section/infos/bounds", "height").toInt32();
|
||||
// Without the fix, the section's height (showing no bottom margin for the 1st para) was 309
|
||||
@@ -802,7 +802,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf148294_crossReferences)
|
||||
assertXPath(pXmlDoc, "//w:bookmarkStart", 4);
|
||||
assertXPath(pXmlDoc, "//w:bookmarkEnd", 4);
|
||||
|
||||
// The second bookmark should be stradling the text 'DOCX'
|
||||
// The second bookmark should be straddling the text 'DOCX'
|
||||
assertXPathContent(pXmlDoc, "//w:p[3]/w:r/w:t", u"DOCX");
|
||||
int n = countXPathNodes(pXmlDoc, "//w:p[3]/w:bookmarkStart/preceding::w:t");
|
||||
CPPUNIT_ASSERT_EQUAL(n + 1, countXPathNodes(pXmlDoc, "//w:p[3]/w:bookmarkEnd/preceding::w:t"));
|
||||
|
||||
@@ -437,7 +437,7 @@ CPPUNIT_TEST_FIXTURE(Test, testMathVerticalstacks)
|
||||
CPPUNIT_TEST_FIXTURE(Test, testTdf49073)
|
||||
{
|
||||
auto verify = [this]() {
|
||||
// test case for Asian phontic guide (ruby text.)
|
||||
// test case for Asian phonetic guide (ruby text.)
|
||||
sal_Unicode aRuby[3] = { 0x304D, 0x3082, 0x3093 };
|
||||
OUString sRuby(aRuby, std::size(aRuby));
|
||||
CPPUNIT_ASSERT_EQUAL(sRuby,
|
||||
|
||||
Reference in New Issue
Block a user