diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-19 22:01:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:49 +0100 |
commit | adda1a25f248586b46682bb9e19cd7a6b2c9debc (patch) | |
tree | 30d29d5107bcf9b37c35ca8032a677cb3bdf46c6 /sw | |
parent | 29d6cfdca55c56a61c5a22c42f764697b5dc03b4 (diff) |
convert hard-coded layout of char name tabpage to .ui
Change-Id: I20829b6a0835bf96489d67b6f7effcfa84650328
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/cctrl/actctrl.cxx | 5 | ||||
-rw-r--r-- | sw/source/ui/misc/numberingtypelistbox.cxx | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sw/source/ui/cctrl/actctrl.cxx b/sw/source/ui/cctrl/actctrl.cxx index 0f2d02afc61f..34f9d5d7f072 100644 --- a/sw/source/ui/cctrl/actctrl.cxx +++ b/sw/source/ui/cctrl/actctrl.cxx @@ -28,6 +28,7 @@ #include <comphelper/string.hxx> +#include <vcl/builder.hxx> #include "actctrl.hxx" void NumEditAction::Action() @@ -125,14 +126,14 @@ void ReturnActionEdit::KeyInput( const KeyEvent& rEvt) Edit::KeyInput(rEvt); } -extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeTableNameEdit(Window *pParent) +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeTableNameEdit(Window *pParent, VclBuilder::stringmap &) { TableNameEdit* pTableNameEdit = new TableNameEdit(pParent); pTableNameEdit->SetMaxWidthInChars(25); return pTableNameEdit; } -extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeNoSpaceEdit(Window *pParent) +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeNoSpaceEdit(Window *pParent, VclBuilder::stringmap &) { return new NoSpaceEdit(pParent); } diff --git a/sw/source/ui/misc/numberingtypelistbox.cxx b/sw/source/ui/misc/numberingtypelistbox.cxx index 1fa26fc2547e..c3e46aa4e52d 100644 --- a/sw/source/ui/misc/numberingtypelistbox.cxx +++ b/sw/source/ui/misc/numberingtypelistbox.cxx @@ -77,10 +77,10 @@ bool SwNumberingTypeListBox::set_property(const rtl::OString &rKey, const rtl::O return true; } -extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSwNumberingTypeListBox(Window *pParent) +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSwNumberingTypeListBox(Window *pParent, VclBuilder::stringmap &) { SwNumberingTypeListBox *pListBox = new SwNumberingTypeListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK); - pListBox->SetDropDownLineCount(16); + pListBox->SetBestDropDownLineCount(); return pListBox; } |