summaryrefslogtreecommitdiff
path: root/vcl/osx/DropTarget.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/DropTarget.cxx')
-rw-r--r--vcl/osx/DropTarget.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/vcl/osx/DropTarget.cxx b/vcl/osx/DropTarget.cxx
index 7d9b29c4f61d..c7bb86ba8f02 100644
--- a/vcl/osx/DropTarget.cxx
+++ b/vcl/osx/DropTarget.cxx
@@ -345,7 +345,7 @@ void SAL_CALL DropTarget::disposing()
}
void SAL_CALL DropTarget::initialize(const Sequence< Any >& aArguments)
- throw(Exception)
+ throw(Exception, std::exception)
{
if (aArguments.getLength() < 2)
{
@@ -377,59 +377,59 @@ void SAL_CALL DropTarget::initialize(const Sequence< Any >& aArguments)
}
void SAL_CALL DropTarget::addDropTargetListener(const uno::Reference<XDropTargetListener>& dtl)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
rBHelper.addListener(::getCppuType(&dtl), dtl);
}
void SAL_CALL DropTarget::removeDropTargetListener(const uno::Reference<XDropTargetListener>& dtl)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
rBHelper.removeListener(::getCppuType(&dtl), dtl);
}
-sal_Bool SAL_CALL DropTarget::isActive( ) throw(RuntimeException)
+sal_Bool SAL_CALL DropTarget::isActive( ) throw(RuntimeException, std::exception)
{
return mbActive;
}
-void SAL_CALL DropTarget::setActive(sal_Bool active) throw(RuntimeException)
+void SAL_CALL DropTarget::setActive(sal_Bool active) throw(RuntimeException, std::exception)
{
mbActive = active;
}
-sal_Int8 SAL_CALL DropTarget::getDefaultActions() throw(RuntimeException)
+sal_Int8 SAL_CALL DropTarget::getDefaultActions() throw(RuntimeException, std::exception)
{
return mDefaultActions;
}
-void SAL_CALL DropTarget::setDefaultActions(sal_Int8 actions) throw(RuntimeException)
+void SAL_CALL DropTarget::setDefaultActions(sal_Int8 actions) throw(RuntimeException, std::exception)
{
OSL_ENSURE( actions < 8, "No valid default actions");
mDefaultActions= actions;
}
-void SAL_CALL DropTarget::acceptDrag(sal_Int8 dragOperation) throw (RuntimeException)
+void SAL_CALL DropTarget::acceptDrag(sal_Int8 dragOperation) throw (RuntimeException, std::exception)
{
mSelectedDropAction = dragOperation;
}
-void SAL_CALL DropTarget::rejectDrag() throw (RuntimeException)
+void SAL_CALL DropTarget::rejectDrag() throw (RuntimeException, std::exception)
{
mSelectedDropAction = DNDConstants::ACTION_NONE;
}
-void SAL_CALL DropTarget::acceptDrop(sal_Int8 dropOperation) throw( RuntimeException)
+void SAL_CALL DropTarget::acceptDrop(sal_Int8 dropOperation) throw( RuntimeException, std::exception)
{
mSelectedDropAction = dropOperation;
}
-void SAL_CALL DropTarget::rejectDrop() throw (RuntimeException)
+void SAL_CALL DropTarget::rejectDrop() throw (RuntimeException, std::exception)
{
mSelectedDropAction = DNDConstants::ACTION_NONE;
}
-void SAL_CALL DropTarget::dropComplete(sal_Bool success) throw (RuntimeException)
+void SAL_CALL DropTarget::dropComplete(sal_Bool success) throw (RuntimeException, std::exception)
{
// Reset the internal transferable used as shortcut in case this is
// an internal D&D operation
@@ -519,17 +519,17 @@ void DropTarget::fire_dropActionChanged(const DropTargetDragEvent& dtde)
}
}
-OUString SAL_CALL DropTarget::getImplementationName() throw (RuntimeException)
+OUString SAL_CALL DropTarget::getImplementationName() throw (RuntimeException, std::exception)
{
return dropTarget_getImplementationName();
}
-sal_Bool SAL_CALL DropTarget::supportsService( const OUString& ServiceName ) throw (RuntimeException)
+sal_Bool SAL_CALL DropTarget::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
-Sequence< OUString > SAL_CALL DropTarget::getSupportedServiceNames( ) throw (RuntimeException)
+Sequence< OUString > SAL_CALL DropTarget::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
{
return dropTarget_getSupportedServiceNames();
}