diff options
author | Christian Lippka <cl@openoffice.org> | 2001-10-17 13:17:27 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-10-17 13:17:27 +0000 |
commit | 5e0fb50d13c09c3bf77db2feb35086cb25b8f35d (patch) | |
tree | da72b2dc857429bf9c44a8f5382294c462e4fac3 /svx/source/unodraw | |
parent | 0bf741db7b2beae95184dc155f5ca165cebd5ad0 (diff) |
#92865# don't use NBC for insertObject in group shape, we need the hints
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unoshap2.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index 4589c9e3e9cb..361c0849dfeb 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoshap2.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: vg $ $Date: 2001-10-17 10:12:08 $ + * last change: $Author: cl $ $Date: 2001-10-17 14:17:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -291,7 +291,7 @@ void SAL_CALL SvxShapeGroup::add( const uno::Reference< drawing::XShape >& xShap SvxShape* pShape = SvxShape::getImplementation( xShape ); - if( pObj != NULL && pPage != NULL || pShape != NULL ) + if( pObj != NULL && pPage != NULL && pShape != NULL ) { SdrObject* pSdrShape = pShape->GetSdrObject(); if( pSdrShape == NULL ) @@ -300,7 +300,7 @@ void SAL_CALL SvxShapeGroup::add( const uno::Reference< drawing::XShape >& xShap if( pSdrShape->IsInserted() ) pSdrShape->GetObjList()->RemoveObject( pSdrShape->GetOrdNum() ); - pObj->GetSubList()->NbcInsertObject( pSdrShape ); + pObj->GetSubList()->InsertObject( pSdrShape ); // #85922# It makes no sense to set the layer asked // from the group object since these is an iteration |