summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2000-12-11 15:02:50 +0000
committerOliver Specht <os@openoffice.org>2000-12-11 15:02:50 +0000
commitcf598728b2d6cae2f3c843f34a8a9fcb37574b44 (patch)
treefc87908f8ac674ca024ef47065fe9ada20b10ad9
parentc850177303355c19f026fed86c064452b738d2c3 (diff)
#81670# SOLARIS: temporary object has to be destroyed explicitly
-rw-r--r--sw/source/core/unocore/unodraw.cxx10
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;