diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-05-27 21:13:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-28 09:58:48 +0200 |
commit | 25caf7dfd01534f9cdb044676c05c798fac96917 (patch) | |
tree | a2fcf9ead905fa1d7c35fd263e3849801243e3bc /sw/inc/fmtfld.hxx | |
parent | e7fcca88ce9acc78a402c5929d063e3cfc573be4 (diff) |
avoid dynamic_cast in PostItMgr
Change-Id: Ieb571b8f39de1ffbc5cf1ce257204dca9bdb649e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168121
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/fmtfld.hxx')
-rw-r--r-- | sw/inc/fmtfld.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx index c9f7d756c0b9..5df4f0beaf57 100644 --- a/sw/inc/fmtfld.hxx +++ b/sw/inc/fmtfld.hxx @@ -196,7 +196,8 @@ class SW_DLLPUBLIC SwFormatFieldHint final : public SfxHint public: SwFormatFieldHint( const SwFormatField* pField, SwFormatFieldHintWhich nWhich, const SwView* pView = nullptr) - : m_pField(pField) + : SfxHint(SfxHintId::SwFormatField) + , m_pField(pField) , m_nWhich(nWhich) , m_pView(pView) {} |