summaryrefslogtreecommitdiff
path: root/helpauthoring
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2016-03-07 07:21:24 +0400
committerCaolán McNamara <caolanm@redhat.com>2016-03-09 16:43:47 +0000
commit5ca47d236f717ef0d427c8a2ef60edbeada09bf9 (patch)
treee168f20e81616eb1562fc8579978ba7d673d08c3 /helpauthoring
parent75196ea53c8dd421397814adb557d8a744b080de (diff)
Make web view default
Change-Id: I14879489b6a177b8f593ff0f02e6fef61fca5b35 Reviewed-on: https://gerrit.libreoffice.org/22966 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'helpauthoring')
-rw-r--r--helpauthoring/HelpAuthoring/_Main.xba5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpauthoring/HelpAuthoring/_Main.xba b/helpauthoring/HelpAuthoring/_Main.xba
index d6611001..05ccfadc 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -30,7 +30,7 @@ Global Const strErr_NoHelpFile = &quot;Not a Help File&quot;
Global Const GitClient = &quot;git-gui&quot;
-Global Const WebView = &quot;false&quot;
+Global Const WebView = &quot;true&quot;
Global Const ConsoleTerminal = &quot;true&quot;
@@ -467,6 +467,9 @@ Sub ReloadXHP
path = document.URL
document.close(-1)
oDoc = StarDesktop.loadComponentFromURL(path, path, 0, FileProperties())
+ if WebView = &quot;true&quot; then
+ goKey( &quot;.uno:BrowseView&quot; )
+ end if
End Sub
Sub UnhideParaIDs