diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-12-03 09:39:32 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-12-03 10:08:21 -0500 |
commit | 0e280b9c50671473134d207ea7604aff5c1d6dc9 (patch) | |
tree | afcd9d48a5a392ef75272e26918c5717432a4729 /svx/source/tbxctrls/linectrl.cxx | |
parent | ab5973ab5c1fdc609fab16552652823517cea2c4 (diff) |
Fix failed popup launches on Windows.
These two popup windows failed to grab focus when launched, which
would cause them to immediately quit after launch. The old code
passed a BOOL argument where a popup launch flag was expected.
This looks like an existing bug to me. (fdo#31308)
Diffstat (limited to 'svx/source/tbxctrls/linectrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/linectrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx index 251780b3b897..62ab6864ee82 100644 --- a/svx/source/tbxctrls/linectrl.cxx +++ b/svx/source/tbxctrls/linectrl.cxx @@ -765,7 +765,7 @@ SfxPopupWindow* SvxLineEndToolBoxControl::CreatePopupWindow() { SvxLineEndWindow* pLineEndWin = new SvxLineEndWindow( GetId(), m_xFrame, &GetToolBox(), SVX_RESSTR( RID_SVXSTR_LINEEND ) ); - pLineEndWin->StartPopupMode( &GetToolBox(), TRUE ); + pLineEndWin->StartPopupMode( &GetToolBox(), FLOATWIN_POPUPMODE_GRABFOCUS ); pLineEndWin->StartSelection(); SetPopupWindow( pLineEndWin ); return pLineEndWin; |