cui/source/tabpages/paragrph.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6c1b8cf820b41f7a579d5d9e7036a14d22567782
Author:     Justin Luth <jl...@mail.com>
AuthorDate: Mon Aug 11 17:08:18 2025 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Tue Aug 12 02:15:30 2025 +0200

    related tdf#167721 cui: allow negative values for firstLine
    
    When lcl_SetFontRelativeValue was calling
    rField.SetFontRelative(FieldUnit::FONT_CJK_ADVANCE),
    then SvxRelativeField::SetFontRelative would
    m_xSpinButton->set_range(bNegativeEnabled ? -9999 : 0, 9999)
    and bNegativeEnabled was false.
    
    Change-Id: I3068705c15c11a066301b1105f3959c982f5f824
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189389
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>

diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index ca10cf29eae5..b55863973c2a 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -978,6 +978,7 @@ 
SvxStdParagraphTabPage::SvxStdParagraphTabPage(weld::Container* pPage, weld::Dia
 
     Init_Impl();
     m_aFLineIndent.set_min(-9999, FieldUnit::NONE);    // is set to 0 on 
default
+    m_aFLineIndent.EnableNegativeMode();
     m_aFLineIndent.EnableFontRelativeMode();
 
     m_aLeftIndent.EnableFontRelativeMode();

Reply via email to