diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 14:31:17 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 09:24:19 +0200 |
commit | 34aaf2a45e11fef533e0885ccf39731a79a99b91 (patch) | |
tree | 01ce6f3cefa3f1b08e3732955dc33de9ec1712a9 /reportdesign | |
parent | 053ed44d0ddd071fa6894d6c05667bf796ad653f (diff) |
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 <serval2412@yahoo.fr>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlExport.cxx | 6 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
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() ) |