From 50f9222bc149362809fbe24b456580c344273bf8 Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Thu, 22 Oct 2009 09:31:22 +0000 Subject: #i106072# attachprovider at the end of doc --- reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'reportdesign/source/filter/xml') diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx index ea1095258261..4cf7c9c5abc9 100644 --- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx +++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx @@ -122,6 +122,9 @@ void SAL_CALL ImportDocumentHandler::startDocument() throw (uno::RuntimeExceptio void SAL_CALL ImportDocumentHandler::endDocument() throw (uno::RuntimeException, xml::sax::SAXException) { m_xDelegatee->endDocument(); + uno::Reference< chart2::data::XDataReceiver > xReceiver(m_xModel,uno::UNO_QUERY_THROW); + if ( xReceiver.is() ) + xReceiver->attachDataProvider(m_xDatabaseDataProvider.get()); } void SAL_CALL ImportDocumentHandler::startElement(const ::rtl::OUString & _sName, const uno::Reference< xml::sax::XAttributeList > & _xAttrList) throw (uno::RuntimeException, xml::sax::SAXException) -- cgit v1.2.3