summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/SwGrammarContact.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/SwGrammarContact.cxx')
-rw-r--r--sw/source/core/txtnode/SwGrammarContact.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/SwGrammarContact.cxx b/sw/source/core/txtnode/SwGrammarContact.cxx
index 5a444161a702..966a3d6f0225 100644
--- a/sw/source/core/txtnode/SwGrammarContact.cxx
+++ b/sw/source/core/txtnode/SwGrammarContact.cxx
@@ -205,7 +205,7 @@ void repaintTextFrames( SwModify& rModify )
pFrm; pFrm = (const SwTxtFrm*)aIter.Next() )
{
SwRect aRec( pFrm->PaintArea() );
- const SwRootFrm *pRootFrm = pFrm->FindRootFrm();
+ const SwRootFrm *pRootFrm = pFrm->getRootFrm();
ViewShell *pCurShell = pRootFrm ? pRootFrm->GetCurrShell() : NULL;
if( pCurShell )
pCurShell->InvalidateWindows( aRec );