[Libreoffice-commits] core.git: reportdesign/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Oct 7 16:09:58 UTC 2018


 reportdesign/source/ui/report/ReportSection.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8b119b972b37a7e497091167bb6944a1c167f9bb
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Sep 30 11:56:08 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Oct 7 18:09:37 2018 +0200

    tdf#120151: fix crash in edit report
    
    Change-Id: I5ac7960233b615a3dd163cf1ab8355753948240e
    Reviewed-on: https://gerrit.libreoffice.org/61152
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx
index 8170adbdfe92..e64cee395cf5 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -353,6 +353,7 @@ void OReportSection::Copy(uno::Sequence< beans::NamedValue >& _rAllreadyCopiedOb
             try
             {
                 SdrObject* pNewObj(pSdrObject->CloneSdrObject(pSdrObject->getSdrModelFromSdrObject()));
+                m_pPage->NbcInsertObject(pNewObj);
                 aCopies.emplace_back(pNewObj->getUnoShape(),uno::UNO_QUERY);
                 if ( _bEraseAnddNoClone )
                 {


More information about the Libreoffice-commits mailing list