summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/graphic/UnoGraphic.hxx6
-rw-r--r--vcl/inc/graphic/UnoGraphicDescriptor.hxx6
-rw-r--r--vcl/source/graphic/UnoGraphic.cxx6
-rw-r--r--vcl/source/graphic/UnoGraphicDescriptor.cxx6
-rw-r--r--vcl/unx/generic/dtrans/X11_clipboard.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_clipboard.hxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_droptarget.cxx8
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx10
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx18
9 files changed, 32 insertions, 32 deletions
diff --git a/vcl/inc/graphic/UnoGraphic.hxx b/vcl/inc/graphic/UnoGraphic.hxx
index be2991eb6a5d..ef4300cb5175 100644
--- a/vcl/inc/graphic/UnoGraphic.hxx
+++ b/vcl/inc/graphic/UnoGraphic.hxx
@@ -39,7 +39,7 @@ class Graphic final : public css::graphic::XGraphic,
{
public:
Graphic();
- virtual ~Graphic() throw() override;
+ virtual ~Graphic() noexcept override;
using ::unographic::GraphicDescriptor::init;
void init(const ::Graphic& rGraphic);
@@ -47,8 +47,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
private:
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
diff --git a/vcl/inc/graphic/UnoGraphicDescriptor.hxx b/vcl/inc/graphic/UnoGraphicDescriptor.hxx
index db39c070deda..3387545f5103 100644
--- a/vcl/inc/graphic/UnoGraphicDescriptor.hxx
+++ b/vcl/inc/graphic/UnoGraphicDescriptor.hxx
@@ -68,7 +68,7 @@ class GraphicDescriptor : public ::cppu::OWeakAggObject,
public:
GraphicDescriptor();
- virtual ~GraphicDescriptor() throw() override;
+ virtual ~GraphicDescriptor() noexcept override;
void init( const ::Graphic& rGraphic );
void init( const OUString& rURL );
@@ -79,8 +79,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
protected:
// XServiceInfo
diff --git a/vcl/source/graphic/UnoGraphic.cxx b/vcl/source/graphic/UnoGraphic.cxx
index fa882a2c5917..54887c96361a 100644
--- a/vcl/source/graphic/UnoGraphic.cxx
+++ b/vcl/source/graphic/UnoGraphic.cxx
@@ -38,7 +38,7 @@ Graphic::Graphic() :
{
}
-Graphic::~Graphic() throw()
+Graphic::~Graphic() noexcept
{
}
@@ -72,12 +72,12 @@ uno::Any SAL_CALL Graphic::queryInterface( const uno::Type & rType )
}
void SAL_CALL Graphic::acquire()
- throw()
+ noexcept
{
unographic::GraphicDescriptor::acquire();
}
-void SAL_CALL Graphic::release() throw()
+void SAL_CALL Graphic::release() noexcept
{
unographic::GraphicDescriptor::release();
}
diff --git a/vcl/source/graphic/UnoGraphicDescriptor.cxx b/vcl/source/graphic/UnoGraphicDescriptor.cxx
index eabb64a41ca5..60f2dcaa4c8b 100644
--- a/vcl/source/graphic/UnoGraphicDescriptor.cxx
+++ b/vcl/source/graphic/UnoGraphicDescriptor.cxx
@@ -66,7 +66,7 @@ GraphicDescriptor::GraphicDescriptor() :
}
GraphicDescriptor::~GraphicDescriptor()
- throw()
+ noexcept
{
}
@@ -181,14 +181,14 @@ uno::Any SAL_CALL GraphicDescriptor::queryInterface( const uno::Type & rType )
void SAL_CALL GraphicDescriptor::acquire()
- throw()
+ noexcept
{
OWeakAggObject::acquire();
}
void SAL_CALL GraphicDescriptor::release()
- throw()
+ noexcept
{
OWeakAggObject::release();
}
diff --git a/vcl/unx/generic/dtrans/X11_clipboard.cxx b/vcl/unx/generic/dtrans/X11_clipboard.cxx
index b42f0f5bc828..9b50eff8d988 100644
--- a/vcl/unx/generic/dtrans/X11_clipboard.cxx
+++ b/vcl/unx/generic/dtrans/X11_clipboard.cxx
@@ -208,7 +208,7 @@ void X11Clipboard::fireContentsChanged()
fireChangedContentsEvent();
}
-Reference< XInterface > X11Clipboard::getReference() throw()
+Reference< XInterface > X11Clipboard::getReference() noexcept
{
return Reference< XInterface >( static_cast< OWeakObject* >(this) );
}
diff --git a/vcl/unx/generic/dtrans/X11_clipboard.hxx b/vcl/unx/generic/dtrans/X11_clipboard.hxx
index d2fe1cd1a481..348acfaf4b65 100644
--- a/vcl/unx/generic/dtrans/X11_clipboard.hxx
+++ b/vcl/unx/generic/dtrans/X11_clipboard.hxx
@@ -99,7 +99,7 @@ namespace x11 {
virtual css::uno::Reference< css::datatransfer::XTransferable > getTransferable() override;
virtual void clearTransferable() override;
virtual void fireContentsChanged() override;
- virtual css::uno::Reference< css::uno::XInterface > getReference() throw() override;
+ virtual css::uno::Reference< css::uno::XInterface > getReference() noexcept override;
};
css::uno::Sequence< OUString > X11Clipboard_getSupportedServiceNames();
diff --git a/vcl/unx/generic/dtrans/X11_droptarget.cxx b/vcl/unx/generic/dtrans/X11_droptarget.cxx
index 745e695a7a14..7ce291902112 100644
--- a/vcl/unx/generic/dtrans/X11_droptarget.cxx
+++ b/vcl/unx/generic/dtrans/X11_droptarget.cxx
@@ -110,7 +110,7 @@ void DropTarget::setDefaultActions( sal_Int8 actions )
m_nDefaultActions = actions;
}
-void DropTarget::drop( const DropTargetDropEvent& dtde ) throw()
+void DropTarget::drop( const DropTargetDropEvent& dtde ) noexcept
{
osl::ClearableGuard< ::osl::Mutex > aGuard( m_aMutex );
std::vector< Reference< XDropTargetListener > > aListeners( m_aListeners );
@@ -122,7 +122,7 @@ void DropTarget::drop( const DropTargetDropEvent& dtde ) throw()
}
}
-void DropTarget::dragEnter( const DropTargetDragEnterEvent& dtde ) throw()
+void DropTarget::dragEnter( const DropTargetDragEnterEvent& dtde ) noexcept
{
osl::ClearableGuard< ::osl::Mutex > aGuard( m_aMutex );
std::vector< Reference< XDropTargetListener > > aListeners( m_aListeners );
@@ -134,7 +134,7 @@ void DropTarget::dragEnter( const DropTargetDragEnterEvent& dtde ) throw()
}
}
-void DropTarget::dragExit( const DropTargetEvent& dte ) throw()
+void DropTarget::dragExit( const DropTargetEvent& dte ) noexcept
{
osl::ClearableGuard< ::osl::Mutex > aGuard( m_aMutex );
std::vector< Reference< XDropTargetListener > > aListeners( m_aListeners );
@@ -146,7 +146,7 @@ void DropTarget::dragExit( const DropTargetEvent& dte ) throw()
}
}
-void DropTarget::dragOver( const DropTargetDragEvent& dtde ) throw()
+void DropTarget::dragOver( const DropTargetDragEvent& dtde ) noexcept
{
osl::ClearableGuard< ::osl::Mutex > aGuard( m_aMutex );
std::vector< Reference< XDropTargetListener > > aListeners( m_aListeners );
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index b9b96f9e514d..8d3298aead3a 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -3817,7 +3817,7 @@ void SelectionManager::run( void* pThis )
#endif
}
-void SelectionManager::shutdown() throw()
+void SelectionManager::shutdown() noexcept
{
#if OSL_DEBUG_LEVEL > 1
SAL_INFO("vcl.unx.dtrans", "SelectionManager got app termination event.");
@@ -4057,21 +4057,21 @@ void SelectionManager::deregisterDropTarget( ::Window aWindow )
* SelectionAdaptor
*/
-css::uno::Reference< XTransferable > SelectionManager::getTransferable() throw()
+css::uno::Reference< XTransferable > SelectionManager::getTransferable() noexcept
{
return m_xDragSourceTransferable;
}
-void SelectionManager::clearTransferable() throw()
+void SelectionManager::clearTransferable() noexcept
{
m_xDragSourceTransferable.clear();
}
-void SelectionManager::fireContentsChanged() throw()
+void SelectionManager::fireContentsChanged() noexcept
{
}
-css::uno::Reference< XInterface > SelectionManager::getReference() throw()
+css::uno::Reference< XInterface > SelectionManager::getReference() noexcept
{
return css::uno::Reference< XInterface >( static_cast<OWeakObject*>(this) );
}
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index f002440f00bc..c0ae171c621e 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -82,10 +82,10 @@ namespace x11 {
virtual ~DropTarget() override;
// convenience functions that loop over listeners
- void dragEnter( const css::datatransfer::dnd::DropTargetDragEnterEvent& dtde ) throw();
- void dragExit( const css::datatransfer::dnd::DropTargetEvent& dte ) throw();
- void dragOver( const css::datatransfer::dnd::DropTargetDragEvent& dtde ) throw();
- void drop( const css::datatransfer::dnd::DropTargetDropEvent& dtde ) throw();
+ void dragEnter( const css::datatransfer::dnd::DropTargetDragEnterEvent& dtde ) noexcept;
+ void dragExit( const css::datatransfer::dnd::DropTargetEvent& dte ) noexcept;
+ void dragOver( const css::datatransfer::dnd::DropTargetDragEvent& dtde ) noexcept;
+ void drop( const css::datatransfer::dnd::DropTargetDropEvent& dtde ) noexcept;
// XInitialization
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& args ) override;
@@ -451,7 +451,7 @@ namespace x11 {
void setCursor( sal_Int32 cursor, ::Window aDropXLIB_Window );
void transferablesFlavorsChanged();
- void shutdown() throw();
+ void shutdown() noexcept;
// XInitialization
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& arguments ) override;
@@ -470,10 +470,10 @@ namespace x11 {
) override;
// SelectionAdaptor for XdndSelection Drag (we are drag source)
- virtual css::uno::Reference< css::datatransfer::XTransferable > getTransferable() throw() override;
- virtual void clearTransferable() throw() override;
- virtual void fireContentsChanged() throw() override;
- virtual css::uno::Reference< css::uno::XInterface > getReference() throw() override;
+ virtual css::uno::Reference< css::datatransfer::XTransferable > getTransferable() noexcept override;
+ virtual void clearTransferable() noexcept override;
+ virtual void fireContentsChanged() noexcept override;
+ virtual css::uno::Reference< css::uno::XInterface > getReference() noexcept override;
// XEventListener
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;