diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-01-10 14:17:20 +0000 |
commit | 64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch) | |
tree | 772fc0f308549b9416fbcb06bce2bf0e0f5809cc /scripting/examples | |
parent | d61c16966b017abdbebf5ec0c2131de5a91c67f8 (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 'scripting/examples')
-rw-r--r-- | scripting/examples/basic/SearchAndReplace.xba | 6 | ||||
-rw-r--r-- | scripting/examples/java/Newsgroup/PostNewsgroup.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripting/examples/basic/SearchAndReplace.xba b/scripting/examples/basic/SearchAndReplace.xba index fb7c60bd4f22..24c61d8e9a40 100644 --- a/scripting/examples/basic/SearchAndReplace.xba +++ b/scripting/examples/basic/SearchAndReplace.xba @@ -82,13 +82,13 @@ Sub getInfoFromDialog Dim oFoundCursor As Object Dim oSearchText as Object Dim oReplaceText as Object - + ' Create a document object for the current document then create text and ' cursor objects oDocument = StarDesktop.ActiveFrame.Controller.Model oSearch = oDocument.createSearchDescriptor - ' Replace all instances of the search string with the replavce string + ' Replace all instances of the search string with the replace string oSearch.SearchString = getSearchKey() oSearch.ReplaceString = getReplaceKey() oDocument.replaceAll(oSearch) @@ -123,4 +123,4 @@ Function getReplaceKey() as String oReplaceText = oDialog.GetControl("ReplaceKeyTextBox") sReplace = oReplaceText.Text getReplaceKey = sReplace -End Function</script:module>
\ No newline at end of file +End Function</script:module> diff --git a/scripting/examples/java/Newsgroup/PostNewsgroup.java b/scripting/examples/java/Newsgroup/PostNewsgroup.java index 8c76331abd87..6c6ecdf3729d 100644 --- a/scripting/examples/java/Newsgroup/PostNewsgroup.java +++ b/scripting/examples/java/Newsgroup/PostNewsgroup.java @@ -92,7 +92,7 @@ public class PostNewsgroup extends JFrame { }); Container container = getContentPane(); - container.setLayout(new GridBagLayout());; + container.setLayout(new GridBagLayout()); GridBagConstraints constraints = new GridBagConstraints(); constraints.fill = GridBagConstraints.BOTH; |