diff options
Diffstat (limited to 'sw/source/uibase/uiview/viewling.cxx')
-rw-r--r-- | sw/source/uibase/uiview/viewling.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index 1e0b389aefb0..6824ea96bca9 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -651,9 +651,10 @@ bool SwView::ExecSpellPopup(const Point& rPt) !pCursorShell->IsTableMode() && !pCursor->HasMark() && !pCursor->IsMultiSelection()) { - SwContentFrame *pContentFrame = pCursor->GetContentNode()->getLayoutFrame( + std::pair<Point, bool> const tmp(rPt, false); + SwContentFrame *const pContentFrame = pCursor->GetContentNode()->getLayoutFrame( pCursorShell->GetLayout(), - &rPt, &aPoint, false); + &aPoint, &tmp); if (pContentFrame) { SwRect aRepaint(static_cast<SwTextFrame*>(pContentFrame)->AutoSpell_( |