sw/source/core/doc/DocumentStylePoolManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b430722da7dc2ddbbc1ae2e2a86d415e6fd8baba Author: Justin Luth <justin_l...@sil.org> AuthorDate: Thu Sep 27 08:13:06 2018 +0300 Commit: Justin Luth <justin_l...@sil.org> CommitDate: Fri Sep 28 05:55:59 2018 +0200 sw: increase horizontal line parastyle default borderwidth RES_POOLCOLL_HTML_HR had the absolute minimum width of 1 (0.05pt). Dividing by 3 in the "convert to word size" formula returned zero. It looks like import or export must increase the size to 3 because round-tripping in ODT format loads in a larger value that works when resaving as .doc. cui/source/tabpages/border.cxx sets the default for a double style border to 10, but the minimal value of 3 will be better since it matches the ODT round-tripped value (and looks more like a single line which people probably expect from the horizontal line). Change-Id: I32a90f2add3fe746359cd9cece14762ccc2a58c1 Reviewed-on: https://gerrit.libreoffice.org/61022 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_l...@sil.org> diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx index d397be625b26..1b7798db28fd 100644 --- a/sw/source/core/doc/DocumentStylePoolManager.cxx +++ b/sw/source/core/doc/DocumentStylePoolManager.cxx @@ -1336,7 +1336,7 @@ SwTextFormatColl* DocumentStylePoolManager::GetTextCollFromPool( sal_uInt16 nId, { SvxBoxItem aBox( RES_BOX ); Color aColor( COL_GRAY ); - SvxBorderLine aNew(&aColor, 1, SvxBorderLineStyle::DOUBLE); + SvxBorderLine aNew(&aColor, 3, SvxBorderLineStyle::DOUBLE); aBox.SetLine( &aNew, SvxBoxItemLine::BOTTOM ); aSet.Put( aBox ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits