framework/source/uielement/toolbarasmenucontroller.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 780304aca91284f3f3486977288b017fc4db1a43 Author: Maxim Monastirsky <momonas...@gmail.com> Date: Sat Nov 28 21:12:29 2015 +0200 ToolbarAsMenuController: treat line break as separator Change-Id: Iea82cba12082492ef413e3a2dc0beb20100ec1b5 diff --git a/framework/source/uielement/toolbarasmenucontroller.cxx b/framework/source/uielement/toolbarasmenucontroller.cxx index 83fdde4..03dcb16 100644 --- a/framework/source/uielement/toolbarasmenucontroller.cxx +++ b/framework/source/uielement/toolbarasmenucontroller.cxx @@ -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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits