summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-09-11 22:18:04 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-09-12 08:42:14 +0200
commiteb848249f51323089e78a26c1a05b264eaf98c0f (patch)
treef4a9dda20f7eb7be0ffad01fa8d3c973fb2438b5 /sd
parentd8b765e6c45792bff5717cd0e0d9d42311c33461 (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 'sd')
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx10
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.cxx6
2 files changed, 8 insertions, 8 deletions
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();