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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Mar 12 10:49:02 UTC 2019


 sw/source/uibase/utlui/content.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit eed07fd50e35fcbfef4debe5f0046c4a0ba47f60
Author:     heiko tietze <tietze.heiko at gmail.com>
AuthorDate: Tue Mar 12 08:48:40 2019 +0100
Commit:     Heiko Tietze <tietze.heiko at gmail.com>
CommitDate: Tue Mar 12 11:48:37 2019 +0100

    Beautification to tdf#123395
    
    Separator added before the popup menu
    Extends patch 9ccdb944a6bfde317febbf7cfc37ae8e6e6df8c9
    
    Change-Id: Ie7d0beb45004985b25ae41458399ec979ca474ce
    Reviewed-on: https://gerrit.libreoffice.org/69078
    Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>
    Tested-by: Heiko Tietze <tietze.heiko at gmail.com>

diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index a59152b00210..1bb69c686343 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1320,6 +1320,7 @@ VclPtr<PopupMenu> SwContentTree::CreateContextMenu()
         SwContentType* pType = static_cast<SwContentType*>(pEntry->GetUserData());
         if(ContentTypeId::OUTLINE == pType->GetType())
         {
+            pPop->InsertSeparator();
             pPop->InsertItem(700, m_aContextStrings[IDX_STR_SEND_OUTLINE_TO_CLIPBOARD_ENTRY]);
         }
         if ( (pType->GetType() == ContentTypeId::POSTIT) &&  (!m_pActiveShell->GetView().GetDocShell()->IsReadOnly()) && ( pType->GetMemberCount() > 0) )


More information about the Libreoffice-commits mailing list