svx/source/tbxctrls/tbcontrl.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit ef75bac5e69df10315ecde629ec8d71c221c8825 Author: Armin Le Grand (Allotropia) <armin.le.gr...@me.com> AuthorDate: Tue Dec 7 15:56:30 2021 +0100 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Wed Dec 8 08:51:30 2021 +0100 tdf#48622, tdf#145828 use correct default for border line width Use correct default to create the intended 0.75pt cell border using the border formatting tool in the standard toolbar Change-Id: I8e95a7ab888cdc1b04929fd41753e550b96f3de4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126484 Tested-by: Jenkins Reviewed-by: Armin Le Grand <armin.le.gr...@me.com> (cherry picked from commit 8995bc21ee570c9a914df71817a132c3b3637059) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126508 Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 130efa0b9122..2946bea56c21 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -2245,7 +2245,9 @@ IMPL_LINK_NOARG(SvxFrameWindow_Impl, SelectHdl, ValueSet*, void) sal_uInt16 nModifier = mxFrameSet->GetModifier(); FrmValidFlags nValidFlags = FrmValidFlags::NONE; - theDefLine.GuessLinesWidths(theDefLine.GetBorderLineStyle(), SvxBorderLineWidth::Hairline); + // tdf#48622, tdf#145828 use correct default to create intended 0.75pt + // cell border using the border formatting tool in the standard toolbar + theDefLine.GuessLinesWidths(theDefLine.GetBorderLineStyle(), SvxBorderLineWidth::Thin); switch ( nSel ) {