diff options
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 6 | ||||
-rw-r--r-- | basic/source/classes/errobject.cxx | 5 | ||||
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 8 | ||||
-rw-r--r-- | basic/source/inc/propacc.hxx | 4 | ||||
-rw-r--r-- | basic/source/inc/symtbl.hxx | 11 |
5 files changed, 12 insertions, 22 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index d9e8a5cad1c0..8aa4ae4689c0 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -75,8 +75,6 @@ using namespace cppu; typedef WeakImplHelper< container::XNameContainer > NameContainerHelper; typedef WeakImplHelper< script::XStarBasicModuleInfo > ModuleInfoHelper; -typedef WeakImplHelper< script::XStarBasicDialogInfo > DialogInfoHelper; -typedef WeakImplHelper< script::XStarBasicLibraryInfo > LibraryInfoHelper; typedef WeakImplHelper< script::XStarBasicAccess > StarBasicAccessHelper; // Version 1 @@ -1721,7 +1719,7 @@ public: -class DialogInfo_Impl : public DialogInfoHelper +class DialogInfo_Impl : public WeakImplHelper< script::XStarBasicDialogInfo > { OUString maName; uno::Sequence< sal_Int8 > mData; @@ -1740,7 +1738,7 @@ public: -class LibraryInfo_Impl : public LibraryInfoHelper +class LibraryInfo_Impl : public WeakImplHelper< script::XStarBasicLibraryInfo > { OUString maName; uno::Reference< container::XNameContainer > mxModuleContainer; 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; diff --git a/basic/source/inc/propacc.hxx b/basic/source/inc/propacc.hxx index a74d2b226c0a..d10cf79014c4 100644 --- a/basic/source/inc/propacc.hxx +++ b/basic/source/inc/propacc.hxx @@ -86,8 +86,6 @@ public: -typedef ::cppu::WeakImplHelper< css::beans::XPropertySetInfo > SbPropertySetInfoHelper; - // AB 20.3.2000 Help Class for XPropertySetInfo implementation class PropertySetInfoImpl { @@ -109,7 +107,7 @@ public: throw ( css::uno::RuntimeException ); }; -class SbPropertySetInfo: public SbPropertySetInfoHelper +class SbPropertySetInfo: public ::cppu::WeakImplHelper< css::beans::XPropertySetInfo > { PropertySetInfoImpl aImpl; diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx index bb8d1b7a8a91..2682eee31d19 100644 --- a/basic/source/inc/symtbl.hxx +++ b/basic/source/inc/symtbl.hxx @@ -49,17 +49,16 @@ public: }; -typedef boost::ptr_vector<SbiSymDef> SbiSymbols; - class SbiSymPool { friend class SbiSymDef; friend class SbiProcDef; protected: SbiStringPool& rStrings; - SbiSymbols aData; - SbiSymPool* pParent; - SbiParser* pParser; - SbiSymScope eScope; + boost::ptr_vector<SbiSymDef> + aData; + SbiSymPool* pParent; + SbiParser* pParser; + SbiSymScope eScope; sal_uInt16 nProcId; // for STATIC-variable sal_uInt16 nCur; // iterator public: |