Kaydet (Commit) 213a644a authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Adolfo Jayme Barrientos

Fix typos

Change-Id: I69b4f139be269ff58acd9d74ce0c7897e84a9419
Reviewed-on: https://gerrit.libreoffice.org/55774
Tested-by: Jenkins
Reviewed-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
üst 46c30839
......@@ -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;
}
}
......
......@@ -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.
......
......@@ -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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment