summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-24 14:10:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-24 15:39:27 +0100
commit4cc5ccef4bccc779f6286ac369b00dfd42ca9cdb (patch)
tree081fa1b57fe6a54be50215bcd4c11355b9fa801c /svx
parentb9326cf05f1ec7ba480bef756c20eca91035bedc (diff)
convert index dialog to .ui
Change-Id: I4b16cb517dca25f862b9dd612785dae4d0f21793
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/langbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx
index 72e385aa2fef..c1dea3af8781 100644
--- a/svx/source/dialog/langbox.cxx
+++ b/svx/source/dialog/langbox.cxx
@@ -150,7 +150,7 @@ SvxLanguageBox::SvxLanguageBox( Window* pParent, WinBits nBits, sal_Bool bCheck
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxLanguageBox(Window *pParent, VclBuilder::stringmap &)
{
SvxLanguageBox *pListBox = new SvxLanguageBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK);
- pListBox->SetBestDropDownLineCount();
+ pListBox->EnableAutoSize(true);
return pListBox;
}