svx/source/tbxctrls/tbcontrl.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit fd0a9400080373a9f267e81fc293946be38ab898
Author:     Armin Le Grand (Allotropia) <armin.le.gr...@me.com>
AuthorDate: Tue Dec 7 15:56:30 2021 +0100
Commit:     Thorsten Behrens <thorsten.behr...@allotropia.de>
CommitDate: Tue Dec 7 21:27:09 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/+/126446
    Tested-by: Thorsten Behrens <thorsten.behr...@allotropia.de>
    Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de>

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index b0ef5cbc7047..e979463702bb 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -2462,7 +2462,9 @@ IMPL_LINK_NOARG(SvxFrameWindow_Impl, SelectHdl, 
ValueSet*, void)
     sal_uInt16           nModifier = aFrameSet->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 )
     {
  • [Libreoffice-commits] core.git:... Armin Le Grand (Allotropia) (via logerrit)

Reply via email to