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

New commits:
commit 34aaf2a45e11fef533e0885ccf39731a79a99b91
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Mon Aug 31 14:31:17 2020 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Tue Sep 1 09:24:19 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I537cdfbeea47bf3ea679942b43dc381a8c3a59e4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101774
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/reportdesign/source/filter/xml/xmlExport.cxx 
b/reportdesign/source/filter/xml/xmlExport.cxx
index 6bae91a3c289..e692bf76724f 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -1242,9 +1242,9 @@ void ORptExport::exportReportAttributes(const 
Reference<XReportDefinition>& _xRe
     if ( SvXMLUnitConverter::convertEnum( sValue, _xReport->getCommandType(), 
aXML_CommandTypeEnumMap ) )
         AddAttribute(XML_NAMESPACE_REPORT, 
XML_COMMAND_TYPE,sValue.makeStringAndClear());
 
-    OUString sComamnd = _xReport->getCommand();
-    if ( !sComamnd.isEmpty() )
-        AddAttribute(XML_NAMESPACE_REPORT, XML_COMMAND, sComamnd);
+    OUString sCommand = _xReport->getCommand();
+    if ( !sCommand.isEmpty() )
+        AddAttribute(XML_NAMESPACE_REPORT, XML_COMMAND, sCommand);
 
     OUString sFilter( _xReport->getFilter() );
     if ( !sFilter.isEmpty() )
diff --git a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx 
b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
index 0edf26d7cb78..416e3e1e0974 100644
--- a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
+++ b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
@@ -135,9 +135,9 @@ void SAL_CALL ExportDocumentHandler::startElement(const 
OUString & _sName, const
         {
             
pList->AddAttribute(lcl_createAttribute(XML_NP_RPT,XML_COMMAND_TYPE),sValue.makeStringAndClear());
         }
-        const OUString sComamnd = m_xDatabaseDataProvider->getCommand();
-        if ( !sComamnd.isEmpty() )
-            
pList->AddAttribute(lcl_createAttribute(XML_NP_RPT,XML_COMMAND),sComamnd);
+        const OUString sCommand = m_xDatabaseDataProvider->getCommand();
+        if ( !sCommand.isEmpty() )
+            
pList->AddAttribute(lcl_createAttribute(XML_NP_RPT,XML_COMMAND),sCommand);
 
         const OUString sFilter( m_xDatabaseDataProvider->getFilter() );
         if ( !sFilter.isEmpty() )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to