summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/trvltbl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/crsr/trvltbl.cxx')
-rw-r--r--sw/source/core/crsr/trvltbl.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/crsr/trvltbl.cxx b/sw/source/core/crsr/trvltbl.cxx
index 1763af7216cc..a36298901f5b 100644
--- a/sw/source/core/crsr/trvltbl.cxx
+++ b/sw/source/core/crsr/trvltbl.cxx
@@ -180,7 +180,10 @@ bool SwCursorShell::SelTableRowOrCol( bool bRow, bool bRowSimple )
const SwShellCursor *pCursor = GetCursor_();
const SwFrame* pStartFrame = pFrame;
const SwContentNode *pCNd = pCursor->GetContentNode( false );
- const SwFrame* pEndFrame = pCNd ? pCNd->getLayoutFrame( GetLayout(), &pCursor->GetMkPos() ) : nullptr;
+ std::pair<Point, bool> const tmp(pCursor->GetMkPos(), true);
+ const SwFrame* pEndFrame = pCNd
+ ? pCNd->getLayoutFrame(GetLayout(), nullptr, &tmp)
+ : nullptr;
if ( bRow )
{