diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-10 16:11:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-11 09:53:32 +0200 |
commit | e6c4674418cd7423943599f3bd3cdf1643284690 (patch) | |
tree | e19e118da69c23d0d9ef450f42e76f845dbb9312 /sw/source/uibase/dbui | |
parent | e44efeea57c1925069b4c772adccd9b19b77cebb (diff) |
SwCursorShell argument of AttrChangedNotify is unused
Change-Id: I1fde665dcb77d29cad7f6a5c12e82c1822cff022
Reviewed-on: https://gerrit.libreoffice.org/80621
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/dbui')
-rw-r--r-- | sw/source/uibase/dbui/dbmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index 6c059feda08b..5c4bb4411092 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -974,7 +974,7 @@ static SfxObjectShell* lcl_CreateWorkingDocument( SwView* pWorkView = static_cast< SwView* >( pWorkFrame->GetViewShell() ); SwWrtShell* pWorkWrtShell = pWorkView->GetWrtShellPtr(); pWorkWrtShell->GetViewOptions()->SetIdle( false ); - pWorkView->AttrChangedNotify( pWorkWrtShell );// in order for SelectShell to be called + pWorkView->AttrChangedNotify(nullptr);// in order for SelectShell to be called SwDoc* pWorkDoc = pWorkWrtShell->GetDoc(); pWorkDoc->GetIDocumentUndoRedo().DoUndo( false ); pWorkDoc->ReplaceDocumentProperties( *pSourceDoc ); |