reportdesign/source/core/sdr/RptObject.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5894c98b7cddc9429167bf5f2ef492aabdcf9fb1
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Sun Nov 14 16:30:39 2021 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Nov 15 15:14:51 2021 +0100

    tdf#145323 reportbuilder Moving a field corrupts the field
    
    regression from
        commit 09cb778b6eb7d3a5b9029965a1320b49c90e7295
        clean up SdrObject cloning
    
    Change-Id: I7f234dee1dca704195eeebba874c80e73c7abe91
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125196
    Tested-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    (cherry picked from commit 92857b181a715de08bd4264f4dc4161367d2b3c7)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125134
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/reportdesign/source/core/sdr/RptObject.cxx 
b/reportdesign/source/core/sdr/RptObject.cxx
index fa079f3f72c4..ab2a1fa18b79 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -587,7 +587,7 @@ OUnoObject::OUnoObject(
 
 OUnoObject::OUnoObject(
     SdrModel& rSdrModel, OUnoObject const & rSource)
-:   SdrUnoObj(rSdrModel, rSource.getUnoControlModelTypeName())
+:   SdrUnoObj(rSdrModel, rSource)
     ,OObjectBase(rSource.getServiceName())
     ,m_nObjectType(rSource.m_nObjectType)
     // tdf#119067

Reply via email to