summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/txtcrsr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/txtcrsr.cxx')
-rw-r--r--sw/source/uibase/shells/txtcrsr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/txtcrsr.cxx b/sw/source/uibase/shells/txtcrsr.cxx
index d49d3d1433ef..bc1c86fe1a2b 100644
--- a/sw/source/uibase/shells/txtcrsr.cxx
+++ b/sw/source/uibase/shells/txtcrsr.cxx
@@ -335,7 +335,7 @@ void SwTextShell::ExecMoveMisc(SfxRequest &rReq)
break;
std::unique_ptr< svx::ISdrObjectFilter > pFilter( FmFormShell::CreateFocusableControlFilter(
- *pDrawView, *pWindow ) );
+ *pDrawView, *pWindow->GetOutDev() ) );
if (!pFilter)
break;
@@ -348,7 +348,7 @@ void SwTextShell::ExecMoveMisc(SfxRequest &rReq)
if ( !pUnoObject )
break;
- pFormShell->ToggleControlFocus( *pUnoObject, *pDrawView, *pWindow );
+ pFormShell->ToggleControlFocus( *pUnoObject, *pDrawView, *pWindow->GetOutDev() );
}
break;
case FN_CNTNT_TO_NEXT_FRAME: