summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizards/source/webwizard/HtmlAutoPilotBasic.xba2
-rw-r--r--wizards/source/webwizard/WebWzrd.xdl2
2 files changed, 2 insertions, 2 deletions
diff --git a/wizards/source/webwizard/HtmlAutoPilotBasic.xba b/wizards/source/webwizard/HtmlAutoPilotBasic.xba
index 15a6e89c45b8..dd2b713624d9 100644
--- a/wizards/source/webwizard/HtmlAutoPilotBasic.xba
+++ b/wizards/source/webwizard/HtmlAutoPilotBasic.xba
@@ -50,7 +50,6 @@ Sub Main
oUcb = createUnoService("com.sun.star.ucb.SimpleFileAccess")
oBaseDocument = StarDesktop.LoadComponentFromURL("private:factory/swriter/web", "_blank", 0, NoArgs())
oViewSettings = oBaseDocument.CurrentController.ViewSettings
-
oViewCursor = oBaseDocument.GetCurrentController.ViewCursor
ProgressBar = oBaseDocument.GetCurrentController.GetFrame.CreateStatusIndicator
ProgressBar.Start("", 100)
@@ -80,6 +79,7 @@ Sub Main
sBitmapPath = SOBitmapPath & "webwizard.bmp"
DialogModel.ImagePreview.ImageURL = sBitmapPath
ToggleOptionButtons(DialogModel, bWithBackGraphic)
+ DialogModel.cbGoOn.DefaultButton = True
MainDialog.Execute
GLOBALERRORHANDLER:
diff --git a/wizards/source/webwizard/WebWzrd.xdl b/wizards/source/webwizard/WebWzrd.xdl
index 1b6c39a7ecd2..da3c59234da7 100644
--- a/wizards/source/webwizard/WebWzrd.xdl
+++ b/wizards/source/webwizard/WebWzrd.xdl
@@ -8,7 +8,7 @@
<dlg:button dlg:id="cbHelp" dlg:tab-index="1" dlg:left="66" dlg:top="190" dlg:width="50" dlg:height="14" dlg:tag="34200" dlg:help-url="HID:34200" dlg:value="cbHelp">
<script:event script:event-name="on-performaction" script:location="application" script:macro-name="Tools.Recursive.ShowHelperDialog" script:language="StarBasic"/>
</dlg:button>
- <dlg:button dlg:id="cbGoOn" dlg:tab-index="2" dlg:left="214" dlg:top="190" dlg:width="50" dlg:height="14" dlg:help-url="HID:34205" dlg:value="cbGoOn">
+ <dlg:button dlg:id="cbGoOn" dlg:tab-index="2" dlg:left="214" dlg:top="190" dlg:width="50" dlg:height="14" dlg:help-url="HID:34205" dlg:default="true" dlg:value="cbGoOn">
<script:event script:event-name="on-performaction" script:location="application" script:macro-name="WebWizard.HtmlAutoPilotBasic.EndDialog" script:language="StarBasic"/>
</dlg:button>
<dlg:img dlg:id="ImagePreview" dlg:tab-index="3" dlg:left="6" dlg:top="6" dlg:width="258" dlg:height="26"/>