[Libreoffice-commits] dev-tools.git: helpauthoring/HelpAuthoring

Yousuf Philips philipz85 at hotmail.com
Wed Mar 9 16:44:04 UTC 2016


 helpauthoring/HelpAuthoring/_Main.xba |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 5ca47d236f717ef0d427c8a2ef60edbeada09bf9
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Mon Mar 7 07:21:24 2016 +0400

    Make web view default
    
    Change-Id: I14879489b6a177b8f593ff0f02e6fef61fca5b35
    Reviewed-on: https://gerrit.libreoffice.org/22966
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/helpauthoring/HelpAuthoring/_Main.xba b/helpauthoring/HelpAuthoring/_Main.xba
index d661100..05ccfad 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -30,7 +30,7 @@ Global Const strErr_NoHelpFile = "Not a Help File"
 
 Global Const GitClient = "git-gui"
 
-Global Const WebView = "false"
+Global Const WebView = "true"
 
 Global Const ConsoleTerminal = "true"
 
@@ -467,6 +467,9 @@ Sub ReloadXHP
 	path = document.URL
 	document.close(-1)
 	oDoc = StarDesktop.loadComponentFromURL(path, path, 0, FileProperties())
+   if WebView = "true" then
+      goKey( ".uno:BrowseView" )
+   end if
 End Sub
 
 Sub UnhideParaIDs


More information about the Libreoffice-commits mailing list