summaryrefslogtreecommitdiff
path: root/basic/source/classes
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 15:13:20 +0200
committerNoel Grandin <noel@peralex.com>2015-08-04 08:55:56 +0200
commit50097a8bb2be903d8a985f6f03f364567bf4643d (patch)
treed4d47f9832766b4a07b5b97a3a5dfcbc93d96a91 /basic/source/classes
parent3ff2e30ff671aa43891968d21aa2e17774e47baf (diff)
basic,basctl: inline some use-once typedefs
Change-Id: I60619a5bfe9507fb5ed24123f62f6b5c2f2c8712
Diffstat (limited to 'basic/source/classes')
-rw-r--r--basic/source/classes/errobject.cxx5
-rw-r--r--basic/source/classes/sbunoobj.cxx8
2 files changed, 4 insertions, 9 deletions
diff --git a/basic/source/classes/errobject.cxx b/basic/source/classes/errobject.cxx
index b1b2bf1c502a..7abf2567fd12 100644
--- a/basic/source/classes/errobject.cxx
+++ b/basic/source/classes/errobject.cxx
@@ -27,9 +27,8 @@
using namespace ::com::sun::star;
using namespace ::ooo;
-typedef ::cppu::WeakImplHelper< vba::XErrObject, script::XDefaultProperty > ErrObjectImpl_BASE;
-
-class ErrObject : public ErrObjectImpl_BASE
+class ErrObject : public ::cppu::WeakImplHelper< vba::XErrObject,
+ script::XDefaultProperty >
{
OUString m_sHelpFile;
OUString m_sSource;
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 92d59521042f..f87eeac5d328 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -105,8 +105,6 @@ TYPEINIT1(SbUnoService,SbxObject)
TYPEINIT1(SbUnoServiceCtor,SbxMethod)
TYPEINIT1(SbUnoSingleton,SbxObject)
-typedef WeakImplHelper< XAllListener > BasicAllListenerHelper;
-
// Identifiers for creating the strings for dbg_Properties
static char const ID_DBG_SUPPORTEDINTERFACES[] = "Dbg_SupportedInterfaces";
static char const ID_DBG_PROPERTIES[] = "Dbg_Properties";
@@ -3882,7 +3880,7 @@ void SbUnoSingleton::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
// Implementation of an EventAttacher-drawn AllListener, which
// solely transmits several events to an general AllListener
-class BasicAllListener_Impl : public BasicAllListenerHelper
+class BasicAllListener_Impl : public WeakImplHelper< XAllListener >
{
void firing_impl(const AllEventObject& Event, Any* pRet);
@@ -4322,10 +4320,8 @@ protected:
};
} // namespace
-typedef WeakImplHelper< XInvocation, XComponent > ModuleInvocationProxyHelper;
-
class ModuleInvocationProxy : public OMutexBasis,
- public ModuleInvocationProxyHelper
+ public WeakImplHelper< XInvocation, XComponent >
{
OUString m_aPrefix;
SbxObjectRef m_xScopeObj;