diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2013-11-18 16:28:54 +0100 |
---|---|---|
committer | Thorsten Behrens <thb@documentfoundation.org> | 2013-11-20 07:08:33 -0600 |
commit | d0c5f4522f8aa063b3e7c034db079d74b7f0b3fa (patch) | |
tree | df31cbf4318f710361e82cb448f12a084ca5d81e /sw | |
parent | e89b91efd69fca7150721cb7d86fc36110edd898 (diff) |
fdo#71740 AutoCorrection Border emphasis differences
AutoCorrection of === create a so thin border that it is almost
invisible. This patch increases width of borders to get differences
more visible
Change-Id: Ifb34e52410b37fe74059721386cbfa49df590ace
Reviewed-on: https://gerrit.libreoffice.org/6710
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/edit/autofmt.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx index 6fb456a16549..53a997e40184 100644 --- a/sw/source/core/edit/autofmt.cxx +++ b/sw/source/core/edit/autofmt.cxx @@ -555,27 +555,27 @@ bool SwAutoFormat::DoUnderline() editeng::SvxBorderLine aLine; switch( eState ) { - case 1: // single, 0,05 pt + case 1: // single, 0.05 pt aLine.SetBorderLineStyle(table::BorderLineStyle::SOLID); aLine.SetWidth( DEF_LINE_WIDTH_0 ); break; - case 2: // single, 1,0 pt + case 2: // single, 1.0 pt aLine.SetBorderLineStyle(table::BorderLineStyle::SOLID); aLine.SetWidth( DEF_LINE_WIDTH_1 ); break; - case 3: // double, 1,1 pt + case 3: // double, 1.0 pt aLine.SetBorderLineStyle(table::BorderLineStyle::DOUBLE); - aLine.SetWidth( DEF_LINE_WIDTH_0 ); + aLine.SetWidth( DEF_LINE_WIDTH_1 ); break; - case 4: // double, 4,5 pt + case 4: // double (thick/thin), 4.0 pt aLine.SetBorderLineStyle(table::BorderLineStyle::THICKTHIN_SMALLGAP); - aLine.SetWidth( DEF_LINE_WIDTH_1 ); + aLine.SetWidth( DEF_LINE_WIDTH_3 ); break; - case 5: // double, 6,0 pt + case 5: // double (thin/thick), 4.0 pt aLine.SetBorderLineStyle(table::BorderLineStyle::THINTHICK_SMALLGAP); - aLine.SetWidth( DEF_LINE_WIDTH_2 ); + aLine.SetWidth( DEF_LINE_WIDTH_3 ); break; - case 6: // double, 9,0 pt + case 6: // double, 2.5 pt aLine.SetBorderLineStyle(table::BorderLineStyle::DOUBLE); aLine.SetWidth( DEF_LINE_WIDTH_2 ); break; |