summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-23 11:52:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-23 14:06:06 +0200
commit48ab1b2fbb3496cef478db11539ccd08b527656d (patch)
tree04a76daa84e64adcaa96562c1eeb2acb6f9deb5f /sc/source/ui/navipi
parent978fffefb15078d52be66463834c8b19ad78af4b (diff)
sc: rowcol: tdf#50916 convert miscdlgs
Change-Id: Ib8748b47e2432053ff9dfe7adec0309cd3931b2e Reviewed-on: https://gerrit.libreoffice.org/81372 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/navipi')
-rw-r--r--sc/source/ui/navipi/content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index 8d120a9194f5..af866cb5f054 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, MAXCOL,MAXROW,nTab );
+ ScRange aRange( 0,0,nTab, pLocalDoc->MaxCol(), pLocalDoc->MaxRow(),nTab );
lcl_DoDragCells( pSrcShell, aRange, (ScDragSrc::Navigator | ScDragSrc::Table), this );
}
}