tdf#150732 ReportBuilder,Moving fields breaks connection of field to datasource
commit957ac2bd3e6be97179f87f96fb9b5f13c0635834
authorNoel Grandin <noel.grandin@collabora.co.uk>
Thu, 11 May 2023 12:20:03 +0000 (11 14:20 +0200)
committerNoel Grandin <noel.grandin@collabora.co.uk>
Thu, 11 May 2023 13:30:34 +0000 (11 15:30 +0200)
treed8bc40d988273461bb1f8bc325bfafd16879c739
parent354cfa20af48207ac35ac14b832b7e44836726d7
tdf#150732 ReportBuilder,Moving fields breaks connection of field to datasource

regression from
    commit 09cb778b6eb7d3a5b9029965a1320b49c90e7295
    Author: Noel <noel.grandin@collabora.co.uk>
    Date:   Tue Feb 9 13:42:22 2021 +0200
    clean up SdrObject cloning

The changed order of initialisation of the copied objects meant that
they ended up with a missing servicename, which broke copying of
properties

Change-Id: I76a2a4721f1e3669684094a86cd501c03f80206d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151672
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
reportdesign/inc/RptObject.hxx
reportdesign/source/core/sdr/RptObject.cxx
reportdesign/source/ui/report/dlgedfac.cxx