diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-09-30 06:36:06 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-09-30 06:36:06 +0000 |
commit | e4ab2a6af1ca911fd31c8b88d012c9a4b949d1df (patch) | |
tree | 312f6c3226f82ba746dee3c0cb91685845a4230e /sfx2 | |
parent | 5d2bfff0ba79f60adc413799658a5e32f6508587 (diff) |
CWS-TOOLING: integrate CWS sfxnotifyremoval
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/viewfrm.hxx | 5 | ||||
-rw-r--r-- | sfx2/inc/sfx2/viewsh.hxx | 8 | ||||
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/inc/templdgi.hxx | 5 | ||||
-rw-r--r-- | sfx2/source/view/prnmon.cxx | 13 | ||||
-rw-r--r-- | sfx2/source/view/topfrm.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 11 |
7 files changed, 16 insertions, 33 deletions
diff --git a/sfx2/inc/sfx2/viewfrm.hxx b/sfx2/inc/sfx2/viewfrm.hxx index df0c91851150..08ea57d12e3a 100644 --- a/sfx2/inc/sfx2/viewfrm.hxx +++ b/sfx2/inc/sfx2/viewfrm.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: viewfrm.hxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.5.46.1 $ * * This file is part of OpenOffice.org. * @@ -145,8 +145,7 @@ private: #endif protected: - virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); SAL_DLLPRIVATE void SetWindow_Impl( Window *pWin ); diff --git a/sfx2/inc/sfx2/viewsh.hxx b/sfx2/inc/sfx2/viewsh.hxx index 96c58a223387..71ce2b903e7e 100644 --- a/sfx2/inc/sfx2/viewsh.hxx +++ b/sfx2/inc/sfx2/viewsh.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: viewsh.hxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.5.46.1 $ * * This file is part of OpenOffice.org. * @@ -185,10 +185,8 @@ protected: virtual void Move(); - virtual void SFX_NOTIFY( SfxBroadcaster& rBC, - const TypeId& rBCType, - const SfxHint& rHint, - const TypeId& rHintType ); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + public: // Iteration static SfxViewShell* GetFirst( const TypeId* pType = 0, BOOL bOnlyVisible = TRUE ); diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index c3ea4ea87798..636c7e20c8e2 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: templdlg.cxx,v $ - * $Revision: 1.58 $ + * $Revision: 1.58.46.1 $ * * This file is part of OpenOffice.org. * @@ -1562,8 +1562,7 @@ IMPL_LINK( SfxCommonTemplateDialog_Impl, TimeOut, Timer *, pTim ) //------------------------------------------------------------------------- -void SfxCommonTemplateDialog_Impl::SFX_NOTIFY(SfxBroadcaster& /*rBC*/, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType) +void SfxCommonTemplateDialog_Impl::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& rHint) { // Aktualisierung anstossen if(rHint.Type() == TYPE(SfxSimpleHint)) diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index 9d3809173a7a..2fab1bc97d2a 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: templdgi.hxx,v $ - * $Revision: 1.18 $ + * $Revision: 1.18.46.1 $ * * This file is part of OpenOffice.org. * @@ -226,8 +226,7 @@ protected: USHORT StyleNrToInfoOffset( USHORT i ); USHORT InfoOffsetToStyleNr( USHORT i ); - void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ); + void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); void FamilySelect( USHORT nId ); void SetFamily( USHORT nId ); diff --git a/sfx2/source/view/prnmon.cxx b/sfx2/source/view/prnmon.cxx index b77cba9ceb9e..0c23aa4ffbdf 100644 --- a/sfx2/source/view/prnmon.cxx +++ b/sfx2/source/view/prnmon.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: prnmon.cxx,v $ - * $Revision: 1.25 $ + * $Revision: 1.25.46.1 $ * * This file is part of OpenOffice.org. * @@ -113,17 +113,10 @@ public: SfxViewShell* GetViewShell() const { return pViewShell; } BOOL SetPage( USHORT nPage, const String &rPage ); void CreateMonitor(); - virtual void SFX_NOTIFY( SfxBroadcaster& rBC, - const TypeId& rBCType, - const SfxHint& rHint, - const TypeId& rHintType ); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); }; -void SfxPrintProgress_Impl::SFX_NOTIFY( - SfxBroadcaster& /*rBC*/, - const TypeId& rBCType, - const SfxHint& rHint, - const TypeId& rHintType ) +void SfxPrintProgress_Impl::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint ) { SfxPrintingHint* pPrintHint = PTR_CAST( SfxPrintingHint, &rHint ); if ( pPrintHint ) diff --git a/sfx2/source/view/topfrm.cxx b/sfx2/source/view/topfrm.cxx index 2f6b683178b9..224f3ea96855 100644 --- a/sfx2/source/view/topfrm.cxx +++ b/sfx2/source/view/topfrm.cxx @@ -1151,7 +1151,7 @@ void SfxTopViewFrame::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) } } - SfxViewFrame::SFX_NOTIFY( rBC, rBCType, rHint, rHintType ); + SfxViewFrame::Notify( rBC, rHint ); } //-------------------------------------------------------------------- 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(); |