From a5be07d6b627a18f104e2feed063ff9020e8c610 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Dec 2017 14:24:50 +0200 Subject: inline use-once typedefs Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157 Reviewed-on: https://gerrit.libreoffice.org/46764 Tested-by: Jenkins Reviewed-by: Noel Grandin --- reportdesign/inc/RptObject.hxx | 5 +---- reportdesign/source/ui/report/ReportController.cxx | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'reportdesign') diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index 5a8e53d912d2..5c100d51398c 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -64,11 +64,8 @@ class OPropertyMediator; class REPORTDESIGN_DLLPUBLIC OObjectBase { -public: - typedef rtl::Reference TMediator; - protected: - mutable TMediator m_xMediator; + mutable rtl::Reference m_xMediator; mutable css::uno::Reference< css::beans::XPropertyChangeListener> m_xPropertyChangeListener; mutable css::uno::Reference< css::report::XReportComponent> m_xReportComponent; css::uno::Reference< css::uno::XInterface > m_xKeepShapeAlive; diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 63ee8bf3e020..835392c3a044 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -4006,8 +4006,7 @@ void OReportController::getPropertyDefaultByHandle( sal_Int32 /*_nHandle*/, Any& // cppu::OPropertySetHelper ::cppu::IPropertyArrayHelper& SAL_CALL OReportController::getInfoHelper() { - typedef ::comphelper::OPropertyArrayUsageHelper OReportController_PROP; - return *OReportController_PROP::getArrayHelper(); + return *::comphelper::OPropertyArrayUsageHelper::getArrayHelper(); } void SAL_CALL OReportController::setFastPropertyValue_NoBroadcast(sal_Int32 _nHandle,const Any& _aValue) -- cgit