summaryrefslogtreecommitdiff
path: root/vcl/source/window/dndlistenercontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/dndlistenercontainer.cxx')
-rw-r--r--vcl/source/window/dndlistenercontainer.cxx19
1 files changed, 5 insertions, 14 deletions
diff --git a/vcl/source/window/dndlistenercontainer.cxx b/vcl/source/window/dndlistenercontainer.cxx
index b9874fc08086..fd0244c6e014 100644
--- a/vcl/source/window/dndlistenercontainer.cxx
+++ b/vcl/source/window/dndlistenercontainer.cxx
@@ -36,54 +36,45 @@ DNDListenerContainer::~DNDListenerContainer()
}
void SAL_CALL DNDListenerContainer::addDragGestureListener( const Reference< XDragGestureListener >& dgl )
- throw(RuntimeException, std::exception)
{
rBHelper.addListener( cppu::UnoType<XDragGestureListener>::get(), dgl );
}
void SAL_CALL DNDListenerContainer::removeDragGestureListener( const Reference< XDragGestureListener >& dgl )
- throw(RuntimeException, std::exception)
{
rBHelper.removeListener( cppu::UnoType<XDragGestureListener>::get(), dgl );
}
void SAL_CALL DNDListenerContainer::resetRecognizer( )
- throw(RuntimeException, std::exception)
{
}
void SAL_CALL DNDListenerContainer::addDropTargetListener( const Reference< XDropTargetListener >& dtl )
- throw(RuntimeException, std::exception)
{
rBHelper.addListener( cppu::UnoType<XDropTargetListener>::get(), dtl );
}
void SAL_CALL DNDListenerContainer::removeDropTargetListener( const Reference< XDropTargetListener >& dtl )
- throw(RuntimeException, std::exception)
{
rBHelper.removeListener( cppu::UnoType<XDropTargetListener>::get(), dtl );
}
sal_Bool SAL_CALL DNDListenerContainer::isActive( )
- throw(RuntimeException, std::exception)
{
return m_bActive;
}
void SAL_CALL DNDListenerContainer::setActive( sal_Bool active )
- throw(RuntimeException, std::exception)
{
m_bActive = active;
}
sal_Int8 SAL_CALL DNDListenerContainer::getDefaultActions( )
- throw(RuntimeException, std::exception)
{
return m_nDefaultActions;
}
void SAL_CALL DNDListenerContainer::setDefaultActions( sal_Int8 actions )
- throw(RuntimeException, std::exception)
{
m_nDefaultActions = actions;
}
@@ -423,7 +414,7 @@ sal_uInt32 DNDListenerContainer::fireDragGestureEvent( sal_Int8 dragAction, sal_
return nRet;
}
-void SAL_CALL DNDListenerContainer::acceptDrag( sal_Int8 dragOperation ) throw (RuntimeException, std::exception)
+void SAL_CALL DNDListenerContainer::acceptDrag( sal_Int8 dragOperation )
{
if( m_xDropTargetDragContext.is() )
{
@@ -432,23 +423,23 @@ void SAL_CALL DNDListenerContainer::acceptDrag( sal_Int8 dragOperation ) throw (
}
}
-void SAL_CALL DNDListenerContainer::rejectDrag( ) throw (RuntimeException, std::exception)
+void SAL_CALL DNDListenerContainer::rejectDrag( )
{
// nothing to do here
}
-void SAL_CALL DNDListenerContainer::acceptDrop( sal_Int8 dropOperation ) throw (RuntimeException, std::exception)
+void SAL_CALL DNDListenerContainer::acceptDrop( sal_Int8 dropOperation )
{
if( m_xDropTargetDropContext.is() )
m_xDropTargetDropContext->acceptDrop( dropOperation );
}
-void SAL_CALL DNDListenerContainer::rejectDrop( ) throw (RuntimeException, std::exception)
+void SAL_CALL DNDListenerContainer::rejectDrop( )
{
// nothing to do here
}
-void SAL_CALL DNDListenerContainer::dropComplete( sal_Bool success ) throw (RuntimeException, std::exception)
+void SAL_CALL DNDListenerContainer::dropComplete( sal_Bool success )
{
if( m_xDropTargetDropContext.is() )
{