From 373a9b9bb62c50072c06e28fd932afb6e71ba687 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 13 Apr 2015 12:35:57 +0200 Subject: loplugin:redundantcast: redundant const_cast followed by implicit upcast Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb --- reportdesign/source/core/api/ReportDefinition.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reportdesign') diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index 6dd1419c57e2..2b08c5d7ff16 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -407,7 +407,7 @@ void OStyle::getPropertyDefaultByHandle( sal_Int32 /*_nHandle*/, uno::Any& /*_rD ::cppu::IPropertyArrayHelper& OStyle::getInfoHelper() { - return *const_cast(this)->getArrayHelper(); + return *getArrayHelper(); } ::cppu::IPropertyArrayHelper* OStyle::createArrayHelper( ) const -- cgit