diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-11-16 12:34:50 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-11-16 12:34:50 +0100 |
commit | b317d5fbb5a0a8dc695391de3f9f6ee339341987 (patch) | |
tree | 133821ff9ce3f0272dec08e9a3146cf69b5ce760 /sw/source/uibase/uiview | |
parent | a5055366c3865a443d1c688e48b581dad5e5fdc0 (diff) |
sw: Rename to avoid conflict after Frm -> Frame rename.
Change-Id: I4d02024fd80ad85c8c3ecd830dcc5c4b49ad2014
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r-- | sw/source/uibase/uiview/viewling.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index af2e46e954df..b9e2ef4589a4 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -654,12 +654,12 @@ bool SwView::ExecSpellPopup(const Point& rPt) !pCrsrShell->IsTableMode() && !pCrsr->HasMark() && !pCrsr->IsMultiSelection()) { - SwContentFrm *pFrm = pCrsr->GetContentNode()->getLayoutFrm( + SwContentFrm *pContentFrame = pCrsr->GetContentNode()->getLayoutFrm( pCrsrShell->GetLayout(), &rPt, &aPoint, false); - if (pFrm) + if (pContentFrame) { - SwRect aRepaint(static_cast<SwTextFrm*>(pFrm)->_AutoSpell(nullptr, 0)); + SwRect aRepaint(static_cast<SwTextFrm*>(pContentFrame)->_AutoSpell(nullptr, 0)); if (aRepaint.HasArea()) m_pWrtShell->InvalidateWindows(aRepaint); } |