diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-09-11 22:18:04 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-09-12 08:42:14 +0200 |
commit | eb848249f51323089e78a26c1a05b264eaf98c0f (patch) | |
tree | f4a9dda20f7eb7be0ffad01fa8d3c973fb2438b5 /sc | |
parent | d8b765e6c45792bff5717cd0e0d9d42311c33461 (diff) |
Typo *Successfull->*Successful
Change-Id: I837241da936ac013312228f774d08bb8dafa45e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121967
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/xmlwrap.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlwrap.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx index 597acaf61949..776f49a2af2f 100644 --- a/sc/inc/xmlwrap.hxx +++ b/sc/inc/xmlwrap.hxx @@ -70,7 +70,7 @@ class ScXMLImportWrapper css::xml::sax::InputSource& aParserInput, const OUString& sComponentName, const OUString& sDocName, const css::uno::Sequence<css::uno::Any>& aArgs, - bool bMustBeSuccessfull); + bool bMustBeSuccessful); bool ExportToComponent(const css::uno::Reference<css::uno::XComponentContext>& xContext, const css::uno::Reference<css::frame::XModel>& xModel, diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx index cb92ebab0ce5..006d33bc0861 100644 --- a/sc/source/filter/xml/xmlwrap.cxx +++ b/sc/source/filter/xml/xmlwrap.cxx @@ -110,7 +110,7 @@ ErrCode ScXMLImportWrapper::ImportFromComponent(const uno::Reference<uno::XCompo xml::sax::InputSource& aParserInput, const OUString& sComponentName, const OUString& sDocName, const uno::Sequence<uno::Any>& aArgs, - bool bMustBeSuccessfull) + bool bMustBeSuccessful) { uno::Reference < io::XStream > xDocStream; if ( !xStorage.is() && pMedium ) @@ -224,14 +224,14 @@ ErrCode ScXMLImportWrapper::ImportFromComponent(const uno::Reference<uno::XCompo if( !sDocName.isEmpty() ) { nReturn = *new TwoStringErrorInfo( - (bMustBeSuccessfull ? SCERR_IMPORT_FILE_ROWCOL + (bMustBeSuccessful ? SCERR_IMPORT_FILE_ROWCOL : SCWARN_IMPORT_FILE_ROWCOL), sDocName, sErr, DialogMask::ButtonsOk | DialogMask::MessageError ); } else { - OSL_ENSURE( bMustBeSuccessfull, "Warnings are not supported" ); + OSL_ENSURE( bMustBeSuccessful, "Warnings are not supported" ); nReturn = *new StringErrorInfo( SCERR_IMPORT_FORMAT_ROWCOL, sErr, DialogMask::ButtonsOk | DialogMask::MessageError ); } |