sw/inc/hintids.hxx | 4 ++-- sw/source/core/attr/format.cxx | 11 ----------- sw/source/core/docnode/section.cxx | 2 -- 3 files changed, 2 insertions(+), 15 deletions(-)
New commits: commit 7ba06c3ce8783d41f4f19b4b036982512369bb6f Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Mon Dec 11 15:42:19 2017 +0200 remove some dead message constants Change-Id: I3e4ce75740673c9a286a01fd5755fecf6c06849d Reviewed-on: https://gerrit.libreoffice.org/46231 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index c4017211a045..f8bcc291de9a 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -297,10 +297,10 @@ RES_FMT_END #define RES_HIDDENPARA_PRINT TypedWhichId<SwMsgPoolItem>(175) #define RES_CONDCOLL_CONDCHG TypedWhichId<SwCondCollCondChg>(176) #define RES_VIRTPAGENUM_INFO TypedWhichId<SwVirtPageNumInfo>(177) -#define RES_RESET_FMTWRITTEN TypedWhichId<SfxBoolItem>(178) +// empty #define RES_REMOVE_UNO_OBJECT TypedWhichId<SwPtrMsgPoolItem>(179) #define RES_GRF_REREAD_AND_INCACHE TypedWhichId<SwMsgPoolItem>(180) -#define RES_SECTION_RESETHIDDENFLAG TypedWhichId<SfxBoolItem>(181) +// empty #define RES_FINDNEARESTNODE TypedWhichId<SwFindNearestNode>(182) #define RES_CONTENT_VISIBLE TypedWhichId<SwPtrMsgPoolItem>(183) #define RES_GRAPHIC_SWAPIN TypedWhichId<SwMsgPoolItem>(184) 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits