diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-29 10:43:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-29 10:44:25 +0100 |
commit | fd68b73042ac59d610e1f0edb53444a3444c5c64 (patch) | |
tree | 4e7aebf5bf3d3a1bf93a59928f6f039f78427bec | |
parent | bbeb2eac1dd78d5279e06bfd7639c597dc6bd15b (diff) |
overline state missing from find/replace by properties dialog
Change-Id: I3178fed3ef4ada61cd9ba0becce4732c8043050f
-rw-r--r-- | sw/source/uibase/uiview/viewsrch.cxx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sw/source/uibase/uiview/viewsrch.cxx b/sw/source/uibase/uiview/viewsrch.cxx index 70857e6e7a8b..2b50e82e6925 100644 --- a/sw/source/uibase/uiview/viewsrch.cxx +++ b/sw/source/uibase/uiview/viewsrch.cxx @@ -440,13 +440,14 @@ void SwView::ExecSearch(SfxRequest& rReq) /* 8 */ RES_CHRATR_BACKGROUND, RES_CHRATR_BACKGROUND, /*10 */ RES_CHRATR_ROTATE, RES_CHRATR_ROTATE, /*12 */ RES_CHRATR_SCALEW, RES_CHRATR_RELIEF, +/*14 */ RES_CHRATR_OVERLINE, RES_CHRATR_OVERLINE, // insert position for CJK/CTL attributes! -/*14 */ RES_PARATR_LINESPACING, RES_PARATR_HYPHENZONE, -/*16 */ RES_PARATR_REGISTER, RES_PARATR_REGISTER, -/*18 */ RES_PARATR_VERTALIGN, RES_PARATR_VERTALIGN, -/*20 */ RES_LR_SPACE, RES_UL_SPACE, -/*22 */ SID_ATTR_PARA_MODEL, SID_ATTR_PARA_KEEP, -/*24 */ 0 +/*16 */ RES_PARATR_LINESPACING, RES_PARATR_HYPHENZONE, +/*18 */ RES_PARATR_REGISTER, RES_PARATR_REGISTER, +/*20 */ RES_PARATR_VERTALIGN, RES_PARATR_VERTALIGN, +/*22 */ RES_LR_SPACE, RES_UL_SPACE, +/*24 */ SID_ATTR_PARA_MODEL, SID_ATTR_PARA_KEEP, +/*26 */ 0 }; static const sal_uInt16 aCJKAttr[] = @@ -465,13 +466,13 @@ void SwView::ExecSearch(SfxRequest& rReq) aNormalAttr + SAL_N_ELEMENTS( aNormalAttr )); if( SW_MOD()->GetCTLOptions().IsCTLFontEnabled() ) { - aArr.insert( aArr.begin() + 14, aCTLAttr, + aArr.insert( aArr.begin() + 16, aCTLAttr, aCTLAttr + SAL_N_ELEMENTS( aCTLAttr )); } SvtCJKOptions aCJKOpt; if( aCJKOpt.IsAnyEnabled() ) { - aArr.insert( aArr.begin() + 14, aCJKAttr, + aArr.insert( aArr.begin() + 16, aCJKAttr, aCJKAttr + SAL_N_ELEMENTS( aCJKAttr )); } |