[Libreoffice-commits] core.git: framework/dtd

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 19 08:58:35 UTC 2018


 framework/dtd/menubar.dtd |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 3c24038f0e5bbaf40050b46f75915346153bd9d1
Author:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
AuthorDate: Mon Sep 10 19:05:42 2018 +0200
Commit:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Wed Sep 19 10:58:08 2018 +0200

    menu:style="radio" is used since 2010, update dtd to reality
    
    menubar definitions using  menu:style="radio" attribute were
    introduced with df4017a8fffb448cd2f202ed297754f275ca6be3 / the other
    commits of that cws, but the dtd wasn't adjusted accordingly
    
    Change-Id: I7c7e1b8116800ee20cfede431ed90ef8f213cce0
    Reviewed-on: https://gerrit.libreoffice.org/60276
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/framework/dtd/menubar.dtd b/framework/dtd/menubar.dtd
index 12c615cfa374..b41431f6d0ef 100644
--- a/framework/dtd/menubar.dtd
+++ b/framework/dtd/menubar.dtd
@@ -17,6 +17,8 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
 
+<!ENTITY % menustyle "radio">
+
 <!ELEMENT menu:menubar (menu:menu+)>
 <!ELEMENT menu:menu (menu:menupopup)>
 <!ELEMENT menu:menupopup (menu:menuitem | menu:menuseparator | menu:menu)+>
@@ -34,4 +36,5 @@
 	menu:id CDATA #REQUIRED
 	menu:helpid CDATA #IMPLIED
 	menu:label CDATA #IMPLIED
+	menu:style %menustyle; #IMPLIED
 >


More information about the Libreoffice-commits mailing list