diff options
Diffstat (limited to 'extensions/source')
6 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/abpilot/unodialogabp.cxx b/extensions/source/abpilot/unodialogabp.cxx index dd24e0c5cd54..f8afef08c385 100644 --- a/extensions/source/abpilot/unodialogabp.cxx +++ b/extensions/source/abpilot/unodialogabp.cxx @@ -128,7 +128,7 @@ namespace abp ::cppu::IPropertyArrayHelper& OABSPilotUno::getInfoHelper() { - return *const_cast<OABSPilotUno*>(this)->getArrayHelper(); + return *getArrayHelper(); } diff --git a/extensions/source/propctrlr/MasterDetailLinkDialog.cxx b/extensions/source/propctrlr/MasterDetailLinkDialog.cxx index 351669a95d57..8f7f24b9d5cd 100644 --- a/extensions/source/propctrlr/MasterDetailLinkDialog.cxx +++ b/extensions/source/propctrlr/MasterDetailLinkDialog.cxx @@ -91,7 +91,7 @@ namespace pcr ::cppu::IPropertyArrayHelper& MasterDetailLinkDialog::getInfoHelper() { - return *const_cast<MasterDetailLinkDialog*>(this)->getArrayHelper(); + return *getArrayHelper(); } diff --git a/extensions/source/propctrlr/controlfontdialog.cxx b/extensions/source/propctrlr/controlfontdialog.cxx index 66718f0d081d..371ca6a5d133 100644 --- a/extensions/source/propctrlr/controlfontdialog.cxx +++ b/extensions/source/propctrlr/controlfontdialog.cxx @@ -129,7 +129,7 @@ namespace pcr ::cppu::IPropertyArrayHelper& OControlFontDialog::getInfoHelper() { - return *const_cast<OControlFontDialog*>(this)->getArrayHelper(); + return *getArrayHelper(); } diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index 105941592695..e45398145741 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -3314,7 +3314,7 @@ namespace pcr ::cppu::IPropertyArrayHelper & FormComponentPropertyHandler::getInfoHelper() { - return *const_cast<FormComponentPropertyHandler*>(this)->getArrayHelper(); + return *getArrayHelper(); } uno::Reference< beans::XPropertySetInfo > SAL_CALL FormComponentPropertyHandler::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception) diff --git a/extensions/source/propctrlr/pcrunodialogs.cxx b/extensions/source/propctrlr/pcrunodialogs.cxx index 9c26eb5465d6..2f2d56086fb6 100644 --- a/extensions/source/propctrlr/pcrunodialogs.cxx +++ b/extensions/source/propctrlr/pcrunodialogs.cxx @@ -118,7 +118,7 @@ namespace pcr ::cppu::IPropertyArrayHelper& OTabOrderDialog::getInfoHelper() { - return *const_cast< OTabOrderDialog* >( this )->getArrayHelper(); + return *getArrayHelper(); } diff --git a/extensions/source/propctrlr/submissionhandler.cxx b/extensions/source/propctrlr/submissionhandler.cxx index dd7432a5f554..e338f58f957a 100644 --- a/extensions/source/propctrlr/submissionhandler.cxx +++ b/extensions/source/propctrlr/submissionhandler.cxx @@ -292,7 +292,7 @@ namespace pcr switch ( nPropId ) { case PROPERTY_ID_SUBMISSION_ID: - const_cast< SubmissionHelper* >( m_pHelper.get() )->getAllElementUINames( EFormsHelper::Submission, aListEntries, false ); + m_pHelper.get()->getAllElementUINames( EFormsHelper::Submission, aListEntries, false ); break; case PROPERTY_ID_XFORMS_BUTTONTYPE: |