[Libreoffice-commits] core.git: sw/source
Laurent Balland-Poirier
laurent.balland-poirier at laposte.net
Wed Nov 20 05:09:08 PST 2013
sw/source/core/edit/autofmt.cxx | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
New commits:
commit d0c5f4522f8aa063b3e7c034db079d74b7f0b3fa
Author: Laurent Balland-Poirier <laurent.balland-poirier at laposte.net>
Date: Mon Nov 18 16:28:54 2013 +0100
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 at documentfoundation.org>
Tested-by: Thorsten Behrens <thb at documentfoundation.org>
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 6fb456a..53a997e 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;
More information about the Libreoffice-commits
mailing list