#95584#; GetBroadcaster is a logical const method

This commit is contained in:
Sascha Ballach 2002-03-04 13:52:46 +00:00
parent 78aa8cf267
commit 38cdec2a7b
4 changed files with 13 additions and 13 deletions

View file

@ -2,9 +2,9 @@
*
* $RCSfile: editsrc.hxx,v $
*
* $Revision: 1.11 $
* $Revision: 1.12 $
*
* last change: $Author: sab $ $Date: 2002-03-04 14:05:13 $
* last change: $Author: sab $ $Date: 2002-03-04 14:48:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -226,7 +226,7 @@ public:
virtual SvxViewForwarder* GetViewForwarder();
virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False );
virtual void UpdateData();
virtual SfxBroadcaster& GetBroadcaster();
virtual SfxBroadcaster& GetBroadcaster() const;
void SetDoUpdateData(sal_Bool bValue);
sal_Bool IsDirty() const;

View file

@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleText.cxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: sab $ $Date: 2002-03-04 14:09:38 $
* last change: $Author: sab $ $Date: 2002-03-04 14:52:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -454,7 +454,7 @@ SvxEditViewForwarder* ScAccessibleCellTextData::GetEditViewForwarder( sal_Bool b
return mpEditViewForwarder;
}
SfxBroadcaster& ScAccessibleCellTextData::GetBroadcaster()
SfxBroadcaster& ScAccessibleCellTextData::GetBroadcaster() const
{
return maBroadcaster;
}

View file

@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleText.hxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: sab $ $Date: 2002-03-04 14:07:49 $
* last change: $Author: sab $ $Date: 2002-03-04 14:50:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -93,11 +93,11 @@ public:
virtual SvxTextForwarder* GetTextForwarder();
virtual SvxViewForwarder* GetViewForwarder();
virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate );
virtual SfxBroadcaster& GetBroadcaster();
virtual SfxBroadcaster& GetBroadcaster() const;
DECL_LINK( NotifyHdl, EENotify* );
private:
SfxBroadcaster maBroadcaster;
mutable SfxBroadcaster maBroadcaster;
ScViewForwarder* mpViewForwarder;
ScEditViewForwarder* mpEditViewForwarder;
ScTabViewShell* mpViewShell;

View file

@ -2,9 +2,9 @@
*
* $RCSfile: editsrc.cxx,v $
*
* $Revision: 1.16 $
* $Revision: 1.17 $
*
* last change: $Author: sab $ $Date: 2002-03-04 14:06:59 $
* last change: $Author: sab $ $Date: 2002-03-04 14:49:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -382,7 +382,7 @@ void ScAccessibilityEditSource::UpdateData()
mpAccessibleCellTextData->UpdateData();
}
SfxBroadcaster& ScAccessibilityEditSource::GetBroadcaster()
SfxBroadcaster& ScAccessibilityEditSource::GetBroadcaster() const
{
return mpAccessibleCellTextData->GetBroadcaster();
}