https://bugs.documentfoundation.org/show_bug.cgi?id=86017
--- Comment #29 from Julien Nabet <[email protected]> --- Thank you Matthew for your investigation. I noticed this part in the commit: --- a/sw/source/ui/dochdl/swdtflvr.cxx +++ b/sw/source/ui/dochdl/swdtflvr.cxx @@ -2121,11 +2121,11 @@ int SwTransferable::_PasteDDE( TransferableDataHelper& rData, comphelper::string::getTokenCount(aExpand, '\t') ) ) { OUString sTmp( aExpand ); - xub_StrLen nRows = comphelper::string::getTokenCount(sTmp, '\n'); + sal_Int32 nRows = comphelper::string::getTokenCount(sTmp, '\n'); if( nRows ) --nRows; sTmp = sTmp.getToken( 0, '\n' ); - xub_StrLen nCols = comphelper::string::getTokenCount(sTmp, '\t'); + sal_Int32 nCols = comphelper::string::getTokenCount(sTmp, '\t'); // at least one column & row must be there if( !nRows || !nCols ) but SwEditShell::InsertDDETable (see http://opengrok.libreoffice.org/xref/core/sw/source/uibase/dochdl/swdtflvr.cxx#2182) expects sal_uInt16 for nRows and nCols (see http://opengrok.libreoffice.org/xref/core/sw/source/core/edit/edtab.cxx#InsertDDETable) perhaps just a replace in the args of InsertDDETable could make it, I'll give it a try. -- 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
