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 | 492bca088adadda43c4317df8c5e72d59971bdb6 (patch) | |
tree | b8eaff3599c0f29b0eb9547b1ff1bb04119c1a06 /svx/source/unodraw | |
parent | 752e8d7ece5cf4971a6f967ba8f1dbc01efa85d1 (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')
-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 4188b88b431c..6a7b135f10af 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 ); |