summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-04-01 21:49:19 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2021-04-01 22:42:27 +0200
commit2be6461c9feeeac6844f4b982ed37309d634760f (patch)
tree1bdefa8f10fd5b2f0bac9c9b8ff77ef37fba3307 /sw/source/core
parentfe737095d88be60bf4f4e3b3ba876047177a25c5 (diff)
Fix typos
Change-Id: Id8850c9353203706f62b895132ef8d9d150d5bad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113470 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/unocore/unostyle.cxx4
1 files changed, 2 insertions, 2 deletions
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();