summaryrefslogtreecommitdiff
path: root/basctl/source/dlged
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-03-26 11:49:33 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-03-26 11:49:33 +0000
commit482d0da21f71e4f06c4e098a84c7a9740bde0160 (patch)
tree8f2b31da0f1f2b35adb11ac72475744cc19cb690 /basctl/source/dlged
parent8ede2ae75817aecc2628108915edb9d7f9ee77a4 (diff)
INTEGRATION: CWS tbe3 (1.29.18); FILE MERGED
2003/02/27 17:17:19 hr 1.29.18.2: RESYNC: (1.29-1.29.8.1); FILE MERGED 2003/02/27 14:25:23 tbe 1.29.18.1: #103595# accessibility for dialog editor
Diffstat (limited to 'basctl/source/dlged')
-rw-r--r--basctl/source/dlged/dlgedobj.cxx19
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" ))