[Libreoffice-commits] core.git: reportdesign/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 29 09:42:53 UTC 2020


 reportdesign/source/filter/xml/xmlExport.cxx |    6 +++---
 reportdesign/source/filter/xml/xmlExport.hxx |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e0e217f3c10235adee056dac367916335c94b5bd
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 14:48:19 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Aug 29 11:42:03 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: If8332bfaff7af36c83b402581f4c42b576b6eb39
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101626
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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);


More information about the Libreoffice-commits mailing list