From 2f3ea8dfbc7dedc785cd07ad0b681a0da3904a80 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 21 Oct 2015 12:42:16 +0200 Subject: refactor out some com::sun::star typedefs which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8 --- sc/workben/result.cxx | 2 +- sc/workben/result.hxx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'sc/workben') diff --git a/sc/workben/result.cxx b/sc/workben/result.cxx index e497aa4ae5d0..2bf201756b35 100644 --- a/sc/workben/result.cxx +++ b/sc/workben/result.cxx @@ -23,7 +23,7 @@ using namespace com::sun::star; -SV_IMPL_PTRARR( XResultListenerArr_Impl, XResultListenerPtr ); +SV_IMPL_PTRARR( XResultListenerArr_Impl, css::uno::Reference< css::sheet::XResultListener >* ); ScAddInResult::ScAddInResult(const String& rStr) : aArg( rStr ), diff --git a/sc/workben/result.hxx b/sc/workben/result.hxx index b2a87d9a74fd..e887ce69c1bb 100644 --- a/sc/workben/result.hxx +++ b/sc/workben/result.hxx @@ -28,8 +28,7 @@ #include -typedef ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XResultListener >* XResultListenerPtr; -typedef boost::ptr_vector XResultListenerArr_Impl; +typedef boost::ptr_vector*> XResultListenerArr_Impl; class ScAddInResult : public cppu::WeakImplHelper< com::sun::star::sheet::XVolatileResult> -- cgit