summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxvw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index 204f8ed45447..cdc485583443 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -666,7 +666,7 @@ SfxObjectShellLock SwXTextView::BuildTmpSelectionDoc()
rOldSh.FillPrtDoc(pTempDoc, pPrt);
SfxViewFrame* pDocFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, SFX_INTERFACE_NONE );
SwView* pDocView = static_cast<SwView*>( pDocFrame->GetViewShell() );
- pDocView->AttrChangedNotify( &pDocView->GetWrtShell() );//So that SelectShell is called.
+ pDocView->AttrChangedNotify(nullptr);//So that SelectShell is called.
SwWrtShell* pSh = pDocView->GetWrtShellPtr();
IDocumentDeviceAccess& rIDDA = pSh->getIDocumentDeviceAccess();
@@ -1768,7 +1768,7 @@ void SAL_CALL SwXTextView::insertTransferable( const uno::Reference< datatransfe
SwTransferable::Paste( rSh, aDataHelper );
if( rSh.IsFrameSelected() || rSh.IsObjSelected() )
rSh.EnterSelFrameMode();
- GetView()->AttrChangedNotify( &rSh );
+ GetView()->AttrChangedNotify(nullptr);
}
}
}