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

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


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

commit d74e99bfa29069eae7a7e23b19fd336d0dea7603
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 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;
 

Reply via email to