summaryrefslogtreecommitdiff
path: root/sfx2/source/view/viewfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r--sfx2/source/view/viewfrm.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 536bdacef60f..d0b8842b0fe6 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: viewfrm.cxx,v $
- * $Revision: 1.136 $
+ * $Revision: 1.136.8.1 $
*
* This file is part of OpenOffice.org.
*
@@ -1221,13 +1221,8 @@ void SfxViewFrame::ReleaseObjectShell_Impl( sal_Bool bStoreView )
pDispatcher->Flush();
EndListening( *xObjSh );
- SFX_NOTIFY( *xObjSh, xObjSh->Type(),
- SfxSimpleHint(SFX_HINT_TITLECHANGED),
- TYPE(SfxSimpleHint) );
-
- SFX_NOTIFY( *xObjSh, xObjSh->Type(),
- SfxSimpleHint(SFX_HINT_DOCCHANGED),
- TYPE(SfxSimpleHint) );
+ Notify( *xObjSh, SfxSimpleHint(SFX_HINT_TITLECHANGED) );
+ Notify( *xObjSh, SfxSimpleHint(SFX_HINT_DOCCHANGED) );
if ( 1 == xObjSh->GetOwnerLockCount() && pImp->bObjLocked && xObjSh->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED )
xObjSh->DoClose();