summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-18 15:49:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-18 15:49:20 +0100
commitfe9237785a21aa12438aafa66a7264a4220e29c7 (patch)
treec531b5415465803708bf71f4a938a10e739e8bb5 /cui/source
parent599d66fdce6149c7fa5c7c0ad00d4da3b9ce2dfe (diff)
pick a default number of lines for abbrev/double lists
Change-Id: I553149931b6f2bad5ef149d899ca974240bda4fd
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/autocdlg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 4c12deec6dcd..bb5db5e62589 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -1354,6 +1354,7 @@ OfaAutocorrExceptPage::OfaAutocorrExceptPage(Window* pParent, const SfxItemSet&
get(m_pAbbrevED, "abbrev");
get(m_pAbbrevLB, "abbrevlist");
m_pAbbrevLB->SetStyle(m_pAbbrevLB->GetStyle() | WB_SORT);
+ m_pAbbrevLB->SetDropDownLineCount(7);
get(m_pNewAbbrevPB, "newabbrev");
get(m_pDelAbbrevPB, "delabbrev");
get(m_pAutoAbbrevCB, "autoabbrev");
@@ -1361,6 +1362,7 @@ OfaAutocorrExceptPage::OfaAutocorrExceptPage(Window* pParent, const SfxItemSet&
get(m_pDoubleCapsED, "double");
get(m_pDoubleCapsLB, "doublelist");
m_pDoubleCapsLB->SetStyle(m_pDoubleCapsLB->GetStyle() | WB_SORT);
+ m_pDoubleCapsLB->SetDropDownLineCount(7);
get(m_pNewDoublePB, "newdouble");
get(m_pDelDoublePB, "deldouble");
get(m_pAutoCapsCB, "autodouble");