summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextShapeImportHelper.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2000-12-07 17:48:47 +0000
committerArmin Weiss <aw@openoffice.org>2000-12-07 17:48:47 +0000
commitbd284db3ebfa038d9072d41be7db05dfd1be3aa2 (patch)
tree610d1a331a7530ac1fd3d0d76c194b21fa4da19c /xmloff/source/text/XMLTextShapeImportHelper.cxx
parent6f050e4e5d923f59e910d06ab28f9ed9c21eec06 (diff)
#81432# missing return added in XMLTextShapeImportHelper::addShape(...)
when it is a group shape; adding needs to be done to the group or 3DScene instead of to the page.
Diffstat (limited to 'xmloff/source/text/XMLTextShapeImportHelper.cxx')
-rw-r--r--xmloff/source/text/XMLTextShapeImportHelper.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLTextShapeImportHelper.cxx b/xmloff/source/text/XMLTextShapeImportHelper.cxx
index 3c4b96df9315..fe44e4bc36d8 100644
--- a/xmloff/source/text/XMLTextShapeImportHelper.cxx
+++ b/xmloff/source/text/XMLTextShapeImportHelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLTextShapeImportHelper.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mib $ $Date: 2000-12-06 11:41:56 $
+ * last change: $Author: aw $ $Date: 2000-12-07 18:48:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -130,8 +130,9 @@ void XMLTextShapeImportHelper::addShape(
{
if( rShapes.is() )
{
- // It's a group shape, so we have to call the base class method.
+ // It's a group shape or 3DScene , so we have to call the base class method.
XMLShapeImportHelper::addShape( rShape, xAttrList, rShapes );
+ return;
}
TextContentAnchorType eAnchorType = TextContentAnchorType_AT_PARAGRAPH;