summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeimport.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-05-31 10:18:38 +0000
committerChristian Lippka <cl@openoffice.org>2001-05-31 10:18:38 +0000
commite88904df1e7ba328554fdd3758812b56261608b3 (patch)
treede2dbfcba059d05847a1fd343eea717a7c962ae2 /xmloff/source/draw/shapeimport.cxx
parentcbaeb1f48bd43f1a959a187dfe6995a7bfa51699 (diff)
#87219# added user glue points
Diffstat (limited to 'xmloff/source/draw/shapeimport.cxx')
-rw-r--r--xmloff/source/draw/shapeimport.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index 5568a5093805..ad0b9452b738 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shapeimport.cxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: cl $ $Date: 2001-05-18 08:40:43 $
+ * last change: $Author: cl $ $Date: 2001-05-31 11:18:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -242,9 +242,16 @@ XMLShapeImportHelper::~XMLShapeImportHelper()
// Styles or AutoStyles context?
if(mpStylesContext)
+ {
+ mpStylesContext->Clear();
mpStylesContext->ReleaseRef();
+ }
+
if(mpAutoStylesContext)
+ {
+ mpAutoStylesContext->Clear();
mpAutoStylesContext->ReleaseRef();
+ }
}
//////////////////////////////////////////////////////////////////////////////