diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-06-13 23:58:06 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2018-06-14 23:13:12 +0200 |
commit | 213a644a121a1b4145f5abe35c9b2f10ea00ac89 (patch) | |
tree | 7a262a675c65241263c25bcdf689721076fadcb9 | |
parent | 46c3083943f7dc8bf9529ca498d37593bad81a31 (diff) |
Fix typos
Change-Id: I69b4f139be269ff58acd9d74ce0c7897e84a9419
Reviewed-on: https://gerrit.libreoffice.org/55774
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 6 | ||||
-rw-r--r-- | svgio/source/svgreader/svgsvgnode.cxx | 2 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests/wordCount.py | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 2d96cfb9d022..7cc0a059999b 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -2255,14 +2255,14 @@ namespace svgio // Visibility correction/exception for self-exported SVGs: // When Impress exports single or multi-page SVGs, it puts the // single slides into <g visibility="hidden">. Not sure why - // whis happens, but this leads (correctly) to empty imported + // this happens, but this leads (correctly) to empty imported // Graphics. // Thus, if Visibility_hidden is active and owner is a SVGTokenG // and it's parent is also a SVGTokenG and it has a Class 'SlideGroup' // set, check if we are an Impress export. // We are an Impress export if an SVG-Node titled 'ooo:meta_slides' // exists. - // All togehter gives: + // All together gives: if(Visibility_hidden == maVisibility && SVGTokenG == mrOwner.getType() && nullptr != mrOwner.getDocument().findSvgNodeById("ooo:meta_slides")) @@ -2276,7 +2276,7 @@ namespace svgio if("SlideGroup" == aClass) { // if we detect this exception, - // ovverride Visibility_hidden -> Visibility_visible + // override Visibility_hidden -> Visibility_visible return Visibility_visible; } } diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx index 524e6d360030..be2bc31ced09 100644 --- a/svgio/source/svgreader/svgsvgnode.cxx +++ b/svgio/source/svgreader/svgsvgnode.cxx @@ -675,7 +675,7 @@ namespace svgio // If no Width/Height is set (usually done in // <svg ... width="215.9mm" height="279.4mm" >) which // is the case for own-Impress-exports, assume that - // the Units are alrteady 100ThMM. + // the Units are already 100ThMM. // Maybe only for own-Impress-exports, thus may need to be // &&ed with getDocument().findSvgNodeById("ooo:meta_slides"), // but does not need to be. diff --git a/sw/qa/uitest/writer_tests/wordCount.py b/sw/qa/uitest/writer_tests/wordCount.py index da0dedbcc000..a546e78cfbf5 100644 --- a/sw/qa/uitest/writer_tests/wordCount.py +++ b/sw/qa/uitest/writer_tests/wordCount.py @@ -198,7 +198,7 @@ class writerWordCount(UITestCase): xWriterEdit.executeAction("SELECT", mkPropertyValues({"START_POS": "9", "END_POS": "10"})) #5. Replace selection by a non-breaking space by pressing Shift+Ctrl+Space. Don't move the cursor. self.xUITest.executeCommand(".uno:InsertNonBreakingSpace") - # Word count in dialogue shows 4 words, wheras in the status line it shows 5 words. + # Word count in dialogue shows 4 words, whereas in the status line it shows 5 words. self.ui_test.execute_modeless_dialog_through_command(".uno:WordCountDialog") xDialog = self.xUITest.getTopFocusWindow() @@ -283,7 +283,7 @@ class writerWordCount(UITestCase): # #4. Click after "At nunc" then <Shift><Home> # self.xUITest.executeCommand(".uno:StartOfParaSel") # sleep(3) #need to wait, because Word count dialog is already open and it takes time to refresh the counter -# #Expected result : Words 2 & Characters 7 & excludind space 6 #Actual result : Words 0 & Characters 0 +# #Expected result : Words 2 & Characters 7 & excluding space 6 #Actual result : Words 0 & Characters 0 # self.assertEqual(get_state_as_dict(xselectwords)["Text"], "2") # self.assertEqual(get_state_as_dict(xselectchars)["Text"], "7") # self.assertEqual(get_state_as_dict(xselectcharsnospaces)["Text"], "6") @@ -291,4 +291,4 @@ class writerWordCount(UITestCase): # xCloseBtn = xDialog.getChild("close") # self.ui_test.close_dialog_through_button(xCloseBtn) # 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: |