diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-04-18 15:49:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-04-18 15:49:20 +0100 |
commit | fe9237785a21aa12438aafa66a7264a4220e29c7 (patch) | |
tree | c531b5415465803708bf71f4a938a10e739e8bb5 /cui | |
parent | 599d66fdce6149c7fa5c7c0ad00d4da3b9ce2dfe (diff) |
pick a default number of lines for abbrev/double lists
Change-Id: I553149931b6f2bad5ef149d899ca974240bda4fd
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 2 |
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"); |