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

New commits:
commit 5ca47d236f717ef0d427c8a2ef60edbeada09bf9
Author: Yousuf Philips <philip...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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 = &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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to