summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml/xmlReport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/filter/xml/xmlReport.cxx')
-rw-r--r--reportdesign/source/filter/xml/xmlReport.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/reportdesign/source/filter/xml/xmlReport.cxx b/reportdesign/source/filter/xml/xmlReport.cxx
index 96d08acb4f58..485dcf218989 100644
--- a/reportdesign/source/filter/xml/xmlReport.cxx
+++ b/reportdesign/source/filter/xml/xmlReport.cxx
@@ -77,6 +77,7 @@ OXMLReport::OXMLReport( ORptFilter& rImport,
m_xReportDefinition->setFilter(sValue);
break;
case XML_ELEMENT(REPORT, XML_CAPTION):
+ case XML_ELEMENT(OFFICE, XML_CAPTION):
m_xReportDefinition->setCaption(sValue);
break;
case XML_ELEMENT(REPORT, XML_ESCAPE_PROCESSING):
@@ -89,6 +90,7 @@ OXMLReport::OXMLReport( ORptFilter& rImport,
m_xReportDefinition->setName(sValue);
break;
default:
+ SAL_WARN("reportdesign", "unknown attribute " << SvXMLImport::getPrefixAndNameFromToken(aIter.getToken()) << " = " << sValue);
break;
}
}
@@ -126,7 +128,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > OXMLReport::createFast
sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
{
- css::uno::Reference< css::xml::sax::XFastContextHandler > xContext = createFastChildContext_(nElement,xAttrList);
+ css::uno::Reference< css::xml::sax::XFastContextHandler > xContext = OXMLReportElementBase::createFastChildContext(nElement,xAttrList);
if (xContext)
return xContext;