diff options
author | Christian Lippka <cl@openoffice.org> | 2002-10-11 11:46:05 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2002-10-11 11:46:05 +0000 |
commit | bb4b72135ecefdfaaaa2ec7734a0395a7e7cd960 (patch) | |
tree | b587d84315f342dd5071ec4842b3d3b995252524 /svx/source/svdraw/svdoedge.cxx | |
parent | f94b3d96c1769122258491e779769d4b6d6986ba (diff) |
#103122# reformat all edge objects after model unlock
Diffstat (limited to 'svx/source/svdraw/svdoedge.cxx')
-rw-r--r-- | svx/source/svdraw/svdoedge.cxx | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index 15c92d2a452a..242557d1cbdb 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdoedge.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: thb $ $Date: 2002-09-10 08:13:01 $ + * last change: $Author: cl $ $Date: 2002-10-11 12:46:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1813,6 +1813,25 @@ void __EXPORT SdrEdgeObj::SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId&, const S } } +/** updates edges that are connected to the edges of this object + as if the connected objects send a repaint broadcast + #103122# +*/ +void SdrEdgeObj::Reformat() +{ + if( NULL != aCon1.pObj ) + { + SfxSimpleHint aHint( SFX_HINT_DATACHANGED ); + SFX_NOTIFY( *const_cast<SfxBroadcaster*>(aCon1.pObj->GetBroadcaster()), NULL, aHint, NULL ); + } + + if( NULL != aCon2.pObj ) + { + SfxSimpleHint aHint( SFX_HINT_DATACHANGED ); + SFX_NOTIFY( *const_cast<SfxBroadcaster*>(aCon2.pObj->GetBroadcaster()), NULL, aHint, NULL ); + } +} + void SdrEdgeObj::operator=(const SdrObject& rObj) { SdrTextObj::operator=(rObj); |