diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-05-28 18:34:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-29 12:55:07 +0200 |
commit | 3a604beae75a1157e9bb4cf620cc7ad4d007ab45 (patch) | |
tree | d5a601eecac4b3d5d718cda8fc458a98a7d56763 /include/svl/hint.hxx | |
parent | 73eed7cfe08624227214378c50e2f09c9a868ee3 (diff) |
avoid dynamic_cast in SwTOXBase
Change-Id: Iac8f502bf200f599d44f52504a3b70a1a21b370b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168164
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'include/svl/hint.hxx')
-rw-r--r-- | include/svl/hint.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx index 0a7459175905..2ce114824045 100644 --- a/include/svl/hint.hxx +++ b/include/svl/hint.hxx @@ -161,6 +161,7 @@ enum class SfxHintId { SwFindRedline, SwModifyChanged, SwAttr, + SwDocumentDying, ThisIsAnSdrHint, ThisIsAnSfxEventHint @@ -254,6 +255,7 @@ inline std::basic_ostream<charT, traits> & operator <<( case SfxHintId::SwFindRedline: return stream << "SwFindRedline"; case SfxHintId::SwModifyChanged: return stream << "SwModifyChanged"; case SfxHintId::SwAttr: return stream << "SwAttr"; + case SfxHintId::SwDocumentDying: return stream << "SwDocumentDying"; case SfxHintId::ThisIsAnSdrHint: return stream << "SdrHint"; default: return stream << "unk(" << std::to_string(int(id)) << ")"; } |