From 957c694caef0a18b85e1ea73532ae062b6887802 Mon Sep 17 00:00:00 2001 From: Christian Lippka Date: Tue, 19 Jun 2001 13:53:22 +0000 Subject: #87219# fixed glue point api to use ids not index --- xmloff/source/draw/ximpbody.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'xmloff/source/draw/ximpbody.cxx') diff --git a/xmloff/source/draw/ximpbody.cxx b/xmloff/source/draw/ximpbody.cxx index fc3e02b1955b..5e2ffd9166bc 100644 --- a/xmloff/source/draw/ximpbody.cxx +++ b/xmloff/source/draw/ximpbody.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ximpbody.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: cl $ $Date: 2001-05-28 13:32:20 $ + * last change: $Author: cl $ $Date: 2001-06-19 14:53:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -175,6 +175,8 @@ SdXMLDrawPageContext::SdXMLDrawPageContext( SdXMLImport& rImport, } } + GetImport().GetShapeImport()->startPage( rShapes ); + uno::Reference< drawing::XDrawPage > xDrawPage(rShapes, uno::UNO_QUERY); // set an id? @@ -352,7 +354,7 @@ SvXMLImportContext *SdXMLDrawPageContext::CreateChildContext( USHORT nPrefix, void SdXMLDrawPageContext::EndElement() { SdXMLGenericPageContext::EndElement(); - GetImport().GetShapeImport()->restoreConnections(); + GetImport().GetShapeImport()->endPage(GetLocalShapesContext()); } ////////////////////////////////////////////////////////////////////////////// -- cgit