summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2009-10-22 09:31:22 +0000
committerOcke Janssen <oj@openoffice.org>2009-10-22 09:31:22 +0000
commit50f9222bc149362809fbe24b456580c344273bf8 (patch)
tree6e5ac34ff5993275c7f8622a90b03d7a54befe2d /reportdesign
parent1345cdc590fb87c92fb91e92f0d890d1de184414 (diff)
#i106072# attachprovider at the end of doc
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx3
1 files changed, 3 insertions, 0 deletions
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)