diff options
Diffstat (limited to 'sw/source/uibase/app/appenv.cxx')
-rw-r--r-- | sw/source/uibase/app/appenv.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/appenv.cxx b/sw/source/uibase/app/appenv.cxx index 8815f6a97ee2..6d90b30be544 100644 --- a/sw/source/uibase/app/appenv.cxx +++ b/sw/source/uibase/app/appenv.cxx @@ -159,7 +159,7 @@ void SwModule::InsertEnv( SfxRequest& rReq ) xDocSh->DoInitNew(); pFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, SFX_INTERFACE_NONE ); pNewView = static_cast<SwView*>( pFrame->GetViewShell()); - pNewView->AttrChangedNotify( &pNewView->GetWrtShell() ); // so that SelectShell is being called + pNewView->AttrChangedNotify(nullptr); // so that SelectShell is being called pSh = pNewView->GetWrtShellPtr(); OUString aTmp( SwResId(STR_ENV_TITLE) ); |