dbaccess/source/ui/control/RelationControl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22c3eeafc391f867632b3f88e2298d5747706484
Author:     Julien Nabet <[email protected]>
AuthorDate: Fri Dec 22 21:47:40 2023 +0100
Commit:     Julien Nabet <[email protected]>
CommitDate: Sat Dec 23 12:10:01 2023 +0100

    Fix b26611017a75867efe97b4cf53df96cbd025cc5e
    
    Following Caolán's comment here:
    https://gerrit.libreoffice.org/c/core/+/161185
    
    Thank you Caolán for the review!
    
    Change-Id: I8ac949fccc8a11cf483f679d4c0d2dc16e8c680c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161193
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <[email protected]>

diff --git a/dbaccess/source/ui/control/RelationControl.cxx 
b/dbaccess/source/ui/control/RelationControl.cxx
index 279e3a916ef3..ad625b8126a4 100644
--- a/dbaccess/source/ui/control/RelationControl.cxx
+++ b/dbaccess/source/ui/control/RelationControl.cxx
@@ -223,7 +223,7 @@ namespace dbaui
             OConnectionLineDataVec& rLines = 
m_pConnData->GetConnLineDataList();
             if ( rLines.size() <= o3tl::make_unsigned(nRow) )
             {
-                rLines.emplace_back();
+                rLines.emplace_back(new OConnectionLineData());
                 nRow = rLines.size() - 1;
                 // add new past-rLines row
                 m_ops.emplace_back(INSERT, make_pair(nRow+1, nRow+2));

Reply via email to