summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/hintids.hxx1
-rw-r--r--sw/source/core/crsr/crsrsh.cxx9
2 files changed, 2 insertions, 8 deletions
diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx
index 7c6a18723af2..80aa40b9fd8a 100644
--- a/sw/inc/hintids.hxx
+++ b/sw/inc/hintids.hxx
@@ -443,7 +443,6 @@ constexpr TypedWhichId<SwPtrMsgPoolItem> RES_REMOVE_UNO_OBJECT(181);
// empty
constexpr TypedWhichId<SwFindNearestNode> RES_FINDNEARESTNODE(184);
constexpr TypedWhichId<SwPtrMsgPoolItem> RES_CONTENT_VISIBLE(185);
-constexpr TypedWhichId<SwMsgPoolItem> RES_GRAPHIC_SWAPIN(186);
constexpr TypedWhichId<SwStringMsgPoolItem> RES_NAME_CHANGED(187);
constexpr TypedWhichId<SwStringMsgPoolItem> RES_TITLE_CHANGED(188);
constexpr TypedWhichId<SwStringMsgPoolItem> RES_DESCRIPTION_CHANGED(189);
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index 8f3840f22fcc..d0a71e136d33 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -2516,14 +2516,9 @@ void SwCursorShell::SwClientNotify(const SwModify&, const SfxHint& rHint)
// SwTextNode::Insert(SwTextHint*, sal_uInt16); we react here and thus do
// not need to send the expensive RES_FMT_CHG in Insert.
CallChgLnk();
- switch(nWhich)
+ if( nWhich == RES_OBJECTDYING )
{
- case RES_OBJECTDYING:
- EndListeningAll();
- break;
- case RES_GRAPHIC_SWAPIN:
- if(m_aGrfArrivedLnk.IsSet())
- m_aGrfArrivedLnk.Call(*this);
+ EndListeningAll();
}
}