diff options
Diffstat (limited to 'wizards/source/template/Autotext.xba')
-rw-r--r-- | wizards/source/template/Autotext.xba | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wizards/source/template/Autotext.xba b/wizards/source/template/Autotext.xba index da7be89c1..ad2affe14 100644 --- a/wizards/source/template/Autotext.xba +++ b/wizards/source/template/Autotext.xba @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd"> -<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Autotext" script:language="StarBasic">Option Explicit + <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Autotext" script:language="StarBasic">Option Explicit Public UserfieldDataType(14) as String Public oDocAuto as Object @@ -46,8 +46,8 @@ Sub Main() BulletList(6) = 79 BulletList(7) = 58 - oDocAuto = ThisComponent - oStyles = oDocAuto.Stylefamilies.NumberingStyles + oDocAuto = ThisComponent + oStyles = oDocAuto.Stylefamilies.GetByName("NumberingStyles") ' Prepare the Search-Descriptor oSearchDesc = oDocAuto.createsearchDescriptor() @@ -160,4 +160,4 @@ Sub CreatePlaceholder(oCursor as Object, sFoundContent as String) End Sub -</script:module> +</script:module>
\ No newline at end of file |