diff options
author | Oliver Specht <os@openoffice.org> | 2000-12-11 15:02:50 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2000-12-11 15:02:50 +0000 |
commit | cf598728b2d6cae2f3c843f34a8a9fcb37574b44 (patch) | |
tree | fc87908f8ac674ca024ef47065fe9ada20b10ad9 | |
parent | c850177303355c19f026fed86c064452b738d2c3 (diff) |
#81670# SOLARIS: temporary object has to be destroyed explicitly
-rw-r--r-- | sw/source/core/unocore/unodraw.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 5edf5dcda193..04df6d0f6bc2 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.7 $ + * $Revision: 1.8 $ * - * last change: $Author: ama $ $Date: 2000-12-01 10:45:50 $ + * last change: $Author: os $ $Date: 2000-12-11 16:02:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -345,7 +345,11 @@ uno::Reference< drawing::XShape > SwFmDrawPage::_CreateShape( SdrObject *pObj ) } else { - xRet = SvxFmDrawPage::_CreateShape( pObj ); + // own block - temporary object has to be destroyed before + // the delegator is set #81670# + { + xRet = SvxFmDrawPage::_CreateShape( pObj ); + } uno::Reference< XUnoTunnel > xShapeTunnel(xRet, uno::UNO_QUERY); //don't create an SwXShape if it already exists SwXShape* pShape = 0; |