This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 546f7f5999 Cut and Paste of Fontwork performs as Copy and Paste.
546f7f5999 is described below
commit 546f7f5999ca912889b4487dfd727a602cdb1ebc
Author: mseidel <[email protected]>
AuthorDate: Wed Aug 27 22:04:43 2025 +0200
Cut and Paste of Fontwork performs as Copy and Paste.
This commit adresses the issue. See:
https://bz.apache.org/ooo/show_bug.cgi?id=90322
Many thanks to Buo-ren Lin who analyzed the problem and provided the code
under Alv2..
---
main/sw/source/ui/wrtsh/delete.cxx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/main/sw/source/ui/wrtsh/delete.cxx
b/main/sw/source/ui/wrtsh/delete.cxx
index d81f73083f..e51b26749d 100644
--- a/main/sw/source/ui/wrtsh/delete.cxx
+++ b/main/sw/source/ui/wrtsh/delete.cxx
@@ -256,6 +256,8 @@ long SwWrtShell::DelRight()
nSelection = nsSelectionType::SEL_TBL;
if(nSelection & nsSelectionType::SEL_TXT)
nSelection = nsSelectionType::SEL_TXT;
+ if(nSelection & nsSelectionType::SEL_FONTWORK)
+ nSelection = nsSelectionType::SEL_DRW;
const SwTableNode * pWasInTblNd = NULL;