summaryrefslogtreecommitdiffstats
path: root/UnoControls/source/controls/OConnectionPointHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/source/controls/OConnectionPointHelper.cxx')
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx
index 25036efd3c36..c776439c18bc 100644
--- a/UnoControls/source/controls/OConnectionPointHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointHelper.cxx
@@ -21,10 +21,8 @@
#include "OConnectionPointContainerHelper.hxx"
-
// namespaces
-
using namespace ::rtl ;
using namespace ::osl ;
using namespace ::cppu ;
@@ -33,10 +31,8 @@ using namespace ::com::sun::star::lang ;
namespace unocontrols{
-
// construct/destruct
-
OConnectionPointHelper::OConnectionPointHelper(
Mutex& aMutex ,
OConnectionPointContainerHelper* pContainerImplementation ,
@@ -52,10 +48,8 @@ OConnectionPointHelper::~OConnectionPointHelper()
{
}
-
// XInterface
-
Any SAL_CALL OConnectionPointHelper::queryInterface( const Type& aType ) throw( RuntimeException, std::exception )
{
// Attention:
@@ -77,10 +71,8 @@ Any SAL_CALL OConnectionPointHelper::queryInterface( const Type& aType ) throw(
return aReturn ;
}
-
// XInterface
-
void SAL_CALL OConnectionPointHelper::acquire() throw()
{
// Attention:
@@ -90,10 +82,8 @@ void SAL_CALL OConnectionPointHelper::acquire() throw()
OWeakObject::acquire();
}
-
// XInterface
-
void SAL_CALL OConnectionPointHelper::release() throw()
{
// Attention:
@@ -103,10 +93,8 @@ void SAL_CALL OConnectionPointHelper::release() throw()
OWeakObject::release();
}
-
// XConnectionPoint
-
Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -127,10 +115,8 @@ Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeExceptio
return aReturnType;
}
-
// XConnectionPoint
-
Reference< XConnectionPointContainer > SAL_CALL OConnectionPointHelper::getConnectionPointContainer() throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -139,10 +125,8 @@ Reference< XConnectionPointContainer > SAL_CALL OConnectionPointHelper::getConne
return Reference< XConnectionPointContainer >( m_oContainerWeakReference.get(), UNO_QUERY );
}
-
// XConnectionPoint
-
void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xListener ) throw( ListenerExistException ,
InvalidListenerException ,
RuntimeException, std::exception )
@@ -174,10 +158,8 @@ void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xLi
impl_UnlockContainer();
}
-
// XConnectionPoint
-
void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& xListener ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -195,10 +177,8 @@ void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& x
impl_UnlockContainer();
}
-
// XConnectionPoint
-
Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnections() throw( RuntimeException, std::exception )
{
// Ready for multithreading
@@ -226,10 +206,8 @@ Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnecti
return seqReturnConnections;
}
-
// private method
-
bool OConnectionPointHelper::impl_LockContainer()
{
// Convert weakreference to hard uno3-reference and return state.
@@ -239,10 +217,8 @@ bool OConnectionPointHelper::impl_LockContainer()
return m_xLock.is();
}
-
// private method
-
void OConnectionPointHelper::impl_UnlockContainer()
{
// Free hard uno3-reference to container.