From 91dbd5ca9fa2e689dcdbc5be4a60c8b65cbefc9f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 29 May 2024 19:26:44 +0200 Subject: avoid some dynamic_cast in SwTextFrame Change-Id: Ib73063871472727f27b552b1074d9d3872269b44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168231 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svl/hint.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/svl/hint.hxx') diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx index b802f786312b..3dd3db1763ea 100644 --- a/include/svl/hint.hxx +++ b/include/svl/hint.hxx @@ -163,6 +163,9 @@ enum class SfxHintId { SwModifyChanged, SwAttr, SwDocumentDying, + SwRedlineDelText, + SwRedlineUnDelText, + SwMoveText, ThisIsAnSdrHint, ThisIsAnSfxEventHint @@ -257,6 +260,9 @@ inline std::basic_ostream & operator <<( case SfxHintId::SwModifyChanged: return stream << "SwModifyChanged"; case SfxHintId::SwAttr: return stream << "SwAttr"; case SfxHintId::SwDocumentDying: return stream << "SwDocumentDying"; + case SfxHintId::SwRedlineDelText: return stream << "SwRedlineDelText"; + case SfxHintId::SwRedlineUnDelText: return stream << "SwRedlineUnDelText"; + case SfxHintId::SwMoveText: return stream << "SwMoveText"; case SfxHintId::ThisIsAnSdrHint: return stream << "SdrHint"; default: return stream << "unk(" << std::to_string(int(id)) << ")"; } -- cgit