Typo: documet->document
Change-Id: I7ec134282af33386cab001ed076fb8fa90d33608
This commit is contained in:
@@ -233,7 +233,7 @@ public class PersistentWindowTest
|
|||||||
/**
|
/**
|
||||||
* Load a document
|
* Load a document
|
||||||
* @param xMSF A MultiServiceFactory from an office
|
* @param xMSF A MultiServiceFactory from an office
|
||||||
* @param docLoader A documet loader
|
* @param docLoader A document loader
|
||||||
* @return A handle to the document
|
* @return A handle to the document
|
||||||
*/
|
*/
|
||||||
private DocumentHandle loadDocument(XMultiServiceFactory xMSF,
|
private DocumentHandle loadDocument(XMultiServiceFactory xMSF,
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
* except in compliance with the License. You may obtain a copy of
|
* except in compliance with the License. You may obtain a copy of
|
||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
-->
|
-->
|
||||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="ChangeAllChars" script:language="StarBasic">' This macro replaces all characters in a writer-documet through "x" or "X" signs.
|
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="ChangeAllChars" script:language="StarBasic">' This macro replaces all characters in a writer-document through "x" or "X" signs.
|
||||||
' It works on the currently activated document.
|
' It works on the currently activated document.
|
||||||
Private const UPPERREPLACECHAR = "X"
|
Private const UPPERREPLACECHAR = "X"
|
||||||
Private const LOWERREPLACECHAR = "x"
|
Private const LOWERREPLACECHAR = "x"
|
||||||
@@ -89,4 +89,4 @@ Sub ReplaceStrings(oContainer as Object, sSearchString, sReplaceString as Strin
|
|||||||
oReplaceDesc.Searchstring = sSearchString
|
oReplaceDesc.Searchstring = sSearchString
|
||||||
oReplaceDesc.ReplaceString = sReplaceString
|
oReplaceDesc.ReplaceString = sReplaceString
|
||||||
oReplCount = oContainer.ReplaceAll(oReplaceDesc)
|
oReplCount = oContainer.ReplaceAll(oReplaceDesc)
|
||||||
End Sub</script:module>
|
End Sub</script:module>
|
||||||
|
Reference in New Issue
Block a user