sc/source/ui/navipi/content.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5d07d19d0d2f036c5aa72fd933f2fe94295cc2df Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Oct 28 19:09:06 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Oct 29 09:15:32 2019 +0100 cid#1455158 Explicit null dereferenced Change-Id: Icdf6dd9bee5f917a6a6b26b3d80c0502a656948b Reviewed-on: https://gerrit.libreoffice.org/81625 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index af866cb5f054..74519392bbe5 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -1396,7 +1396,7 @@ void ScContentTree::DoDrag() SCTAB nTab; if ( rSrcDoc.GetTable( aText, nTab ) ) { - ScRange aRange( 0,0,nTab, pLocalDoc->MaxCol(), pLocalDoc->MaxRow(),nTab ); + ScRange aRange(0, 0, nTab, rSrcDoc.MaxCol(), rSrcDoc.MaxRow(), nTab); lcl_DoDragCells( pSrcShell, aRange, (ScDragSrc::Navigator | ScDragSrc::Table), this ); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits