summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-20 09:03:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-20 11:32:50 +0200
commit6e385ead86ea44573401d113812dc3cffb5ed77c (patch)
tree1634d2fd85e737667199f36f8071f6423bec87ce /cui
parentfbbfcf1eeaf9d47e615519928fc07e1f1842bcb8 (diff)
bump the MAXNUM_SUGGESTIONS comparision
Change-Id: Id42a6ffb19a8f7e5425ade86e5e042edfa279d27 Reviewed-on: https://gerrit.libreoffice.org/53186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 64be36bab3da..cba5add90558 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -1750,7 +1750,7 @@ namespace svx
m_aDeletePB->SetClickHdl( LINK( this, HangulHanjaEditDictDialog, DeletePBPushHdl ) );
m_aDeletePB->Enable( false );
- static_assert(MAXNUM_SUGGESTIONS > 5, "number of suggestions should not under-run the value of 5");
+ static_assert(MAXNUM_SUGGESTIONS >= 5, "number of suggestions should not under-run the value of 5");
Link<ScrollBar*,void> aScrLk( LINK( this, HangulHanjaEditDictDialog, ScrollHdl ) );
m_aScrollSB->SetScrollHdl( aScrLk );