Kaydet (Commit) 780304ac authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

ToolbarAsMenuController: treat line break as separator

Change-Id: Iea82cba12082492ef413e3a2dc0beb20100ec1b5
üst ac5d31ee
......@@ -249,6 +249,7 @@ void ToolbarAsMenuController::fillPopupMenu()
pVCLMenu->InsertItem( aCommandURL, m_xFrame );
break;
case css::ui::ItemType::SEPARATOR_LINE:
case css::ui::ItemType::SEPARATOR_LINEBREAK:
if ( bVisible && pVCLMenu->GetItemId( pVCLMenu->GetItemCount() - 1 ) != 0 )
pVCLMenu->InsertSeparator();
break;
......
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