https://bugs.documentfoundation.org/show_bug.cgi?id=86017
--- Comment #31 from Julien Nabet <[email protected]> --- Here's a temporary fix: diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 2ba22e4..e8ea063 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -2171,7 +2171,7 @@ bool SwTransferable::_PasteDDE( TransferableDataHelper& rData, sal_Int32 nCols = comphelper::string::getTokenCount(sTmp, '\t'); // at least one column & row must be there - if( !nRows || !nCols ) + if( !nRows || !nCols || nRows > SAL_MAX_UINT16) { if( bMsg ) MessageDialog(0, SW_RESSTR(STR_NO_TABLE), VCL_MESSAGE_INFO).Execute(); The real fix would be to calculate the number of non empty rows (as when cols selected are consecutive) or to change all the functions involved so they use sal_Int32 instead of sal_uInt16 for nRows (and also perhaps for nCols) -- 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
