From 65aa9f9360daaf09cc2e3f14f19c859c883144c2 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 28 Aug 2020 14:36:23 +0200 Subject: Fix typo in code It passed "make check" on Linux Change-Id: Iaa9bca078574b85182bdc8c002123178d074b650 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101622 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/forms/elementexport.cxx | 4 ++-- xmloff/source/forms/elementimport.cxx | 2 +- xmloff/source/forms/formattributes.cxx | 2 +- xmloff/source/forms/formattributes.hxx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index 7398ecee2a3c..a60d70437d9e 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -2175,8 +2175,8 @@ namespace xmloff PROPERTY_MASTERFIELDS); // detail fields exportStringSequenceAttribute( - OAttributeMetaData::getFormAttributeNamespace(faDetailFiels), - OAttributeMetaData::getFormAttributeName(faDetailFiels), + OAttributeMetaData::getFormAttributeNamespace(faDetailFields), + OAttributeMetaData::getFormAttributeName(faDetailFields), PROPERTY_DETAILFIELDS); } } // namespace xmloff diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 3fe06973d8cf..1cd555fee82e 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -1948,7 +1948,7 @@ namespace xmloff { // handle the master/details field attributes (they're way too special to let the OPropertyImport handle them) static const char* s_sMasterFieldsAttributeName = OAttributeMetaData::getFormAttributeName(faMasterFields); - static const char* s_sDetailFieldsAttributeName = OAttributeMetaData::getFormAttributeName(faDetailFiels); + static const char* s_sDetailFieldsAttributeName = OAttributeMetaData::getFormAttributeName(faDetailFields); if ( _rLocalName.equalsAscii(s_sMasterFieldsAttributeName) ) { diff --git a/xmloff/source/forms/formattributes.cxx b/xmloff/source/forms/formattributes.cxx index efc61abfa23a..e3da354d9996 100644 --- a/xmloff/source/forms/formattributes.cxx +++ b/xmloff/source/forms/formattributes.cxx @@ -94,7 +94,7 @@ namespace xmloff case faCommandType: return "command-type"; case faEscapeProcessing: return "escape-processing"; case faDatasource: return "datasource"; - case faDetailFiels: return "detail-fields"; + case faDetailFields: return "detail-fields"; case faFilter: return "filter"; case faIgnoreResult: return "ignore-result"; case faMasterFields: return "master-fields"; diff --git a/xmloff/source/forms/formattributes.hxx b/xmloff/source/forms/formattributes.hxx index 72dbc587f9fa..56c18a896ac9 100644 --- a/xmloff/source/forms/formattributes.hxx +++ b/xmloff/source/forms/formattributes.hxx @@ -153,7 +153,7 @@ namespace xmloff faCommandType, faEscapeProcessing, faDatasource, - faDetailFiels, + faDetailFields, faFilter, faIgnoreResult, faMasterFields, -- cgit