diff options
author | Christian Lippka <cl@openoffice.org> | 2001-12-19 13:51:55 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-12-19 13:51:55 +0000 |
commit | fed216d60661b0c4a064a0d37a4e338471e22a4f (patch) | |
tree | 07def2e12715ff73b8ba6362d8b544d078d45848 /svx/source/unodraw | |
parent | 3d507c43e925eb468730466443bb1a84dd0f4a14 (diff) |
#96133# create edit source only when we also have a model
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index e3742ce8d776..9f3d029ab579 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoshape.cxx,v $ * - * $Revision: 1.88 $ + * $Revision: 1.89 $ * - * last change: $Author: cl $ $Date: 2001-12-19 14:32:06 $ + * last change: $Author: cl $ $Date: 2001-12-19 14:51:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -3641,7 +3641,7 @@ SvxShapeText::SvxShapeText() throw () SvxShapeText::SvxShapeText( SdrObject* pObject ) throw () : SvxShape( pObject ), SvxUnoTextBase( ImplGetSvxUnoOutlinerTextCursorPropertyMap() ) { - if( pObject ) + if( pObject && pObject->GetModel() ) SetEditSource( new SvxTextEditSource( pObject ) ); } |