diff options
Diffstat (limited to 'svx/source/unodraw/unoshape.cxx')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 162798f5078f..4847a3bb220f 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoshape.cxx,v $ * - * $Revision: 1.85 $ + * $Revision: 1.86 $ * - * last change: $Author: hr $ $Date: 2001-12-10 18:33:19 $ + * last change: $Author: cl $ $Date: 2001-12-11 12:37:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -357,6 +357,14 @@ SvxShape::~SvxShape() throw() //---------------------------------------------------------------------- +void SvxShape::setShapeKind( sal_uInt32 nKind ) +{ + if( mpImpl ) + mpImpl->mnObjId = nKind; +} + +//---------------------------------------------------------------------- + sal_uInt32 SvxShape::getShapeKind() const { return mpImpl ? mpImpl->mnObjId : OBJ_NONE; @@ -729,7 +737,7 @@ uno::Sequence< uno::Type > SAL_CALL SvxShape::getTypes() //---------------------------------------------------------------------- uno::Sequence< uno::Type > SAL_CALL SvxShape::_getTypes() - throw (uno::RuntimeException) + throw(uno::RuntimeException) { switch( mpImpl->mnObjId ) { |