summaryrefslogtreecommitdiff
path: root/include/svl/hint.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-05-29 19:26:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-30 09:18:33 +0200
commit91dbd5ca9fa2e689dcdbc5be4a60c8b65cbefc9f (patch)
treea04ead5770a06c55a3dbb0749c1407f089aa889f /include/svl/hint.hxx
parent50a27ef3fb3d7ceab2acacdccd4048cbedb866f1 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl/hint.hxx')
-rw-r--r--include/svl/hint.hxx6
1 files changed, 6 insertions, 0 deletions
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<charT, traits> & 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)) << ")";
}