From 9e0b3423f21c23a8ef2fe749ea7dd7c1194c2f9a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Aug 2019 11:06:41 +0200 Subject: loplugin:referencecasting find more redundant static_cast Change-Id: I3a51812bbd3fcdc6b11e47cb12962f0d4fa7a2ae Reviewed-on: https://gerrit.libreoffice.org/78191 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/control/valueacc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index 5188746d5653..50ae750f068b 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -296,7 +296,7 @@ uno::Reference< accessibility::XAccessibleRelationSet > SAL_CALL ValueSetAcc::ge ThrowIfDisposed(); SolarMutexGuard g; uno::Reference< accessibility::XAccessibleRelationSet > xRelSet; - vcl::Window* pWindow = static_cast(mpParent); + vcl::Window* pWindow = mpParent; if ( pWindow ) { utl::AccessibleRelationSetHelper* pRelationSet = new utl::AccessibleRelationSetHelper; -- cgit