diff options
Diffstat (limited to 'sw/source/core/crsr/crstrvl.cxx')
-rw-r--r-- | sw/source/core/crsr/crstrvl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx index 0a2c404ce399..3972071383ab 100644 --- a/sw/source/core/crsr/crstrvl.cxx +++ b/sw/source/core/crsr/crstrvl.cxx @@ -367,7 +367,7 @@ void SwCursorShell::GotoTOXMarkBase() return; // Take the 1. and get the index type. Ask it for the actual index. const SwTOXType* pType = aMarks[0]->GetTOXType(); - auto pContentFrame = pType->FindContentFrame(*GetDoc(), *GetLayout()); + auto pContentFrame = pType->FindContentFrame(*GetLayout()); if(!pContentFrame) return; SwCallLink aLk(*this); // watch Cursor-Moves |