summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /sw/qa
parentbb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff)
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport2.cxx10
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport3.cxx2
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport5.cxx2
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx2
-rw-r--r--sw/qa/python/check_index.py2
5 files changed, 9 insertions, 9 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
index 2086d4aff4f2..8dc4e9445b8a 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
@@ -136,7 +136,7 @@ DECLARE_OOXMLEXPORT_TEST(defaultTabStopNotInStyles, "empty.odt")
uno::Reference< beans::XPropertySet > properties( paragraphStyles->getByName( "Standard" ), uno::UNO_QUERY );
uno::Sequence< style::TabStop > stops = getProperty< uno::Sequence< style::TabStop > >(
paragraphStyles->getByName( "Standard" ), "ParaTabStops" );
-// There actually be be one tab stop, but it will be the default.
+// There actually be one tab stop, but it will be the default.
CPPUNIT_ASSERT_EQUAL( static_cast<sal_Int32>(1), stops.getLength());
CPPUNIT_ASSERT_EQUAL( style::TabAlign_DEFAULT, stops[ 0 ].Alignment );
}
@@ -750,7 +750,7 @@ DECLARE_OOXMLEXPORT_TEST(testFdo43093, "fdo43093.docx")
DECLARE_OOXMLEXPORT_TEST(testFdo64238_a, "fdo64238_a.docx")
{
// The problem was that when 'Show Only Odd Footer' was marked in Word and the Even footer *was filled*
- // then LO would still import the Even footer and concatenate it to to the odd footer.
+ // then LO would still import the Even footer and concatenate it to the odd footer.
// This case specifically is for :
// 'Blank Odd Footer' with 'Non-Blank Even Footer' when 'Show Only Odd Footer' is marked in Word
// In this case the imported footer in LO was supposed to be blank, but instead was the 'even' footer
@@ -770,7 +770,7 @@ DECLARE_OOXMLEXPORT_TEST(testFdo64238_a, "fdo64238_a.docx")
DECLARE_OOXMLEXPORT_TEST(testFdo64238_b, "fdo64238_b.docx")
{
// The problem was that when 'Show Only Odd Footer' was marked in Word and the Even footer *was filled*
- // then LO would still import the Even footer and concatenate it to to the odd footer.
+ // then LO would still import the Even footer and concatenate it to the odd footer.
// This case specifically is for :
// 'Non-Blank Odd Footer' with 'Non-Blank Even Footer' when 'Show Only Odd Footer' is marked in Word
// In this case the imported footer in LO was supposed to be just the odd footer, but instead was the 'odd' and 'even' footers concatenated
@@ -1055,7 +1055,7 @@ DECLARE_OOXMLEXPORT_TEST(testTableFloating, "table-floating.docx")
{
// After import, table is inside a TextFrame.
uno::Reference<beans::XPropertySet> xFrame(xIndexAccess->getByIndex(0), uno::UNO_QUERY);
- // This was 0, should be the the opposite of (left margin + half of the border width).
+ // This was 0, should be the opposite of (left margin + half of the border width).
CPPUNIT_ASSERT_EQUAL(sal_Int32(-199), getProperty<sal_Int32>(xFrame, "HoriOrientPosition"));
// Was 0 as well, should be the right margin.
CPPUNIT_ASSERT_EQUAL(sal_Int32(250), getProperty<sal_Int32>(xFrame, "RightMargin"));
@@ -1064,7 +1064,7 @@ DECLARE_OOXMLEXPORT_TEST(testTableFloating, "table-floating.docx")
{
// After import, table is inside a TextFrame.
uno::Reference<beans::XPropertySet> xShape(getShape(1), uno::UNO_QUERY);
- // This was 0, should be the the opposite of (left margin + half of the border width).
+ // This was 0, should be the opposite of (left margin + half of the border width).
CPPUNIT_ASSERT_EQUAL(sal_Int32(-199), getProperty<sal_Int32>(xShape, "HoriOrientPosition"));
// Was 0 as well, should be the right margin.
CPPUNIT_ASSERT_EQUAL(sal_Int32(250), getProperty<sal_Int32>(xShape, "RightMargin"));
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
index dcace7731ad8..7b0edaf18551 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
@@ -541,7 +541,7 @@ DECLARE_OOXMLEXPORT_TEST(testFontNameIsEmpty, "font-name-is-empty.docx")
DECLARE_OOXMLEXPORT_TEST(testMultiColumnLineSeparator, "multi-column-line-separator-SAVED.docx")
{
- // Check for the Column Separator value.It should be FALSE as the document doesnt contains separator line.
+ // Check for the Column Separator value.It should be FALSE as the document does not contain separator line.
xmlDocPtr pXmlDoc = parseExport();
if (!pXmlDoc)
return;
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
index 3c11a40bc618..6d9bfc752d9a 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
@@ -692,7 +692,7 @@ DECLARE_OOXMLEXPORT_TEST(testFD083057, "fdo83057.docx")
// A fly frame was attached to a para which started with a hint (run) containing an SDT.
// This SDT was handled while exporting the FLYFRAME and also the text of the run.
- // So, eventhough the original file had only one sdt in the header, the RT file had two;
+ // So, even though the original file had only one sdt in the header, the RT file had two;
// one for a separate run as expected, and one incorrectly exported in the alternateContent (FLYFRAME)
// Assert that the file has only one sdt, in a separate run
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 3a541ad33398..57ae73534127 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -572,7 +572,7 @@ numberingstyle = ThisComponent.NumberingRules.getByIndex(6)
xray numberingstyle.name - should match name above
numbering = numberingstyle.getByIndex(0)
xray numbering(11) - should be 4, arabic
-note that the indexes may get off as the implementation evolves, C++ code seaches in loops
+note that the indexes may get off as the implementation evolves, C++ code searches in loops
*/
uno::Reference<text::XTextDocument> xTextDocument(mxComponent, uno::UNO_QUERY);
uno::Reference< text::XTextRange > paragraph(getParagraph( 1, "Text1." ));
diff --git a/sw/qa/python/check_index.py b/sw/qa/python/check_index.py
index 6ea5b0b138f2..4d3076c43b9a 100644
--- a/sw/qa/python/check_index.py
+++ b/sw/qa/python/check_index.py
@@ -77,7 +77,7 @@ class CheckIndex(unittest.TestCase):
xCursor.gotoStartOfParagraph(True)
xCursor.setPropertyValue("ParaStyleName","Heading 1")
- # try agian with update
+ # try again with update
xIndex.update()
listener.assertRefreshed()
xCursor.gotoRange(xIndex.getAnchor().getEnd(), False)