Kaydet (Commit) 563dd59c authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#100809 Paragraph styles drop-down list

Change-Id: I9453c3c877dcd39268f7c910e8918947bdeb8fd4
üst b05dade3
......@@ -398,14 +398,16 @@ void SvxStyleBox_Impl::ReleaseFocus()
IMPL_LINK_TYPED( SvxStyleBox_Impl, MenuSelectHdl, Menu*, pMenu, bool)
{
OUString sEntry = GetSelectEntry();
sal_uInt16 nMenuId = pMenu->GetCurItemId();
ReleaseFocus(); // It must be after getting entry pos!
if (IsInDropDown())
ToggleDropDown();
Sequence< PropertyValue > aArgs( 2 );
aArgs[0].Name = "Param";
aArgs[0].Value = makeAny( sEntry );
aArgs[1].Name = "Family";
aArgs[1].Value = makeAny( sal_Int16( eStyleFamily ));
sal_uInt16 nMenuId = pMenu->GetCurItemId();
switch(nMenuId) {
case RID_SVX_UPDATE_STYLE:
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment