summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-23 06:08:36 +0200
committerJoren De Cuyper <jorendc@libreoffice.org>2014-08-23 04:58:18 -0500
commitc8964193051a9ef543a50c7d87c78da99f253fbd (patch)
tree83a038efa59445dbf929be35882c51a815dd3a7f /sw
parent02bcf0d5abff100289d01c29eee2ed0685eb64ca (diff)
fdo#80534 bad default value (0) for the number of rows
Change-Id: I39604cf13d1e5714f701dd663ab37a8aed924fa2 (cherry picked from commit 9aede3befb65524d71a2cb8081ded6eb7aa67f55) Reviewed-on: https://gerrit.libreoffice.org/11085 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/table/tabledlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx
index 62a9bb6c3187..3ba9d438ae4d 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 )