diff options
Diffstat (limited to 'reportdesign/source/filter/xml/xmlCell.cxx')
-rw-r--r-- | reportdesign/source/filter/xml/xmlCell.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/reportdesign/source/filter/xml/xmlCell.cxx b/reportdesign/source/filter/xml/xmlCell.cxx index 0294839672e6..e4c394622f69 100644 --- a/reportdesign/source/filter/xml/xmlCell.cxx +++ b/reportdesign/source/filter/xml/xmlCell.cxx @@ -171,7 +171,7 @@ SvXMLImportContext* OXMLCell::CreateChildContext( m_nCurrentCount = m_pContainer->getSection()->getCount(); uno::Reference< uno::XInterface> xInt = xFactor->createInstance(SERVICE_FORMATTEDFIELD); Reference< report::XFormattedField > xControl(xInt,uno::UNO_QUERY); - pContext = new OXMLSubDocument( rImport, _nPrefix, _rLocalName,xControl.get(),m_pContainer); + pContext = new OXMLSubDocument( rImport, _nPrefix, _rLocalName,xControl.get(),m_pContainer, this /* give the current cell as parent*/ ); } break; @@ -285,6 +285,11 @@ void OXMLCell::Characters( const ::rtl::OUString& rChars ) } } +void OXMLCell::setContainsShape(bool _bContainsShape) +{ + m_bContainsShape = _bContainsShape; +} + //---------------------------------------------------------------------------- } // namespace rptxml // ----------------------------------------------------------------------------- |