summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-20 14:08:02 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-20 16:11:48 +0200
commit40f42f317757ef02d0a4d1cfd1c4f5bd8583e8e0 (patch)
treeae650feeed4e725d457938720044222e455512c2
parent7fc01e2c51607e0356b277ddc06f548127b8ff04 (diff)
Fix typo
Change-Id: Iacccc3a444da7cdbf84f8c96406918a56fd57247 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103072 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
-rw-r--r--sw/source/core/attr/format.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx
index 7959a3cd69ef..acc8c661bd11 100644
--- a/sw/source/core/attr/format.cxx
+++ b/sw/source/core/attr/format.cxx
@@ -280,10 +280,10 @@ void SwFormat::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewValu
}
break;
case RES_ATTRSET_CHG:
- // NB: this still notifies depends even if this condition is not met, whoch seems non-obvious
+ // NB: this still notifies depends even if this condition is not met, which seems non-obvious
if (pOldValue && pNewValue && static_cast<const SwAttrSetChg*>(pOldValue)->GetTheChgdSet() != &m_aSet)
{
- // pass only those that are not set ...
+ // pass only those that are not set...
pNewClientChg.reset( new SwAttrSetChg(*static_cast<const SwAttrSetChg*>(pNewValue)) );
pNewClientChg->GetChgSet()->Differentiate( m_aSet );
if(pNewClientChg->Count()) // ... if any
@@ -301,7 +301,7 @@ void SwFormat::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewValu
// the new one
// skip my own Modify
- // NB: this still notifies depends even if this condition is not met, whoch seems non-obvious
+ // NB: this still notifies depends even if this condition is not met, which seems non-obvious
if ( pOldValue && pNewValue &&
static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat != this &&
static_cast<const SwFormatChg*>(pNewValue)->pChangedFormat == GetRegisteredIn() )