summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-12 16:50:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-12 18:55:42 +0200
commit25446db3a951549492fba19fecb54c9347dd18ae (patch)
treeb833a94c5e754cc706953e10dfad8e7919608ab7 /sc/inc
parent52e1a6a3e4d613eeb9313922098b0ba11807fb12 (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 'sc/inc')
-rw-r--r--sc/inc/brdcst.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/brdcst.hxx b/sc/inc/brdcst.hxx
index 9558723ba0ac..8b872857340b 100644
--- a/sc/inc/brdcst.hxx
+++ b/sc/inc/brdcst.hxx
@@ -42,7 +42,8 @@ class ScAreaChangedHint final : public SfxHint
private:
ScRange aNewRange;
public:
- ScAreaChangedHint(const ScRange& rRange) : aNewRange(rRange) {}
+ ScAreaChangedHint(const ScRange& rRange)
+ : SfxHint(SfxHintId::ScAreaChanged), aNewRange(rRange) {}
const ScRange& GetRange() const { return aNewRange; }
};