[Libreoffice-commits] core.git: sc/inc sc/source sd/source svx/source sw/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Sun Sep 12 06:42:50 UTC 2021
sc/inc/xmlwrap.hxx | 2 +-
sc/source/filter/xml/xmlwrap.cxx | 6 +++---
sd/source/filter/xml/sdxmlwrp.cxx | 10 +++++-----
sd/source/ui/framework/factories/BasicViewFactory.cxx | 6 +++---
svx/source/fmcomp/fmgridcl.cxx | 6 +++---
sw/source/filter/xml/swxml.cxx | 10 +++++-----
6 files changed, 20 insertions(+), 20 deletions(-)
New commits:
commit eb848249f51323089e78a26c1a05b264eaf98c0f
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Sep 11 22:18:04 2021 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Sep 12 08:42:14 2021 +0200
Typo *Successfull->*Successful
Change-Id: I837241da936ac013312228f774d08bb8dafa45e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121967
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
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 );
}
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index 31257d66e3e9..90dc2c589e07 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -174,7 +174,7 @@ ErrCode ReadThroughComponent(
const char* pFilterName,
const Sequence<Any>& rFilterArguments,
const OUString& rName,
- bool bMustBeSuccessfull,
+ bool bMustBeSuccessful,
bool bEncrypted )
{
DBG_ASSERT(xInputStream.is(), "input stream missing");
@@ -260,14 +260,14 @@ ErrCode ReadThroughComponent(
if (!rStreamName.isEmpty())
{
return *new TwoStringErrorInfo(
- (bMustBeSuccessfull ? ERR_FORMAT_FILE_ROWCOL
+ (bMustBeSuccessful ? ERR_FORMAT_FILE_ROWCOL
: WARN_FORMAT_FILE_ROWCOL),
rStreamName, sErr,
DialogMask::ButtonsOk | DialogMask::MessageError );
}
else
{
- DBG_ASSERT( bMustBeSuccessfull, "Warnings are not supported" );
+ DBG_ASSERT( bMustBeSuccessful, "Warnings are not supported" );
return *new StringErrorInfo( ERR_FORMAT_ROWCOL, sErr,
DialogMask::ButtonsOk | DialogMask::MessageError );
}
@@ -313,7 +313,7 @@ ErrCode ReadThroughComponent(
const char* pFilterName,
const Sequence<Any>& rFilterArguments,
const OUString& rName,
- bool bMustBeSuccessfull )
+ bool bMustBeSuccessful )
{
DBG_ASSERT(xStorage.is(), "Need storage!");
DBG_ASSERT(nullptr != pStreamName, "Please, please, give me a name!");
@@ -365,7 +365,7 @@ ErrCode ReadThroughComponent(
return ReadThroughComponent(
xInputStream, xModelComponent, sStreamName, rxContext,
pFilterName, rFilterArguments,
- rName, bMustBeSuccessfull, bEncrypted );
+ rName, bMustBeSuccessful, bEncrypted );
}
catch (const packages::WrongPasswordException&)
{
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx
index d97c62d06d8e..581260d347c4 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx
@@ -471,15 +471,15 @@ std::shared_ptr<BasicViewFactory::ViewDescriptor> BasicViewFactory::GetViewFromC
// remove it from the cache.
if (pDescriptor != nullptr)
{
- bool bRelocationSuccessfull (false);
+ bool bRelocationSuccessful (false);
Reference<XRelocatableResource> xResource (pDescriptor->mxView, UNO_QUERY);
if (xResource.is() && rxPane.is())
{
if (xResource->relocateToAnchor(rxPane))
- bRelocationSuccessfull = true;
+ bRelocationSuccessful = true;
}
- if ( ! bRelocationSuccessfull)
+ if ( ! bRelocationSuccessful)
{
ReleaseView(pDescriptor, true);
pDescriptor.reset();
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index a3bcd5816214..a64ae20db07d 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -1805,7 +1805,7 @@ bool FmGridControl::selectBookmarks(const Sequence< Any >& _rBookmarks)
SetNoSelection();
- bool bAllSuccessfull = true;
+ bool bAllSuccessful = true;
try
{
for (const Any& rBookmark : _rBookmarks)
@@ -1814,7 +1814,7 @@ bool FmGridControl::selectBookmarks(const Sequence< Any >& _rBookmarks)
if (m_pSeekCursor->moveToBookmark(rBookmark))
SelectRow( m_pSeekCursor->getRow() - 1);
else
- bAllSuccessfull = false;
+ bAllSuccessful = false;
}
}
catch(Exception&)
@@ -1823,7 +1823,7 @@ bool FmGridControl::selectBookmarks(const Sequence< Any >& _rBookmarks)
return false;
}
- return bAllSuccessfull;
+ return bAllSuccessful;
}
Sequence< Any> FmGridControl::getSelectionBookmarks()
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 089aca4ccc8f..8b4ae9b031f3 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -138,7 +138,7 @@ ErrCode ReadThroughComponent(
const char* pFilterName,
const Sequence<Any>& rFilterArguments,
const OUString& rName,
- bool bMustBeSuccessfull,
+ bool bMustBeSuccessful,
bool bEncrypted )
{
OSL_ENSURE(xInputStream.is(), "input stream missing");
@@ -220,14 +220,14 @@ ErrCode ReadThroughComponent(
if( !rStreamName.isEmpty() )
{
return *new TwoStringErrorInfo(
- (bMustBeSuccessfull ? ERR_FORMAT_FILE_ROWCOL
+ (bMustBeSuccessful ? ERR_FORMAT_FILE_ROWCOL
: WARN_FORMAT_FILE_ROWCOL),
rStreamName, sErr,
DialogMask::ButtonsOk | DialogMask::MessageError );
}
else
{
- OSL_ENSURE( bMustBeSuccessfull, "Warnings are not supported" );
+ OSL_ENSURE( bMustBeSuccessful, "Warnings are not supported" );
return *new StringErrorInfo( ERR_FORMAT_ROWCOL, sErr,
DialogMask::ButtonsOk | DialogMask::MessageError );
}
@@ -274,7 +274,7 @@ ErrCode ReadThroughComponent(
const char* pFilterName,
const Sequence<Any>& rFilterArguments,
const OUString& rName,
- bool bMustBeSuccessfull)
+ bool bMustBeSuccessful)
{
OSL_ENSURE(xStorage.is(), "Need storage!");
OSL_ENSURE(nullptr != pStreamName, "Please, please, give me a name!");
@@ -323,7 +323,7 @@ ErrCode ReadThroughComponent(
return ReadThroughComponent(
xInputStream, xModelComponent, sStreamName, rxContext,
pFilterName, rFilterArguments,
- rName, bMustBeSuccessfull, bEncrypted );
+ rName, bMustBeSuccessful, bEncrypted );
}
catch ( packages::WrongPasswordException& )
{
More information about the Libreoffice-commits
mailing list