diff options
Diffstat (limited to 'basic/source/classes/sbxmod.cxx')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index c837105a4dfe..f288f0ec99ae 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -83,6 +83,8 @@ using namespace com::sun::star::uno; typedef ::cppu::WeakImplHelper< XInvocation > DocObjectWrapper_BASE; typedef std::map< sal_Int16, Any > OutParamMap; +namespace { + class DocObjectWrapper : public DocObjectWrapper_BASE { Reference< XAggregation > m_xAggProxy; @@ -115,6 +117,8 @@ public: virtual Sequence< Type > SAL_CALL getTypes() override; }; +} + DocObjectWrapper::DocObjectWrapper( SbModule* pVar ) : m_pMod( pVar ) { SbObjModule* pMod = dynamic_cast<SbObjModule*>( pVar ); @@ -1674,6 +1678,8 @@ bool SbModule::ExceedsLegacyModuleSize() return pImage && pImage->ExceedsLegacyLimits(); } +namespace { + class ErrorHdlResetter { Link<StarBASIC*,bool> mErrHandler; @@ -1695,6 +1701,8 @@ public: bool HasError() const { return mbError; } }; +} + IMPL_LINK( ErrorHdlResetter, BasicErrorHdl, StarBASIC *, /*pBasic*/, bool) { mbError = true; |