desktop/source/app/app.cxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit ac689643d8d1d81d67b8a5ef051393cde132fe9e
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Fri Apr 18 19:58:23 2025 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Sun Apr 20 16:21:09 2025 +0200

    Fix command line call for right Help modules (core part)
    
    The new Help could not handle command line with --helpwriter 
(calc/base/...) because
    the HID was not well set.
    
    Now we pass an unique HID for each module.
    
    This is the core part.
    
    A Help part will follow.
    
    Change-Id: Iee0772785711083af02af8384fdf0868aecacc12
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184366
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 243c14a3292f..0b6b50aa3945 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2013,19 +2013,19 @@ void Desktop::OpenClients()
     {
         OUString aHelpModule;
         if (rArgs.IsHelpWriter()) {
-            aHelpModule = "swriter";
+            aHelpModule = "swriter/helpwriter";
         } else if (rArgs.IsHelpCalc()) {
-            aHelpModule = "scalc";
+            aHelpModule = "scalc/helpcalc";
         } else if (rArgs.IsHelpDraw()) {
-            aHelpModule = "sdraw";
+            aHelpModule = "sdraw/helpdraw";
         } else if (rArgs.IsHelpImpress()) {
-            aHelpModule = "simpress";
+            aHelpModule = "simpress/helpimpress";
         } else if (rArgs.IsHelpBase()) {
-            aHelpModule = "sdatabase";
+            aHelpModule = "sdatabase/helpbase";
         } else if (rArgs.IsHelpBasic()) {
-            aHelpModule = "sbasic";
+            aHelpModule = "sbasic/helpbasic";
         } else if (rArgs.IsHelpMath()) {
-            aHelpModule = "smath";
+            aHelpModule = "smath/helpmath";
         }
         if (!aHelpModule.isEmpty()) {
             OUString aHelpURL = "vnd.sun.star.help://"

Reply via email to