diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-11 12:22:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-12 12:25:21 +0100 |
commit | 431950e1eade91f8587d3ecffa73fd09136e16b6 (patch) | |
tree | d402e05fef613f36992e68efce2359e7cff54304 /sw/inc | |
parent | f088d85f80c643378262a1f53bdea6f42abcf7d4 (diff) |
tdf#121239 give writer, calc and draw/impress the same underline options
uno:Underline is the "real" deal, and has multiple underline options
uno:UnderlineSimple is "some underline on" vs no underline
calc and writer had UnderlineSingle, UnderlineDouble and UnderlineDotted
for that specific type of underline on vs not-on
add those to draw/impress too and then use UnderlineSingle instead of Underline
in the format menu so that when UnderlineDouble is applied, UnderlineSingle is
not show as applied, instead of using Underline ot UnderlineSimple which would
show as on if UnderlineDouble was applied
Change-Id: I6f9fcf37c2c90d215ea52b536e4fa84734754850
Reviewed-on: https://gerrit.libreoffice.org/82469
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/cmdid.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index 838091eb82a7..6b49d5a91e51 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -286,8 +286,7 @@ #define FN_AUTOFORMAT_AUTO (FN_FORMAT + 2 ) /* apply autoformat during user input */ #define FN_GROW_FONT_SIZE (FN_FORMAT + 3 ) /* size */ #define FN_SHRINK_FONT_SIZE (FN_FORMAT + 4 ) /* size */ -#define FN_UNDERLINE_DOUBLE (FN_FORMAT + 5 ) /* double underline */ -#define FN_AUTOFORMAT_REDLINE_APPLY (FN_FORMAT + 6 ) /* apply autoformat with Redlining */ +#define FN_AUTOFORMAT_REDLINE_APPLY (FN_FORMAT + 5 ) /* apply autoformat with Redlining */ #define FN_SET_SUPER_SCRIPT (FN_FORMAT + 11) /* superscript */ #define FN_SET_SUB_SCRIPT (FN_FORMAT + 12) /* subscript */ #define FN_SET_SMALL_CAPS (FN_FORMAT + 13) /* small caps */ |