summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-11-14 16:30:39 +0200
committerCaolán McNamara <caolanm@redhat.com>2021-11-15 18:14:02 +0100
commitc95ddfc252c57dd2454a7e37b8abfe2b6fa74a84 (patch)
treed60ece0b705943992e417587f023a9dbca964369
parentb89853d017f862de9dfadcf9efdbcf7d68feb945 (diff)
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.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 92857b181a715de08bd4264f4dc4161367d2b3c7) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125134 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> (cherry picked from commit 5894c98b7cddc9429167bf5f2ef492aabdcf9fb1) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125139 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx2
1 files changed, 1 insertions, 1 deletions
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