[Libreoffice-commits] core.git: sw/source

Samuel Mehrbrodt s.mehrbrodt at gmail.com
Wed Sep 24 11:51:25 PDT 2014


 sw/source/ui/app/mn.src |   43 +------------------------------------------
 1 file changed, 1 insertion(+), 42 deletions(-)

New commits:
commit 2f59a1c8169f1492c00d884b6eb3ce954645546f
Author: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Date:   Mon Aug 25 21:48:00 2014 +0200

    fdo#81132 Remove some formatting options from the right-click menu in Writer
    
    Removed:
      * Font (fixes fdo#34085)
      * Font size
      * Text alignment
    
    Change-Id: I176f3fa5c22aa3dee0c4110db434a66b2e195a6c
    Reviewed-on: https://gerrit.libreoffice.org/11111
    Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
    Tested-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>

diff --git a/sw/source/ui/app/mn.src b/sw/source/ui/app/mn.src
index 2b94310..85017f9 100644
--- a/sw/source/ui/app/mn.src
+++ b/sw/source/ui/app/mn.src
@@ -51,14 +51,6 @@
 #define MN_TEXT_ATTR\
     MenuItem\
     {\
-        ITEM_FORMAT_ATTR_CHAR_FONT\
-    };\
-    MenuItem\
-    {\
-        ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT\
-    };\
-    MenuItem\
-    {\
         Identifier = MN_FORMAT_STYLE ; \
         Command = ".uno:StyleMenu" ; \
         Text [ en-US ] = "St~yle" ; \
@@ -91,6 +83,7 @@
                     ITEM_FORMAT_ATTR_CHAR_STRIKEOUT\
                     Checkable = TRUE ; \
                 };\
+                SEPARATOR ; \
                 MenuItem\
                 {\
                     ITEM_FORMAT_ATTR_CHAR_SHADOWED\
@@ -121,40 +114,6 @@
     };\
     MenuItem\
     {\
-        Identifier = MN_FORMAT_ALGN ; \
-        Command = ".uno:AlignTextMenu" ; \
-        Text [ en-US ] = "A~lignment" ; \
-        SubMenu = Menu\
-        {\
-            ItemList = \
-            {\
-                MenuItem\
-                {\
-                    RadioCheck = TRUE ; \
-                    ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT\
-                };\
-                MenuItem\
-                {\
-                    RadioCheck = TRUE ; \
-                    ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT\
-                };\
-                MenuItem\
-                {\
-                    RadioCheck = TRUE ; \
-                    ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER\
-                };\
-                MenuItem\
-                {\
-                    Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \
-                    HelpId = CMD_SID_ATTR_PARA_ADJUST_BLOCK ; \
-                    RadioCheck = TRUE ; \
-                    Text [ en-US ] = "Justified" ; \
-                };\
-            };\
-        };\
-    };\
-    MenuItem\
-    {\
         Identifier = MN_FORMAT_LINESPACE ; \
         Command = ".uno:LineSpacingMenu" ; \
         Text [ en-US ] = "Line Spacing" ; \


More information about the Libreoffice-commits mailing list