This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO41X by this push:
     new 04b6b6870a Cut and Paste of Fontwork performs as Copy and Paste.
04b6b6870a is described below

commit 04b6b6870a929068b71eb32da22b56d2ed2733d5
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..
    
    (cherry picked from commit 546f7f5999ca912889b4487dfd727a602cdb1ebc)
---
 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 0b22dbd81e..aeb73121f5 100644
--- a/main/sw/source/ui/wrtsh/delete.cxx
+++ b/main/sw/source/ui/wrtsh/delete.cxx
@@ -259,6 +259,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;
 

Reply via email to