diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-04-07 09:28:01 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-04-07 09:28:01 +0000 |
commit | 3de17b805cf4a998e0299ffca737c34082d24ca0 (patch) | |
tree | d8cf71997b48c9c42b7ac4ce9e81eccacf6a9dfd /svx/source/unodraw/unoshap2.cxx | |
parent | 4e18528b7eeabfa0983a81403fb2c61af11bbb6e (diff) |
INTEGRATION: CWS geordi2q16 (1.42.174); FILE MERGED
2004/04/02 15:03:08 hr 1.42.174.1: #111934#: merge CWS ooo111regression3
Diffstat (limited to 'svx/source/unodraw/unoshap2.cxx')
-rw-r--r-- | svx/source/unodraw/unoshap2.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index 2217c87aeb..dbc18bcd76 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoshap2.cxx,v $ * - * $Revision: 1.43 $ + * $Revision: 1.44 $ * - * last change: $Author: rt $ $Date: 2004-04-02 14:17:42 $ + * last change: $Author: hr $ $Date: 2004-04-07 10:28:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -291,6 +291,7 @@ void SAL_CALL SvxShapeGroup::add( const uno::Reference< drawing::XShape >& xShap pSdrShape->GetObjList()->RemoveObject( pSdrShape->GetOrdNum() ); pObj->GetSubList()->InsertObject( pSdrShape ); + pSdrShape->SetModel(pObj->GetModel()); // #85922# It makes no sense to set the layer asked // from the group object since these is an iteration @@ -300,6 +301,9 @@ void SAL_CALL SvxShapeGroup::add( const uno::Reference< drawing::XShape >& xShap // and have nothing to do with grouping at all. // pSdrShape->SetLayer(pObj->GetLayer()); + // Establish connection between new SdrObject and its wrapper before + // inserting the new shape into the group. There a new wrapper + // would be created when this connection would not already exist. if(pShape) pShape->Create( pSdrShape, pPage ); |