[Libreoffice-commits] core.git: framework/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu Oct 20 10:02:14 UTC 2016


 framework/source/uielement/recentfilesmenucontroller.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e39983fdafa8e23e784818c124f4de5192ef1bb0
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Thu Oct 20 11:39:42 2016 +0200

    Toolbar Open menu: Insert separator between clear list and open entries
    
    Change-Id: I037c5d09ecb70480f4559697e291c40567fea615
    Reviewed-on: https://gerrit.libreoffice.org/30081
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx
index 57fe27d..c7a8611 100644
--- a/framework/source/uielement/recentfilesmenucontroller.cxx
+++ b/framework/source/uielement/recentfilesmenucontroller.cxx
@@ -242,6 +242,7 @@ void RecentFilesMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >
             // Open remote menu entry
             if ( m_bShowToolbarEntries )
             {
+                pVCLPopupMenu->InsertSeparator();
                 pVCLPopupMenu->InsertItem( sal_uInt16( nCount + 2 ),
                                            vcl::CommandInfoProvider::Instance().GetMenuLabelForCommand(
                                                CMD_OPEN_AS_TEMPLATE, m_xFrame) );


More information about the Libreoffice-commits mailing list