summaryrefslogtreecommitdiff
path: root/filter
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 /filter
parent3c4fd27392bd153e043eeb60907eeded48c60cf2 (diff)
loplugin:redundantcast: redundant const_cast followed by implicit upcast
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
Diffstat (limited to 'filter')
-rw-r--r--filter/source/flash/swfdialog.cxx2
-rw-r--r--filter/source/pdf/pdfdialog.cxx2
-rw-r--r--filter/source/svg/svgdialog.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/flash/swfdialog.cxx b/filter/source/flash/swfdialog.cxx
index 981731ae642e..64a182f47db3 100644
--- a/filter/source/flash/swfdialog.cxx
+++ b/filter/source/flash/swfdialog.cxx
@@ -201,7 +201,7 @@ Reference< XPropertySetInfo > SAL_CALL SWFDialog::getPropertySetInfo()
::cppu::IPropertyArrayHelper& SWFDialog::getInfoHelper()
{
- return *const_cast<SWFDialog*>(this)->getArrayHelper();
+ return *getArrayHelper();
}
diff --git a/filter/source/pdf/pdfdialog.cxx b/filter/source/pdf/pdfdialog.cxx
index 9db0eb60f8a7..93de5b4e9bc7 100644
--- a/filter/source/pdf/pdfdialog.cxx
+++ b/filter/source/pdf/pdfdialog.cxx
@@ -141,7 +141,7 @@ Reference< XPropertySetInfo > SAL_CALL PDFDialog::getPropertySetInfo()
::cppu::IPropertyArrayHelper& PDFDialog::getInfoHelper()
{
- return *const_cast<PDFDialog*>(this)->getArrayHelper();
+ return *getArrayHelper();
}
diff --git a/filter/source/svg/svgdialog.cxx b/filter/source/svg/svgdialog.cxx
index fe58a3a7652a..ccc9b45ee653 100644
--- a/filter/source/svg/svgdialog.cxx
+++ b/filter/source/svg/svgdialog.cxx
@@ -171,7 +171,7 @@ Reference< XPropertySetInfo > SAL_CALL SVGDialog::getPropertySetInfo()
::cppu::IPropertyArrayHelper& SVGDialog::getInfoHelper()
{
- return *const_cast< SVGDialog *>(this)->getArrayHelper();
+ return *getArrayHelper();
}