summaryrefslogtreecommitdiff
path: root/wizards/source/template/Autotext.xba
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2001-12-12 12:48:38 +0000
committerBehrend Cornelius <bc@openoffice.org>2001-12-12 12:48:38 +0000
commitbd1cefbb72b2c613c3d9522b3a1304061dc775b3 (patch)
tree486fb9392c410fab0b6cc9d82e85123e43e97917 /wizards/source/template/Autotext.xba
parent1a9ca7e70698984dd83a1eba1c7187ba20ec04c3 (diff)
#95873# Referencing NumberingStyles improved
Diffstat (limited to 'wizards/source/template/Autotext.xba')
-rw-r--r--wizards/source/template/Autotext.xba8
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(&quot;NumberingStyles&quot;)
&apos; 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