diff options
Diffstat (limited to 'sw/source/uibase/uiview/view.cxx')
-rw-r--r-- | sw/source/uibase/uiview/view.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index 039977ff6827..0f0fde20ecab 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -179,7 +179,7 @@ void SwView::GotFocus() const if ( pAsFormShell ) { pAsFormShell->ForgetActiveControl(); - const_cast< SwView* >( this )->AttrChangedNotify( m_pWrtShell.get() ); + const_cast< SwView* >( this )->AttrChangedNotify(nullptr); } else if ( m_pPostItMgr ) { @@ -187,7 +187,7 @@ void SwView::GotFocus() const if ( pAsAnnotationShell ) { m_pPostItMgr->SetActiveSidebarWin(nullptr); - const_cast< SwView* >( this )->AttrChangedNotify( m_pWrtShell.get() ); + const_cast< SwView* >( this )->AttrChangedNotify(nullptr); } } if( GetWrtShellPtr() ) @@ -216,7 +216,7 @@ IMPL_LINK_NOARG(SwView, FormControlActivated, LinkParamNone*, void) if ( pSdrView && pSdrView->IsTextEdit() ) pSdrView->SdrEndTextEdit( true ); - AttrChangedNotify( m_pWrtShell.get() ); + AttrChangedNotify(nullptr); } } @@ -501,7 +501,7 @@ extern "C" } } -IMPL_LINK_NOARG(SwView, AttrChangedNotify, SwCursorShell*, void) +IMPL_LINK_NOARG(SwView, AttrChangedNotify, LinkParamNone*, void) { if ( GetEditWin().IsChainMode() ) GetEditWin().SetChainMode( false ); @@ -1620,7 +1620,7 @@ void SwView::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) GetDrawFuncPtr()->Deactivate(); SetDrawFuncPtr(nullptr); LeaveDrawCreate(); - AttrChangedNotify(m_pWrtShell.get()); + AttrChangedNotify(nullptr); } } else |