diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-12-16 14:00:05 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-12-17 12:32:43 +0100 |
commit | 9237cce9ac9d339f179585f722a8ef0e88be64e3 (patch) | |
tree | 79dc91b336341755fda8b24eef70ff3e0e42d563 /sw/source | |
parent | e9d927b0a0ab56a7abdb7afad3c0fcc0c0c51e44 (diff) |
tdf#99027 Set default table border width to 0.5pt
Change-Id: Ib6c8a6e63271f400d69702c3c090678d6c016af3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126922
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
(cherry picked from commit c84ec0b1debb9b72f05ffc1d669608afc454cec2)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126972
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/docnode/ndtbl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index ca153b598dde..1b0e09f9b0f2 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -117,7 +117,8 @@ static void lcl_SetDfltBoxAttr( SwFrameFormat& rFormat, sal_uInt8 nId ) const bool bHTML = rFormat.getIDocumentSettingAccess().get(DocumentSettingId::HTML_MODE); Color aCol( bHTML ? COL_GRAY : COL_BLACK ); - SvxBorderLine aLine( &aCol, SvxBorderLineWidth::Hairline ); + // Default border in Writer: 0.5pt (matching Word) + SvxBorderLine aLine( &aCol, SvxBorderLineWidth::VeryThin ); if ( bHTML ) { aLine.SetBorderLineStyle(SvxBorderLineStyle::DOUBLE); |