summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-11-08 09:41:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-11-08 11:41:20 +0100
commitd09226ebb217a1b616be5a0e6ea436fd2d2d52ee (patch)
tree84f3e043ee5d6e82e62bbf49cf40945b2fa3faa3 /sw/source/core
parentcc948bae82e63928a70451c6e71beb67e07f06e4 (diff)
fix spelling, Attribut -> Attribute
Change-Id: Iac208ec7d7bf0b03dd957bbe547e42822c5e4c90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159107 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/doc/docfly.cxx4
-rw-r--r--sw/source/core/frmedt/fecopy.cxx2
-rw-r--r--sw/source/core/table/swtable.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/docfly.cxx b/sw/source/core/doc/docfly.cxx
index a0edbf934d9b..c492212487c3 100644
--- a/sw/source/core/doc/docfly.cxx
+++ b/sw/source/core/doc/docfly.cxx
@@ -289,7 +289,7 @@ sal_Int8 SwDoc::SetFlyFrameAnchor( SwFrameFormat& rFormat, SfxItemSet& rSet, boo
if ( RndStdIds::FLY_AS_CHAR == nOld )
{
// We need to handle InContents in a special way:
- // The TextAttribut needs to be destroyed which, unfortunately, also
+ // The TextAttribute needs to be destroyed which, unfortunately, also
// destroys the format. To avoid that, we disconnect the format from
// the attribute.
SwNode *pAnchorNode = rOldAnch.GetAnchorNode();
@@ -970,7 +970,7 @@ bool SwDoc::ChgAnchor( const SdrMarkList& _rMrkList,
if ( pNewAnchorFrame)
{
// We need to handle InContents in a special way:
- // The TextAttribut needs to be destroyed which, unfortunately, also
+ // The TextAttribute needs to be destroyed which, unfortunately, also
// destroys the format. To avoid that, we disconnect the format from
// the attribute.
const sal_Int32 nIndx( oOldAsCharAnchorPos->GetContentIndex() );
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index d0be7aa0d515..9ed8a5b7c067 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -158,7 +158,7 @@ void SwFEShell::Copy( SwDoc& rClpDoc, const OUString* pNewClpText )
{
// JP 13.02.99 Bug 61863: if a frameselection is passed to the
// clipboard, it should be found at pasting. Therefore
- // the copied TextAttribut should be removed in the node
+ // the copied TextAttribute should be removed in the node
// otherwise it will be recognised as TextSelektion
const SwPosition& rPos = *pFlyFormat->GetAnchor().GetContentAnchor();
SwTextFlyCnt *const pTextFly = static_cast<SwTextFlyCnt *>(
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx
index a5540a491b0e..8b8f449c7df9 100644
--- a/sw/source/core/table/swtable.cxx
+++ b/sw/source/core/table/swtable.cxx
@@ -2761,7 +2761,7 @@ void SwTableBoxFormat::SwClientNotify(const SwModify& rMod, const SfxHint& rHint
break;
}
- // something changed and some BoxAttribut remained in the set!
+ // something changed and some BoxAttribute remained in the set!
if( pNewFormat || pNewFormula || pNewVal )
{
GetDoc()->getIDocumentFieldsAccess().SetFieldsDirty(true, nullptr, SwNodeOffset(0));