summaryrefslogtreecommitdiff
path: root/sw/source/ui/cctrl/actctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/cctrl/actctrl.cxx')
-rw-r--r--sw/source/ui/cctrl/actctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/cctrl/actctrl.cxx b/sw/source/ui/cctrl/actctrl.cxx
index 18c2ac42fa1e..7844f068b300 100644
--- a/sw/source/ui/cctrl/actctrl.cxx
+++ b/sw/source/ui/cctrl/actctrl.cxx
@@ -129,7 +129,7 @@ void ReturnActionEdit::KeyInput( const KeyEvent& rEvt)
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeTableNameEdit(Window *pParent, VclBuilder::stringmap &)
{
TableNameEdit* pTableNameEdit = new TableNameEdit(pParent);
- pTableNameEdit->SetMaxWidthInChars(25);
+ pTableNameEdit->SetWidthInChars(25);
return pTableNameEdit;
}