summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /sw/qa
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/inc/swmodeltestbase.hxx2
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport3.cxx4
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport6.cxx2
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx2
-rw-r--r--sw/qa/extras/rtfimport/rtfimport.cxx2
-rw-r--r--sw/qa/python/check_table.py2
6 files changed, 7 insertions, 7 deletions
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index ce02b3e51cf3..b761116180d4 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -375,7 +375,7 @@ protected:
if (!mpXmlBuffer)
dumpLayout();
- return xmlParseMemory(reinterpret_cast<const char*>(xmlBufferContent(mpXmlBuffer)), xmlBufferLength(mpXmlBuffer));;
+ return xmlParseMemory(reinterpret_cast<const char*>(xmlBufferContent(mpXmlBuffer)), xmlBufferLength(mpXmlBuffer));
}
/**
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
index 759ccf1327e6..059eabf9d9fa 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
@@ -702,7 +702,7 @@ DECLARE_OOXMLEXPORT_TEST(testCellGridSpan, "cell-grid-span.docx")
{
// The problem was during export gridSpan value for 1st & 2nd cells for test document
// used to get set wrongly to 5 and 65532 respectively which was the reason for crash during save operation
- // Varifying gridSpan element is not present in RoundTriped Document (As it's Default value is 1).
+ // Varifying gridSpan element is not present in RoundTripped Document (As it's Default value is 1).
xmlDocPtr pXmlDoc = parseExport();
if (!pXmlDoc)
return;
@@ -759,7 +759,7 @@ DECLARE_OOXMLEXPORT_TEST(testPNGImageCrop, "test_PNG_ImageCrop.docx")
#if !defined(MACOSX)
/* The problem was image cropping information was not getting saved
* after roundtrip.
- * Check for presenece of cropping parameters in exported file.
+ * Check for presence of cropping parameters in exported file.
*/
uno::Reference<drawing::XShape> image = getShape(1);
uno::Reference<beans::XPropertySet> imageProperties(image, uno::UNO_QUERY);
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
index 55474d751a2b..c01a4e3c4d64 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
@@ -116,7 +116,7 @@ DECLARE_OOXMLEXPORT_TEST(testDMLSolidfillAlpha, "dml-solidfill-alpha.docx")
{
// Problem was that the transparency was not exported (a:alpha).
// RGB color (a:srgbClr)
- uno::Reference<beans::XPropertySet> xShape(getShape(1), uno::UNO_QUERY);;
+ uno::Reference<beans::XPropertySet> xShape(getShape(1), uno::UNO_QUERY);
CPPUNIT_ASSERT_EQUAL(sal_Int16(70), getProperty<sal_Int16>(xShape, "FillTransparence"));
// Theme color (a:schemeClr)
diff --git a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
index 90daf422b8ab..09c0840fad08 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
@@ -216,7 +216,7 @@ DECLARE_OOXMLEXPORT_TEST(testFDO77715,"FDO77715.docx")
DECLARE_OOXMLEXPORT_TEST(testTOCFlag_u,"testTOCFlag_u.docx")
{
- // DOCX contaning TOC should preserve code field '\u'.
+ // DOCX containing TOC should preserve code field '\u'.
xmlDocPtr pXmlDoc = parseExport("word/document.xml");
if (!pXmlDoc)
return;
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx
index ba78b9a3428d..5e1749fc12ec 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -1553,7 +1553,7 @@ DECLARE_RTFIMPORT_TEST(testFdo69384, "hello.rtf")
paste("fdo69384-paste.rtf", xEnd);
// Import got interrupted in the middle of style sheet table import,
- // resuling in missing styles and text.
+ // resulting in missing styles and text.
getStyles("ParagraphStyles")->getByName("Text body justified");
}
diff --git a/sw/qa/python/check_table.py b/sw/qa/python/check_table.py
index 1e361cfa5cd7..e92044f0e83c 100644
--- a/sw/qa/python/check_table.py
+++ b/sw/qa/python/check_table.py
@@ -506,7 +506,7 @@ class CheckTable(unittest.TestCase):
xDispatcher.executeDispatch(xDocFrame, '.uno:InsertText', '', 0,
(PropertyValue('Text', 0, '15-10-30', 0),))
xDispatcher.executeDispatch(xDocFrame, '.uno:JumpToNextCell', '', 0, ())
- # Without number recognition 15-10-30 should not be interperated as a date
+ # Without number recognition 15-10-30 should not be interpretated as a date
self.assertEquals(xTable.getCellByPosition(0,0).getString(), '15-10-30')
self.assertEquals(xTable.getCellByPosition(0,0).getValue(), 0)
# Activate number recognition