summaryrefslogtreecommitdiff
path: root/wizards/source/formwizard/tools.xba
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/source/formwizard/tools.xba')
-rw-r--r--wizards/source/formwizard/tools.xba23
1 files changed, 10 insertions, 13 deletions
diff --git a/wizards/source/formwizard/tools.xba b/wizards/source/formwizard/tools.xba
index d6f8ed419c73..a7cfa16651b0 100644
--- a/wizards/source/formwizard/tools.xba
+++ b/wizards/source/formwizard/tools.xba
@@ -323,19 +323,16 @@ End Function
Function GetFormWizardPaths() as Boolean
FormPath = GetOfficeSubPath("Template","../wizard/bitmap")
If FormPath <> "" Then
- WebWizardPath = GetOfficeSubPath("Template","wizard/web")
- If WebWizardPath <> "" Then
- WizardPath = GetOfficeSubPath("Template","wizard/")
- If Wizardpath <> "" Then
- TexturePath = GetOfficeSubPath("Gallery", "www-back/")
- If TexturePath <> "" Then
- WorkPath = GetPathSettings("Work")
- If WorkPath <> "" Then
- TempPath = GetPathSettings("Temp")
- If TempPath <> "" Then
- GetFormWizardPaths = True
- Exit Function
- End If
+ WizardPath = GetOfficeSubPath("Template","wizard/")
+ If Wizardpath <> "" Then
+ TexturePath = GetOfficeSubPath("Gallery", "www-back/")
+ If TexturePath <> "" Then
+ WorkPath = GetPathSettings("Work")
+ If WorkPath <> "" Then
+ TempPath = GetPathSettings("Temp")
+ If TempPath <> "" Then
+ GetFormWizardPaths = True
+ Exit Function
End If
End If
End If