diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 16:03:19 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 15:28:58 +0200 |
commit | 0edc370ac57860513a80992157f70aeea7a3b229 (patch) | |
tree | f4d5b6a9e70ba460480e95e3661de9f175d6b64d | |
parent | 4c20bb789c7536f63a6844a4cb4489a18cee53c7 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I8bcc1598c7b885a025dd990eb2f75551e15b5c13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101794
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | include/xmloff/formlayerimport.hxx | 4 | ||||
-rw-r--r-- | xmloff/source/forms/formlayerimport.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/forms/layerimport.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/forms/layerimport.hxx | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/include/xmloff/formlayerimport.hxx b/include/xmloff/formlayerimport.hxx index 5d3b25948ae6..4834f85d19d9 100644 --- a/include/xmloff/formlayerimport.hxx +++ b/include/xmloff/formlayerimport.hxx @@ -109,12 +109,12 @@ namespace xmloff /** sets the given number style on the given control @param _rxControlModel the control model which's style is to be set - @param _rControlNumerStyleName + @param _rControlNumberStyleName the style name for the control's number style */ void applyControlNumberStyle( const css::uno::Reference< css::beans::XPropertySet >& _rxControlModel, - const OUString& _rControlNumerStyleName + const OUString& _rControlNumberStyleName ); /** to be called when the document has been completely imported diff --git a/xmloff/source/forms/formlayerimport.cxx b/xmloff/source/forms/formlayerimport.cxx index a8d8848a1df8..848b815f6703 100644 --- a/xmloff/source/forms/formlayerimport.cxx +++ b/xmloff/source/forms/formlayerimport.cxx @@ -73,9 +73,9 @@ namespace xmloff return m_pImpl->createContext(_nPrefix, _rLocalName, _rxAttribs); } - void OFormLayerXMLImport::applyControlNumberStyle(const Reference< XPropertySet >& _rxControlModel, const OUString& _rControlNumerStyleName) + void OFormLayerXMLImport::applyControlNumberStyle(const Reference< XPropertySet >& _rxControlModel, const OUString& _rControlNumberStyleName) { - m_pImpl->applyControlNumberStyle(_rxControlModel, _rControlNumerStyleName); + m_pImpl->applyControlNumberStyle(_rxControlModel, _rControlNumberStyleName); } void OFormLayerXMLImport::documentDone( ) diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx index 90b9c018e11a..39b862c9bb92 100644 --- a/xmloff/source/forms/layerimport.cxx +++ b/xmloff/source/forms/layerimport.cxx @@ -222,9 +222,9 @@ void OFormLayerXMLImport_Impl::setAutoStyleContext(SvXMLStylesContext* _pNewCont m_xAutoStyles.set(_pNewContext); } -void OFormLayerXMLImport_Impl::applyControlNumberStyle(const Reference< XPropertySet >& _rxControlModel, const OUString& _rControlNumerStyleName) +void OFormLayerXMLImport_Impl::applyControlNumberStyle(const Reference< XPropertySet >& _rxControlModel, const OUString& _rControlNumberStyleName) { - OSL_ENSURE(_rxControlModel.is() && (!_rControlNumerStyleName.isEmpty()), + OSL_ENSURE(_rxControlModel.is() && (!_rControlNumberStyleName.isEmpty()), "OFormLayerXMLImport_Impl::applyControlNumberStyle: invalid arguments (this will crash)!"); OSL_ENSURE(m_xAutoStyles.is(), "OFormLayerXMLImport_Impl::applyControlNumberStyle: have no auto style context!"); @@ -236,7 +236,7 @@ void OFormLayerXMLImport_Impl::applyControlNumberStyle(const Reference< XPropert if (!m_xAutoStyles.is()) return; - const SvXMLStyleContext* pStyle = m_xAutoStyles->FindStyleChildContext(XmlStyleFamily::DATA_STYLE, _rControlNumerStyleName); + const SvXMLStyleContext* pStyle = m_xAutoStyles->FindStyleChildContext(XmlStyleFamily::DATA_STYLE, _rControlNumberStyleName); if (pStyle) { const SvXMLNumFormatContext* pDataStyle = static_cast<const SvXMLNumFormatContext*>(pStyle); diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx index 6913803384af..c21523054d1c 100644 --- a/xmloff/source/forms/layerimport.hxx +++ b/xmloff/source/forms/layerimport.hxx @@ -99,7 +99,7 @@ namespace xmloff void leaveEventContext(); void applyControlNumberStyle( const css::uno::Reference< css::beans::XPropertySet >& _rxControlModel, - const OUString& _rControlNumerStyleName + const OUString& _rControlNumberStyleName ); void registerCellValueBinding( const css::uno::Reference< css::beans::XPropertySet >& _rxControlModel, |