summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unodraw.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2003-05-06 12:34:12 +0000
committerOliver Specht <os@openoffice.org>2003-05-06 12:34:12 +0000
commitc56202dfb2832ef75e0b55691547020a0c8de66e (patch)
treebcc1ae9106d2ce21b7252357d27c9e100dc9d617 /sw/source/core/unocore/unodraw.cxx
parent4232fb7af0b406c86d00d9370853de17600125b7 (diff)
#109363# call dispose of the base class
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r--sw/source/core/unocore/unodraw.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index 3e196dc988f2..88d4ee9624de 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unodraw.cxx,v $
*
- * $Revision: 1.45 $
+ * $Revision: 1.46 $
*
- * last change: $Author: os $ $Date: 2003-05-06 09:20:23 $
+ * last change: $Author: os $ $Date: 2003-05-06 13:34:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1597,6 +1597,11 @@ void SwXShape::dispose(void) throw( RuntimeException )
}
else
pFmt->GetDoc()->DelLayoutFmt( pFmt );
+ uno::Any aAgg(xShapeAgg->queryAggregation( ::getCppuType((Reference<XComponent>*)0)));
+ Reference<XComponent> xComp;
+ aAgg >>= xComp;
+ if(xComp.is())
+ xComp->dispose();
}
// else
// throw RuntimeException();