summaryrefslogtreecommitdiffstats
path: root/sc/workben
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-21 12:42:16 +0200
committerNoel Grandin <noel@peralex.com>2015-10-21 14:17:56 +0200
commit2f3ea8dfbc7dedc785cd07ad0b681a0da3904a80 (patch)
tree533c450fb3e8e5b75d5ccdc9dc6c358da481513f /sc/workben
parentlokdocview: Emit a warning after error (diff)
downloadcore-2f3ea8dfbc7dedc785cd07ad0b681a0da3904a80.tar.gz
core-2f3ea8dfbc7dedc785cd07ad0b681a0da3904a80.zip
refactor out some com::sun::star typedefs
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
Diffstat (limited to 'sc/workben')
-rw-r--r--sc/workben/result.cxx2
-rw-r--r--sc/workben/result.hxx3
2 files changed, 2 insertions, 3 deletions
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 <cppuhelper/implbase.hxx>
-typedef ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XResultListener >* XResultListenerPtr;
-typedef boost::ptr_vector<XResultListenerPtr> XResultListenerArr_Impl;
+typedef boost::ptr_vector<css::uno::Reference< css::sheet::XResultListener >*> XResultListenerArr_Impl;
class ScAddInResult : public cppu::WeakImplHelper<
com::sun::star::sheet::XVolatileResult>