https://bugs.documentfoundation.org/show_bug.cgi?id=86017

--- Comment #30 from Julien Nabet <[email protected]> ---
It's not sufficient to change SwEditShell::InsertDDETable, see:
Breakpoint 1, SwDoc::InsertTable (this=0x6e8c990, rInsTblOpts=...,
rPos=SwPosition (node 9, offset 0), nRows=0, nCols=3, eAdjust=6, pTAFmt=0x0,
pColArr=0x0, 
    bCalledFromShell=false, bNewModel=true) at
/home/julien/compile-libreoffice/libreoffice/sw/source/core/docnode/ndtbl.cxx:338
338        OSL_ENSURE( nRows, "Table without line?" );
(gdb) bt
#0  SwDoc::InsertTable (this=0x6e8c990, rInsTblOpts=..., rPos=SwPosition (node
9, offset 0), nRows=0, nCols=3, eAdjust=6, pTAFmt=0x0, pColArr=0x0,
bCalledFromShell=false, 
    bNewModel=true) at
/home/julien/compile-libreoffice/libreoffice/sw/source/core/docnode/ndtbl.cxx:338
#1  0x00002aaadaa9e64b in SwEditShell::InsertDDETable (this=0x6eedf80,
rInsTblOpts=..., pDDEType=0x7252510, nRows=1048576, nCols=3, eAdj=6)
    at
/home/julien/compile-libreoffice/libreoffice/sw/source/core/edit/edtab.cxx:234

So InsertTable seems also to need sal_Int32 for rows and cols (see
http://opengrok.libreoffice.org/xref/core/sw/source/core/docnode/ndtbl.cxx#330)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to