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 /svx/source | |
parent | 5d2bfff0ba79f60adc413799658a5e32f6508587 (diff) |
CWS-TOOLING: integrate CWS sfxnotifyremoval
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/svxruler.cxx | 5 | ||||
-rw-r--r-- | svx/source/engine3d/scene3d.cxx | 7 | ||||
-rw-r--r-- | svx/source/items/boxobj.hxx | 5 | ||||
-rw-r--r-- | svx/source/mnuctrls/fntctl.cxx | 5 | ||||
-rw-r--r-- | svx/source/sdr/properties/graphicproperties.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdmrkv.cxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdoattr.cxx | 3 | ||||
-rw-r--r-- | svx/source/svdraw/svdocapt.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdocirc.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdoedge.cxx | 8 | ||||
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 5 | ||||
-rw-r--r-- | svx/source/svdraw/svdorect.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdovirt.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpagv.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdview.cxx | 4 | ||||
-rw-r--r-- | svx/source/tbxctrls/colrctrl.cxx | 7 |
18 files changed, 35 insertions, 46 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index ad1afb606a9a..9784086c231b 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svxruler.cxx,v $ - * $Revision: 1.39 $ + * $Revision: 1.39.76.1 $ * * This file is part of OpenOffice.org. * @@ -3621,8 +3621,7 @@ void __EXPORT SvxRuler::ExtraDown() } -void __EXPORT SvxRuler::SFX_NOTIFY(SfxBroadcaster& , const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType) +void __EXPORT SvxRuler::Notify(SfxBroadcaster&, const SfxHint& rHint) /* [Beschreibung] diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx index 1018effa32b7..ff8f35a44c52 100644 --- a/svx/source/engine3d/scene3d.cxx +++ b/svx/source/engine3d/scene3d.cxx @@ -866,13 +866,10 @@ void E3dScene::RestGeoData(const SdrObjGeoData& rGeo) |* \************************************************************************/ -void E3dScene::SFX_NOTIFY(SfxBroadcaster &rBC, - const TypeId &rBCType, - const SfxHint &rHint, - const TypeId &rHintType) +void E3dScene::Notify(SfxBroadcaster &rBC, const SfxHint &rHint) { SetRectsDirty(); - E3dObject::SFX_NOTIFY(rBC, rBCType, rHint, rHintType); + E3dObject::Notify(rBC, rHint); } /************************************************************************* diff --git a/svx/source/items/boxobj.hxx b/svx/source/items/boxobj.hxx index 3841846efe4c..4b4b901dbd38 100644 --- a/svx/source/items/boxobj.hxx +++ b/svx/source/items/boxobj.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: boxobj.hxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.3.76.1 $ * * This file is part of OpenOffice.org. * @@ -66,8 +66,7 @@ private: protected: // Schnittstelle zum SbxObject/SvDispatch/SfxShell..Object - void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ); + void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); virtual ULONG SetProperty( USHORT nSID, SbxVariable &rRet ); virtual ULONG GetProperty( USHORT nSID, SbxVariable &rRet ); diff --git a/svx/source/mnuctrls/fntctl.cxx b/svx/source/mnuctrls/fntctl.cxx index 6c897125f2bc..1b00c199da48 100644 --- a/svx/source/mnuctrls/fntctl.cxx +++ b/svx/source/mnuctrls/fntctl.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fntctl.cxx,v $ - * $Revision: 1.8 $ + * $Revision: 1.8.76.1 $ * * This file is part of OpenOffice.org. * @@ -132,8 +132,7 @@ void SvxFontMenuControl::StateChanged( der DocumentShell gef"ullt. */ -void SvxFontMenuControl::SFX_NOTIFY( SfxBroadcaster&, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ) +void SvxFontMenuControl::Notify( SfxBroadcaster&, const SfxHint& rHint ) { if ( rHint.Type() != TYPE(SfxSimpleHint) && ( (SfxSimpleHint&)rHint ).GetId() == SFX_HINT_DOCCHANGED ) diff --git a/svx/source/sdr/properties/graphicproperties.cxx b/svx/source/sdr/properties/graphicproperties.cxx index bf3cc43e795d..8f478540d993 100644 --- a/svx/source/sdr/properties/graphicproperties.cxx +++ b/svx/source/sdr/properties/graphicproperties.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: graphicproperties.cxx,v $ - * $Revision: 1.12 $ + * $Revision: 1.12.76.1 $ * * This file is part of OpenOffice.org. * @@ -91,7 +91,7 @@ namespace sdr rObj.SetXPolyDirty(); // #i29367# Update GraphicAttr, too. This was formerly - // triggered by SdrGrafObj::SFX_NOTIFY, which is no longer + // triggered by SdrGrafObj::Notify, which is no longer // called nowadays. BTW: strictly speaking, the whole // ImpSetAttrToGrafInfo/ImpSetGrafInfoToAttr stuff could // be dumped, when SdrGrafObj::aGrafInfo is removed and diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index a2d99a5efddf..49ba83ed35ae 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -154,9 +154,9 @@ void SdrObjEditView::TakeActionRect(Rectangle& rRect) const } } -void __EXPORT SdrObjEditView::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType) +void __EXPORT SdrObjEditView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { - SdrGlueEditView::SFX_NOTIFY(rBC,rBCType,rHint,rHintType); + SdrGlueEditView::Notify(rBC,rHint); // Printerwechsel waerend des Editierens SdrHint* pSdrHint=PTR_CAST(SdrHint,&rHint); if (pSdrHint!=NULL && pTextEditOutliner!=NULL) { diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index bee7e32821bd..42a27dc99e36 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svdmrkv.cxx,v $ - * $Revision: 1.39 $ + * $Revision: 1.39.74.1 $ * * This file is part of OpenOffice.org. * @@ -203,7 +203,7 @@ SdrMarkView::~SdrMarkView() delete mpSdrViewSelection; } -void __EXPORT SdrMarkView::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType) +void __EXPORT SdrMarkView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { SdrHint* pSdrHint=PTR_CAST(SdrHint,&rHint); if (pSdrHint!=NULL) @@ -216,7 +216,7 @@ void __EXPORT SdrMarkView::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType bMarkedPointsRectsDirty=TRUE; } } - SdrSnapView::SFX_NOTIFY(rBC,rBCType,rHint,rHintType); + SdrSnapView::Notify(rBC,rHint); } void SdrMarkView::ModelHasChanged() diff --git a/svx/source/svdraw/svdoattr.cxx b/svx/source/svdraw/svdoattr.cxx index 9338930d9f0c..546add85e862 100644 --- a/svx/source/svdraw/svdoattr.cxx +++ b/svx/source/svdraw/svdoattr.cxx @@ -140,8 +140,7 @@ void SdrAttrObj::SetModel(SdrModel* pNewModel) //////////////////////////////////////////////////////////////////////////////////////////////////// // syntactical sugar for ItemSet accesses -void __EXPORT SdrAttrObj::SFX_NOTIFY(SfxBroadcaster& /*rBC*/, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType) +void __EXPORT SdrAttrObj::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& rHint) { SfxSimpleHint *pSimple = PTR_CAST(SfxSimpleHint, &rHint); BOOL bDataChg(pSimple && SFX_HINT_DATACHANGED == pSimple->GetId()); diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx index c29c65580f4c..af09d0fd8ca5 100644 --- a/svx/source/svdraw/svdocapt.cxx +++ b/svx/source/svdraw/svdocapt.cxx @@ -792,9 +792,9 @@ void SdrCaptionObj::SetModel(SdrModel* pNewModel) ImpRecalcTail(); } -void SdrCaptionObj::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType) +void SdrCaptionObj::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { - SdrRectObj::SFX_NOTIFY(rBC,rBCType,rHint,rHintType); + SdrRectObj::Notify(rBC,rHint); ImpRecalcTail(); } diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index 3678cc86ec4d..4141c761bc53 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -1202,10 +1202,10 @@ Point SdrCircObj::GetSnapPoint(sal_uInt32 i) const } } -void __EXPORT SdrCircObj::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType) +void __EXPORT SdrCircObj::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { SetXPolyDirty(); - SdrRectObj::SFX_NOTIFY(rBC,rBCType,rHint,rHintType); + SdrRectObj::Notify(rBC,rHint); ImpSetAttrToCircInfo(); } diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index 249e619fcaab..c65c5d4fc62f 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -1579,7 +1579,7 @@ je Objekt variiert von 0-3: 'C': n 0-3 0-3 = 1+U+1 */ -void __EXPORT SdrEdgeObj::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId&, const SfxHint& rHint, const TypeId&) +void __EXPORT SdrEdgeObj::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { SfxSimpleHint* pSimple=PTR_CAST(SfxSimpleHint,&rHint); ULONG nId=pSimple==0 ? 0 : pSimple->GetId(); @@ -1598,7 +1598,7 @@ void __EXPORT SdrEdgeObj::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId&, const S { bEdgeTrackUserDefined = sal_False; } - SdrTextObj::SFX_NOTIFY(rBC,rBCType,rHint,rHintType); + SdrTextObj::Notify(rBC,rHint); if (nNotifyingCount==0) { // Hier nun auch ein VerriegelungsFlag ((SdrEdgeObj*)this)->nNotifyingCount++; SdrHint* pSdrHint=PTR_CAST(SdrHint,&rHint); @@ -1634,13 +1634,13 @@ void SdrEdgeObj::Reformat() if( NULL != aCon1.pObj ) { SfxSimpleHint aHint( SFX_HINT_DATACHANGED ); - SFX_NOTIFY( *const_cast<SfxBroadcaster*>(aCon1.pObj->GetBroadcaster()), NULL, aHint, NULL ); + Notify( *const_cast<SfxBroadcaster*>(aCon1.pObj->GetBroadcaster()), aHint ); } if( NULL != aCon2.pObj ) { SfxSimpleHint aHint( SFX_HINT_DATACHANGED ); - SFX_NOTIFY( *const_cast<SfxBroadcaster*>(aCon2.pObj->GetBroadcaster()), NULL, aHint, NULL ); + Notify( *const_cast<SfxBroadcaster*>(aCon2.pObj->GetBroadcaster()), aHint ); } } diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index a84574bdf389..5b15013a7031 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -977,11 +977,10 @@ SdrObject* SdrGrafObj::DoConvertToPolyObj(BOOL bBezier) const // ----------------------------------------------------------------------------- -void SdrGrafObj::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, - const SfxHint& rHint, const TypeId& rHintType ) +void SdrGrafObj::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { SetXPolyDirty(); - SdrRectObj::SFX_NOTIFY( rBC, rBCType, rHint, rHintType ); + SdrRectObj::Notify( rBC, rHint ); ImpSetAttrToGrafInfo(); } diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx index 817234b7bf40..44b71e5f7c16 100644 --- a/svx/source/svdraw/svdorect.cxx +++ b/svx/source/svdraw/svdorect.cxx @@ -679,9 +679,9 @@ SdrObject* SdrRectObj::DoConvertToPolyObj(BOOL bBezier) const return pRet; } -void SdrRectObj::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType) +void SdrRectObj::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { - SdrTextObj::SFX_NOTIFY(rBC,rBCType,rHint,rHintType); + SdrTextObj::Notify(rBC,rHint); SetXPolyDirty(); // wg. Eckenradius } diff --git a/svx/source/svdraw/svdovirt.cxx b/svx/source/svdraw/svdovirt.cxx index b87df98704c1..3d191cfa78a8 100644 --- a/svx/source/svdraw/svdovirt.cxx +++ b/svx/source/svdraw/svdovirt.cxx @@ -91,7 +91,7 @@ SdrObject& SdrVirtObj::ReferencedObj() return rRefObj; } -void __EXPORT SdrVirtObj::SFX_NOTIFY(SfxBroadcaster& /*rBC*/, const TypeId& rBCType, const SfxHint& /*rHint*/, const TypeId& rHintType) +void __EXPORT SdrVirtObj::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& /*rHint*/) { bClosedObj=rRefObj.IsClosedObj(); SetRectsDirty(); // hier noch Optimieren. diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx index 9f1a66366c38..eb41ebab2d2b 100644 --- a/svx/source/svdraw/svdpagv.cxx +++ b/svx/source/svdraw/svdpagv.cxx @@ -265,7 +265,7 @@ void SdrPageView::RemovePaintWindowFromPageView(SdrPaintWindow& rPaintWindow) return xReturn; } -void __EXPORT SdrPageView::SFX_NOTIFY(SfxBroadcaster& /*rBC*/, const TypeId& /*rBCType*/, const SfxHint& /*rHint*/, const TypeId& /*rHintType*/) +void __EXPORT SdrPageView::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& /*rHint*/) { // not really interested in } diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 3bad186a2b47..be6805c3c544 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -320,7 +320,7 @@ SdrPaintView::~SdrPaintView() //////////////////////////////////////////////////////////////////////////////////////////////////// -void __EXPORT SdrPaintView::SFX_NOTIFY(SfxBroadcaster& /*rBC*/, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType) +void __EXPORT SdrPaintView::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& rHint) { BOOL bObjChg=!bSomeObjChgdFlag; // TRUE= auswerten fuer ComeBack-Timer if (bObjChg) { diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 07a3fbb658cf..355f0a261615 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -1555,14 +1555,14 @@ BOOL SdrView::IsDeleteMarkedPossible() const return IsDeleteMarkedObjPossible(); } -void SdrView::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType) +void SdrView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { if( rHint.ISA( SfxSimpleHint ) && ( (SfxSimpleHint&) rHint ).GetId() == SFX_HINT_ACCESSIBILITY_CHANGED ) { onAccessibilityOptionsChanged(); } - SdrCreateView::SFX_NOTIFY(rBC, rBCType, rHint, rHintType ); + SdrCreateView::Notify(rBC, rHint); } SvtAccessibilityOptions& SdrView::getAccessibilityOptions() diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx index 10720a26d8c6..12978b5a6b44 100644 --- a/svx/source/tbxctrls/colrctrl.cxx +++ b/svx/source/tbxctrls/colrctrl.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: colrctrl.cxx,v $ - * $Revision: 1.20 $ + * $Revision: 1.20.76.1 $ * * This file is part of OpenOffice.org. * @@ -357,10 +357,7 @@ SvxColorDockingWindow::~SvxColorDockingWindow() |* \************************************************************************/ -void SvxColorDockingWindow::SFX_NOTIFY( SfxBroadcaster& , - const TypeId& rBCType, - const SfxHint& rHint, - const TypeId& rHintType ) +void SvxColorDockingWindow::Notify( SfxBroadcaster& , const SfxHint& rHint ) { const SfxPoolItemHint *pPoolItemHint = PTR_CAST(SfxPoolItemHint, &rHint); if ( pPoolItemHint |