From 068d4108e5ae41ca5bc2bcf22277e6235c6bdd0b Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 2 Feb 2021 09:41:52 +0200 Subject: 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 --- sw/inc/postithelper.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/inc') 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 (&mrFormatField); + return &mrFormatField; } virtual VclPtr GetSidebarWindow( SwEditWin& rEditWin, -- cgit