summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2023-07-01 19:52:43 -0800
committerJim Raykowski <raykowj@gmail.com>2023-07-02 22:46:48 +0200
commit4f9294ec702a82765c04c8652dddec4dda1e6075 (patch)
treec2931e07092eee2e32696913c09b7c45b82175ff /sw/source/uibase
parent756bef92bebe7d8549ed4ddbf560a1b1e63af885 (diff)
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 <raykowj@gmail.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/utlui/content.cxx2
1 files changed, 2 insertions, 0 deletions
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: