diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-03 15:46:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-04 13:02:56 +0200 |
commit | f2d096099a220e4caa2d532a5230785cbdb91eed (patch) | |
tree | 230bcc7ab089d2948c321c6d2df3a089f064bc0b /sc/source/ui/app | |
parent | 12f5c69ead6765dd3711db335763caf2df4e049f (diff) |
use less dynamic_cast when broadcasting SfxHint in sc
Change-Id: I25ee079b5b14f82012f868ae6b348fa6982571a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172853
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r-- | sc/source/ui/app/uiitems.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/app/uiitems.cxx b/sc/source/ui/app/uiitems.cxx index c163582d4a8e..a22afdbf16d5 100644 --- a/sc/source/ui/app/uiitems.cxx +++ b/sc/source/ui/app/uiitems.cxx @@ -85,6 +85,7 @@ void ScInputStatusItem::SetMisspellRanges( const std::vector<editeng::MisspellRa * Adapt Views when inserting/deleting a table */ ScTablesHint::ScTablesHint(sal_uInt16 nNewId, SCTAB nTable1, SCTAB nTable2) : + SfxHint(SfxHintId::ScTables), nId( nNewId ), nTab1( nTable1 ), nTab2( nTable2 ) @@ -109,6 +110,7 @@ ScIndexHint::~ScIndexHint() * Create new EditView for Cursorposition */ ScEditViewHint::ScEditViewHint( ScEditEngineDefaulter* pEngine, const ScAddress& rCurPos ) : + SfxHint(SfxHintId::ScEditView), pEditEngine( pEngine ), aCursorPos( rCurPos ) { |