svx/source/svdraw/svdxcgv.cxx |   13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

New commits:
commit 09e6824bc868990095233825c415556399dd0652
Author:     Xisco Faulí <xiscofa...@libreoffice.org>
AuthorDate: Wed Feb 12 11:51:34 2020 +0100
Commit:     Thorsten Behrens <thorsten.behr...@cib.de>
CommitDate: Wed Feb 12 22:28:22 2020 +0100

    tdf#130614: Revert "tdf#125520 Fix OLE objects drag&drop with 'Insert as 
Copy'"
    
    This reverts commit e4cea049c80f4fd6d2a586e73fe9fa08ebd08371.
    
    Change-Id: Ic925cb5660df152208cdc63bfee62d82fe912717
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88493
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx
index 827b0720b69d..f55e964a6223 100644
--- a/svx/source/svdraw/svdxcgv.cxx
+++ b/svx/source/svdraw/svdxcgv.cxx
@@ -744,17 +744,8 @@ std::unique_ptr<SdrModel> 
SdrExchangeView::CreateMarkedObjModel() const
 
         if(nullptr == pNewObj)
         {
-            // not cloned yet
-            if (pObj->GetObjIdentifier() == OBJ_OLE2)
-            {
-                // tdf#125520
-                pNewObj = 
pObj->CloneSdrObject(pObj->getSdrModelFromSdrObject());
-            }
-            else
-            {
-                // use default way
-                pNewObj = pObj->CloneSdrObject(*pNewModel);
-            }
+            // not cloned yet, use default way
+            pNewObj = pObj->CloneSdrObject(*pNewModel);
         }
 
         if(pNewObj)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to