summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-05-27 23:57:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-28 18:01:54 +0200
commit2cb410d1a7e39f01bd1e8488b220d1bc6d9674a3 (patch)
tree61967a0c1f35efd34338fb5eaff4aabbd418fc44 /include
parentaea4dd58521b5621463c653a47275808a315edd6 (diff)
avoid dynamic_cast in ModifyChangedHint
Change-Id: I78d9fc4984bf4313222c943816f81d31924dff26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168133 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/svl/hint.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx
index 31564677dd32..fc54ac23fc99 100644
--- a/include/svl/hint.hxx
+++ b/include/svl/hint.hxx
@@ -159,6 +159,7 @@ enum class SfxHintId {
SwAutoFormatUsedHint,
SwFormatField,
SwFindRedline,
+ SwModifyChanged,
ThisIsAnSdrHint,
ThisIsAnSfxEventHint
@@ -250,6 +251,7 @@ inline std::basic_ostream<charT, traits> & operator <<(
case SfxHintId::SwCollectTextTOXMarksForLayout: return stream << "SwCollectTextTOXMarksForLayout";
case SfxHintId::SwFormatField: return stream << "SwFormatField";
case SfxHintId::SwFindRedline: return stream << "SwFindRedline";
+ case SfxHintId::SwModifyChanged: return stream << "SwModifyChanged";
case SfxHintId::ThisIsAnSdrHint: return stream << "SdrHint";
default: return stream << "unk(" << std::to_string(int(id)) << ")";
}