diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 14:24:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 11:57:57 +0100 |
commit | a5be07d6b627a18f104e2feed063ff9020e8c610 (patch) | |
tree | 389ea7a3c163bcafca743373b94cda4fba937552 /reportdesign | |
parent | b0cecbfb03dba67f01d1411a1e8b7402c2ca90ce (diff) |
inline use-once typedefs
Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157
Reviewed-on: https://gerrit.libreoffice.org/46764
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/inc/RptObject.hxx | 5 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 3 |
2 files changed, 2 insertions, 6 deletions
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<OPropertyMediator> TMediator; - protected: - mutable TMediator m_xMediator; + mutable rtl::Reference<OPropertyMediator> 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_BASE> OReportController_PROP; - return *OReportController_PROP::getArrayHelper(); + return *::comphelper::OPropertyArrayUsageHelper<OReportController_BASE>::getArrayHelper(); } void SAL_CALL OReportController::setFastPropertyValue_NoBroadcast(sal_Int32 _nHandle,const Any& _aValue) |