summaryrefslogtreecommitdiff
path: root/svtools
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 /svtools
parentb9326cf05f1ec7ba480bef756c20eca91035bedc (diff)
convert index dialog to .ui
Change-Id: I4b16cb517dca25f862b9dd612785dae4d0f21793
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 61964004c3a2..b4709df3d7dc 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -147,7 +147,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeColorListBox(Window *pParen
nWinBits |= WB_DROPDOWN;
ColorListBox *pListBox = new ColorListBox(pParent, nWinBits);
if (bDropdown)
- pListBox->SetBestDropDownLineCount();
+ pListBox->EnableAutoSize(true);
return pListBox;
}
@@ -1049,7 +1049,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeFontNameBox(Window *pParent
nWinBits |= WB_DROPDOWN;
FontNameBox *pListBox = new FontNameBox(pParent, nWinBits);
if (bDropdown)
- pListBox->SetBestDropDownLineCount();
+ pListBox->EnableAutoSize(true);
return pListBox;
}
@@ -1438,7 +1438,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeFontStyleBox(Window *pParen
nWinBits |= WB_DROPDOWN;
FontStyleBox *pListBox = new FontStyleBox(pParent, nWinBits);
if (bDropdown)
- pListBox->SetBestDropDownLineCount();
+ pListBox->EnableAutoSize(true);
return pListBox;
}
@@ -1658,7 +1658,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeFontSizeBox(Window *pParent
nWinBits |= WB_DROPDOWN;
FontSizeBox* pListBox = new FontSizeBox(pParent, nWinBits);
if (bDropdown)
- pListBox->SetBestDropDownLineCount();
+ pListBox->EnableAutoSize(true);
return pListBox;
}