Type: info
Title: SdrUnoObj::GetUnoControl: changed signature
Posted by: [EMAIL PROTECTED]
Affected: sw sd sc svx
Effective from: SRC680m200
*Summary*
--------
- SdrUnoObj::GetUnoControl( OutputDevice* )
+ SdrUnoObj::GetUnoControl( const SdrView&,
const OutputDevice& )
*Description*
-------------
Obtaining the XControl associated with an SdrUnoObject in the drawing
layer is done by calling its GetUnoControl method. This method
previously applied quite some magics, which with the recent drawing
layer changes failed in some situations.
The method has changed to take an SdrView, additional to the
OutputDevice. All clients of this method have been adjusted
accordingly in CWS dba22b.
Reminder:
In some situations, the method was used to get a temporary control for
a certain output device. This has never been a valid usage, and all
occurences have been changed a while ago already. If you need such a
temporary control, use SdrUnoObject::GetTemporaryControlForDevice
instead (and bear the consequences that you're responsible for the
lifetime of the returned object).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]