sw/source/core/attr/format.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 40f42f317757ef02d0a4d1cfd1c4f5bd8583e8e0 Author: Andrea Gelmini <[email protected]> AuthorDate: Sun Sep 20 14:08:02 2020 +0200 Commit: Andrea Gelmini <[email protected]> CommitDate: Sun Sep 20 16:11:48 2020 +0200 Fix typo Change-Id: Iacccc3a444da7cdbf84f8c96406918a56fd57247 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103072 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <[email protected]> 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() ) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
