sw/inc/pagedesc.hxx | 2 +- sw/source/core/unocore/unostyle.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 2be6461c9feeeac6844f4b982ed37309d634760f Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Thu Apr 1 21:49:19 2021 +0200 Commit: Andrea Gelmini <andrea.gelm...@gelma.net> CommitDate: Thu Apr 1 22:42:27 2021 +0200 Fix typos Change-Id: Id8850c9353203706f62b895132ef8d9d150d5bad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113470 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelm...@gelma.net> diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index 4178361349d6..efeb6539b400 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -226,7 +226,7 @@ public: /// Checks if the pagedescriptor has a stashed format according to the parameters or not. bool HasStashedFormat(bool bHeader, bool bLeft, bool bFirst); - /// Gives the feature of removing the stashed format by hand if it is neccessarry. + /// Gives the feature of removing the stashed format by hand if it is necessary. void RemoveStashedFormat(bool bHeader, bool bLeft, bool bFirst); /// Same as WriteUseOn(), but the >= HeaderShare part of the bitfield is not modified. diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index a695cfdafa47..f72271018ad3 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -2978,7 +2978,7 @@ void SwXPageStyle::SetPropertyValues_Impl(const uno::Sequence<OUString>& rProper SetStyleProperty(*pEntry, *pPropSet, rValues[nProp], aBaseImpl); } - // reset paret at ItemSet from SetItem + // reset parent at ItemSet from SetItem rSetSet.SetParent(nullptr); // set the new SvxSetItem at the real target and delete it @@ -3311,7 +3311,7 @@ void SwXPageStyle::setPropertyValue(const OUString& rPropertyName, const uno::An for (size_t i = 0; i < GetDoc()->GetPageDescCnt(); i++) { auto pPageDesc = &GetDoc()->GetPageDesc(i); - // If we have the right page descriptor stash the neccessary formats in import time. + // If we have the right page descriptor stash the necessary formats in import time. if (pPageDesc->GetName() == GetStyleName()) { auto pLeftHeader = pPageDesc->GetLeft().GetHeader().GetHeaderFormat(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits