diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-11 15:42:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-12 10:38:44 +0100 |
commit | 7ba06c3ce8783d41f4f19b4b036982512369bb6f (patch) | |
tree | 3534e38600290e70551874b9e9e1a79b0ae14b77 /sw/source | |
parent | eb9f4b407164ff23f7f62022feb285e0f158a962 (diff) |
remove some dead message constants
Change-Id: I3e4ce75740673c9a286a01fd5755fecf6c06849d
Reviewed-on: https://gerrit.libreoffice.org/46231
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/attr/format.cxx | 11 | ||||
-rw-r--r-- | sw/source/core/docnode/section.cxx | 2 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx index 761dc5318b2a..d590ea4a5693 100644 --- a/sw/source/core/attr/format.cxx +++ b/sw/source/core/attr/format.cxx @@ -301,17 +301,6 @@ void SwFormat::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewValu m_aSet.SetParent( DerivedFrom() ? &DerivedFrom()->m_aSet : nullptr ); } break; - case RES_RESET_FMTWRITTEN: - { - // mba: here we don't use the additional stuff from NotifyClients(). - // should we?! - // mba: move the code that ignores this event to the clients - - // pass Hint only to dependent formats (no Frames) - //ModifyBroadcast( pOldValue, pNewValue, TYPE(SwFormat) ); - //bContinue = false; - } - break; default: { // attribute is defined in this format diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx index 0a1e5083d4a9..e685ece04d61 100644 --- a/sw/source/core/docnode/section.cxx +++ b/sw/source/core/docnode/section.cxx @@ -492,7 +492,6 @@ void SwSection::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) return; case RES_SECTION_NOT_HIDDEN: - case RES_SECTION_RESETHIDDENFLAG: m_Data.SetHiddenFlag( m_Data.IsHidden() && m_Data.IsCondHidden() ); return; @@ -778,7 +777,6 @@ void SwSectionFormat::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) } break; - case RES_SECTION_RESETHIDDENFLAG: case RES_FTN_AT_TXTEND: case RES_END_AT_TXTEND : bClients = true; SAL_FALLTHROUGH; |