[Libreoffice-commits] core.git: sw/source

Thomas Arnhold thomas at arnhold.org
Fri Aug 22 21:15:56 PDT 2014


 sw/source/ui/table/tabledlg.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9aede3befb65524d71a2cb8081ded6eb7aa67f55
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sat Aug 23 06:08:36 2014 +0200

    fdo#80534 bad default value (0) for the number of rows
    
    Change-Id: I39604cf13d1e5714f701dd663ab37a8aed924fa2

diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx
index 79eb155..4a35671 100644
--- a/sw/source/ui/table/tabledlg.cxx
+++ b/sw/source/ui/table/tabledlg.cxx
@@ -1591,6 +1591,7 @@ void   SwTextFlowPage::Reset( const SfxItemSet* rSet )
         m_pHeadLineCB->Check( nRep > 0 );
         m_pHeadLineCB->SaveValue();
         m_pRepeatHeaderNF->SetValue( nRep );
+        m_pRepeatHeaderNF->SetMin( 1 );
         m_pRepeatHeaderNF->SaveValue();
     }
     if ( rSet->GetItemState(FN_TABLE_BOX_TEXTORIENTATION) > SFX_ITEM_AVAILABLE )


More information about the Libreoffice-commits mailing list