summaryrefslogtreecommitdiff
path: root/wizards/source/template/Correspondence.xba
diff options
context:
space:
mode:
authorTom Verbeek <tv@openoffice.org>2001-10-09 09:37:05 +0000
committerTom Verbeek <tv@openoffice.org>2001-10-09 09:37:05 +0000
commitae52725ccf44599ffef37d1ddb4e786b2cd64c35 (patch)
treec6cd6289100436fc0c1cfaecd677558361978b35 /wizards/source/template/Correspondence.xba
parentee2b9569d3317ea82cb2dfb31573db489f05a0d1 (diff)
#92603# fixed problem with japanese fields
Diffstat (limited to 'wizards/source/template/Correspondence.xba')
-rw-r--r--wizards/source/template/Correspondence.xba4
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/source/template/Correspondence.xba b/wizards/source/template/Correspondence.xba
index 4ecb5aa45670..eb1d6d3a5278 100644
--- a/wizards/source/template/Correspondence.xba
+++ b/wizards/source/template/Correspondence.xba
@@ -68,7 +68,7 @@ Dim oDocSettings as Object
If bDBFields Then
oDBAccess = GetRegistryKeyContent(&quot;org.openoffice.Office.DataAccess/AddressBook/&quot;)
sAddressbook = oDBAccess.DataSourceName
-
+
If sAddressbook = &quot;&quot; Then &apos;If there is no field mapping
If Not odBAccess.AutoPilotCompleted Then &apos;If the Mapping Pilot never ran
oAddressPilot = createUnoService(&quot;com.sun.star.ui.dialogs.AddressBookSourcePilot&quot;)
@@ -110,7 +110,7 @@ Dim oDocSettings as Object
oFoundall = oDocument.FindAll(oSearchDesc)
&apos;Loop over the foundings
- For i = 0 To oFoundAll.Count - 1
+ For i = oFoundAll.Count -1 To 0 Step -1
oFound = oFoundAll.GetByIndex(i)
sFoundString = oFound.String
&apos;Extract the string inside the brackets