summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-23 06:08:36 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-23 06:14:41 +0200
commit9aede3befb65524d71a2cb8081ded6eb7aa67f55 (patch)
tree3246c3d8e5bb6d32cd237dbdbe9c61107f8c2480
parentf4246fab77113147b36706a1f3d93e8724ff826b (diff)
fdo#80534 bad default value (0) for the number of rows
Change-Id: I39604cf13d1e5714f701dd663ab37a8aed924fa2
-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 79eb155226c0..4a3567105867 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 )