summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-13 12:35:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-13 12:36:36 +0200
commit373a9b9bb62c50072c06e28fd932afb6e71ba687 (patch)
treedc6b72474110a4311d7ab57d42dc4bda5c221e4b /reportdesign
parent3c4fd27392bd153e043eeb60907eeded48c60cf2 (diff)
loplugin:redundantcast: redundant const_cast followed by implicit upcast
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx2
1 files changed, 1 insertions, 1 deletions
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<OStyle*>(this)->getArrayHelper();
+ return *getArrayHelper();
}
::cppu::IPropertyArrayHelper* OStyle::createArrayHelper( ) const