diff options
Diffstat (limited to 'vcl/osx/DragSource.cxx')
-rw-r--r-- | vcl/osx/DragSource.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx index d794d1fb808d..1a50d4fbc3db 100644 --- a/vcl/osx/DragSource.cxx +++ b/vcl/osx/DragSource.cxx @@ -158,7 +158,6 @@ DragSource::~DragSource() } void SAL_CALL DragSource::initialize(const Sequence< Any >& aArguments) - throw(Exception, std::exception) { if (aArguments.getLength() < 2) { @@ -203,13 +202,11 @@ void SAL_CALL DragSource::initialize(const Sequence< Any >& aArguments) } sal_Bool SAL_CALL DragSource::isDragImageSupported( ) - throw(RuntimeException, std::exception) { return true; } sal_Int32 SAL_CALL DragSource::getDefaultCursor( sal_Int8 /*dragAction*/ ) - throw( IllegalArgumentException, RuntimeException, std::exception) { return 0; } @@ -220,7 +217,6 @@ void SAL_CALL DragSource::startDrag(const DragGestureEvent& trigger, sal_Int32 /*image*/, const uno::Reference<XTransferable >& transferable, const uno::Reference<XDragSourceListener >& listener ) - throw( RuntimeException, std::exception) { MutexGuard guard(m_aMutex); @@ -323,17 +319,17 @@ unsigned int DragSource::getSupportedDragOperations(bool isLocal) const return srcActions; } -OUString SAL_CALL DragSource::getImplementationName( ) throw (RuntimeException, std::exception) +OUString SAL_CALL DragSource::getImplementationName( ) { return dragSource_getImplementationName(); } -sal_Bool SAL_CALL DragSource::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception) +sal_Bool SAL_CALL DragSource::supportsService( const OUString& ServiceName ) { return cppu::supportsService(this, ServiceName); } -Sequence< OUString > SAL_CALL DragSource::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > SAL_CALL DragSource::getSupportedServiceNames() { return dragSource_getSupportedServiceNames(); } |