diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-12 16:50:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-12 18:55:42 +0200 |
commit | 25446db3a951549492fba19fecb54c9347dd18ae (patch) | |
tree | b833a94c5e754cc706953e10dfad8e7919608ab7 /include | |
parent | 52e1a6a3e4d613eeb9313922098b0ba11807fb12 (diff) |
elide some dynamic_cast
Change-Id: I32c804e64cf219364e27ad6d9549c68c1f737a19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137003
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/hint.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx index 3db9889a53fb..12f66eb5323a 100644 --- a/include/svl/hint.hxx +++ b/include/svl/hint.hxx @@ -70,6 +70,7 @@ enum class SfxHintId { ScReference, ScDrawLayerNew, ScDbAreasChanged, + ScAreaChanged, ScAreasChanged, ScTablesChanged, ScTablesRenamed, @@ -116,6 +117,8 @@ enum class SfxHintId { SwNavigatorUpdateTracking, SwNavigatorSelectOutlinesWithSelections, SwLegacyModify, + SwCollectTextMarks, + SwCollectTextTOXMarksForLayout, ThisIsAnSdrHint // used to avoid dynamic_cast }; @@ -163,6 +166,7 @@ inline std::basic_ostream<charT, traits> & operator <<( case SfxHintId::ScReference: return stream << "ScReference"; case SfxHintId::ScDrawLayerNew: return stream << "ScDrawLayerNew"; case SfxHintId::ScDbAreasChanged: return stream << "ScDbAreasChanged"; + case SfxHintId::ScAreaChanged: return stream << "ScAreaChanged"; case SfxHintId::ScAreasChanged: return stream << "ScAreasChanged"; case SfxHintId::ScTablesChanged: return stream << "ScTablesChanged"; case SfxHintId::ScTablesRenamed: return stream << "ScTablesRenamed"; @@ -200,6 +204,8 @@ inline std::basic_ostream<charT, traits> & operator <<( case SfxHintId::SwNavigatorUpdateTracking: return stream << "SwNavigatorUpdateTracking"; case SfxHintId::SwNavigatorSelectOutlinesWithSelections: return stream << "SwNavigatorSelectOutlinesWithSelections"; + case SfxHintId::SwCollectTextMarks: return stream << "SwCollectTextMarks"; + case SfxHintId::SwCollectTextTOXMarksForLayout: return stream << "SwCollectTextTOXMarksForLayout"; case SfxHintId::ThisIsAnSdrHint: return stream << "SdrHint"; default: return stream << "unk(" << std::to_string(int(id)) << ")"; } |