bin/list-dispatch-commands.py |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 5a8011372f4c8e849fa1e56246d793dcadffe3af
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Tue Oct 24 13:34:41 2023 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Oct 25 12:02:33 2023 +0200

    list-dispatch-commands: do not ignore aliases
    
    For instance, .uno:ViewTrackChanges should also be listed
    
    Change-Id: Ifdaaa91b053a28d5ba9a6926d81194d92c6ca65f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158386
    Tested-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/bin/list-dispatch-commands.py b/bin/list-dispatch-commands.py
index c5860c193bc4..50599e59dcdf 100755
--- a/bin/list-dispatch-commands.py
+++ b/bin/list-dispatch-commands.py
@@ -127,7 +127,6 @@ def analyze_xcu(all_commands):
                 cmdln = ln
                 tmp = line.split('"')
                 command_name = tmp[1]
-                command_ok = True
 
                 while '</node>' not in line:
                     try:
@@ -145,10 +144,8 @@ def analyze_xcu(all_commands):
                         label = 'tooltiplabel'
                     elif '<value xml:lang="en-US">' in line:
                         labeltext = line.replace('<value xml:lang="en-US">', 
'').replace('</value>', '').strip()
-                    elif '<prop oor:name="TargetURL"' in line:
-                        command_ok = False
 
-                if command_ok is True and popups is False:
+                if popups is False:
                     if command_name not in all_commands:
                         all_commands[command_name] = newcommand(command_name)
                     #

Reply via email to