diff options
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index e3fb4cdbbdf2..39633b09ffd1 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dlgedobj.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: hr $ $Date: 2003-03-18 16:17:09 $ + * last change: $Author: vg $ $Date: 2003-03-26 12:49:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1152,6 +1152,21 @@ void SAL_CALL DlgEdObj::_elementRemoved(const ::com::sun::star::container::Conta //---------------------------------------------------------------------------- +void DlgEdObj::SetLayer(SdrLayerID nLayer) +{ + SdrLayerID nOldLayer = GetLayer(); + + if ( nLayer != nOldLayer ) + { + SdrUnoObj::SetLayer( nLayer ); + + DlgEdHint aHint( DLGED_HINT_LAYERCHANGED, this ); + GetDlgEdForm()->GetDlgEditor()->Broadcast( aHint ); + } +} + +//---------------------------------------------------------------------------- + SdrObject* DlgEdObj::CheckHit( const Point& rPnt, USHORT nTol,const SetOfByte* pSet ) const { if ( supportsService( "com.sun.star.awt.UnoControlGroupBoxModel" )) |