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

New commits:
commit 4f9294ec702a82765c04c8652dddec4dda1e6075
Author:     Jim Raykowski <rayk...@gmail.com>
AuthorDate: Sat Jul 1 19:52:43 2023 -0800
Commit:     Jim Raykowski <rayk...@gmail.com>
CommitDate: Sun Jul 2 22:46:48 2023 +0200

    tdf#156112 SwNavigator: Disallow footnote and endnote dnd
    
    Change-Id: I892f8a34f43629f3e76aa187299dc8c805b72545
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153855
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <rayk...@gmail.com>

diff --git a/sw/source/uibase/utlui/content.cxx 
b/sw/source/uibase/utlui/content.cxx
index 1284dc7a0d0e..4d134a0c947c 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -2751,6 +2751,8 @@ bool SwContentTree::FillTransferData( 
TransferDataContainer& rTransfer,
         case ContentTypeId::INDEX:
         case ContentTypeId::REFERENCE :
         case ContentTypeId::TEXTFIELD:
+        case ContentTypeId::FOOTNOTE:
+        case ContentTypeId::ENDNOTE:
             // cannot be inserted, neither as URL nor as section
         break;
         case ContentTypeId::URLFIELD:

Reply via email to