summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-02 09:41:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-02 12:24:00 +0100
commit068d4108e5ae41ca5bc2bcf22277e6235c6bdd0b (patch)
tree4139d3418c7c72d5126f64e59e192cac3e74c7ee /sw/inc
parente763e13873adfe3c6abfa4c2dfd3ac3847e2d494 (diff)
loplugin:redundantcast catch more dynamic_cast
Change-Id: Ia28e58217cefa306567b53688d851fa210b7821c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110287 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/postithelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 356f42e114db..5b4f3319ca05 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -138,7 +138,7 @@ public:
}
virtual const SfxBroadcaster* GetBroadcaster() const override
{
- return dynamic_cast<const SfxBroadcaster *> (&mrFormatField);
+ return &mrFormatField;
}
virtual VclPtr<sw::annotation::SwAnnotationWin> GetSidebarWindow(
SwEditWin& rEditWin,