summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx6
-rw-r--r--reportdesign/source/filter/xml/xmlExport.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index a7b0cef80aaf..47b2dc6e3f29 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -308,14 +308,14 @@ void ORptExport::exportFunction(const uno::Reference< XFunction>& _xFunction)
SvXMLElementExport aFunction(*this,XML_NAMESPACE_REPORT, XML_FUNCTION, true, true);
}
-void ORptExport::exportMasterDetailFields(const Reference<XReportComponent>& _xReportComponet)
+void ORptExport::exportMasterDetailFields(const Reference<XReportComponent>& _xReportComponent)
{
- const uno::Sequence< OUString> aMasterFields = _xReportComponet->getMasterFields();
+ const uno::Sequence< OUString> aMasterFields = _xReportComponent->getMasterFields();
if ( !aMasterFields.hasElements() )
return;
SvXMLElementExport aElement(*this,XML_NAMESPACE_REPORT, XML_MASTER_DETAIL_FIELDS, true, true);
- const uno::Sequence< OUString> aDetailFields = _xReportComponet->getDetailFields();
+ const uno::Sequence< OUString> aDetailFields = _xReportComponent->getDetailFields();
OSL_ENSURE(aDetailFields.getLength() == aMasterFields.getLength(),"not equal length for master and detail fields!");
diff --git a/reportdesign/source/filter/xml/xmlExport.hxx b/reportdesign/source/filter/xml/xmlExport.hxx
index 348bb75a2b9c..f82d85aa7e11 100644
--- a/reportdesign/source/filter/xml/xmlExport.hxx
+++ b/reportdesign/source/filter/xml/xmlExport.hxx
@@ -106,7 +106,7 @@ private:
void exportReportAttributes(const Reference<XReportDefinition>& _xReport);
void exportFunctions(const Reference<XIndexAccess>& _xFunctions); /// <ref name="rpt-function"/>
void exportFunction(const Reference< XFunction>& _xFunction);
- void exportMasterDetailFields(const Reference<XReportComponent>& _xReportComponet);
+ void exportMasterDetailFields(const Reference<XReportComponent>& _xReportComponent);
void exportComponent(const Reference<XReportComponent>& _xReportComponent);
void exportGroup(const Reference<XReportDefinition>& _xReportDefinition,sal_Int32 _nPos,bool _bExportAutoStyle = false);
void exportStyleName(XPropertySet* _xProp,SvXMLAttributeList& _rAtt,const OUString& _sName);