diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-06 16:20:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-07 06:52:22 +0100 |
commit | 9c5fda14fff397d5d503f749ad019791d7e4ef83 (patch) | |
tree | 88a08d74452c2dc0a36a57d02e8e4cdcffb6fc85 /include/svl/hint.hxx | |
parent | aad40b222cc646749cf7bb67e8d45a2d77018eb8 (diff) |
tdf#158773 reduce dynamic_cast'ing in CustomShapeProperties::Notify
shaves 2% off the load time
Change-Id: I579825bd6101b57a44b0f3118ede17ec2393d9d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164477
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.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx index ec0c7b1d9872..860ea4219c56 100644 --- a/include/svl/hint.hxx +++ b/include/svl/hint.hxx @@ -104,6 +104,7 @@ enum class SfxHintId { // SFX stylesheet StyleSheetCreated, // new StyleSheetModified, // changed + StyleSheetModifiedExtended, // changed, but using the SfxStyleSheetModifiedHint, not the SfxStyleSheetHint StyleSheetChanged, // erased and re-created (replaced) StyleSheetErased, // erased StyleSheetInDestruction, // in the process of being destructed @@ -229,6 +230,7 @@ inline std::basic_ostream<charT, traits> & operator <<( case SfxHintId::ScAccWindowResized: return stream << "ScAccWindowResized"; case SfxHintId::StyleSheetCreated: return stream << "StyleSheetCreated"; case SfxHintId::StyleSheetModified: return stream << "StyleSheetModified"; + case SfxHintId::StyleSheetModifiedExtended: return stream << "StyleSheetModifiedExtended"; case SfxHintId::StyleSheetChanged: return stream << "StyleSheetChanged"; case SfxHintId::StyleSheetErased: return stream << "StyleSheetErased"; case SfxHintId::StyleSheetInDestruction: return stream << "StyleSheetInDestruction"; |