diff options
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r-- | sd/source/ui/inc/AccessibleDocumentViewBase.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/AccessibleDrawDocumentView.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/DrawController.hxx | 18 | ||||
-rw-r--r-- | sd/source/ui/inc/SdUnoDrawView.hxx | 14 | ||||
-rw-r--r-- | sd/source/ui/inc/SdUnoOutlineView.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/SdUnoSlideView.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/WindowUpdater.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/ConfigurationController.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/ModuleController.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/Pane.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/sdtreelb.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/sdxfer.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/unomodel.hxx | 20 | ||||
-rw-r--r-- | sd/source/ui/inc/unopage.hxx | 26 | ||||
-rw-r--r-- | sd/source/ui/inc/unosrch.hxx | 20 |
15 files changed, 64 insertions, 64 deletions
diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx index 9fd7f02d92fc..0db25b689cff 100644 --- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx +++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx @@ -168,11 +168,11 @@ public: virtual void SAL_CALL acquire() - throw () override; + noexcept override; virtual void SAL_CALL release() - throw () override; + noexcept override; //===== XServiceInfo ==================================================== diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx index 376aac51342c..202edd0ea88d 100644 --- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx +++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx @@ -85,11 +85,11 @@ public: virtual void SAL_CALL acquire() - throw () override; + noexcept override; virtual void SAL_CALL release() - throw () override; + noexcept override; //===== XAccessibleGroupPosition ========================================= virtual css::uno::Sequence< sal_Int32 > SAL_CALL diff --git a/sd/source/ui/inc/DrawController.hxx b/sd/source/ui/inc/DrawController.hxx index fe8d52466ba9..2c15e26eb601 100644 --- a/sd/source/ui/inc/DrawController.hxx +++ b/sd/source/ui/inc/DrawController.hxx @@ -96,9 +96,9 @@ public: /** Create a new DrawController object for the given ViewShellBase. */ - explicit DrawController (ViewShellBase& rBase) throw(); + explicit DrawController (ViewShellBase& rBase) noexcept; - virtual ~DrawController() throw() override; + virtual ~DrawController() noexcept override; /** Replace the currently used sub controller with the given one. This new sub controller is used from now on for the view (that is the @@ -115,33 +115,33 @@ public: /** Call this method when the VisArea has changed. */ - void FireVisAreaChanged (const ::tools::Rectangle& rVisArea) throw(); + void FireVisAreaChanged (const ::tools::Rectangle& rVisArea) noexcept; /** Call this method when the selection has changed. */ - void FireSelectionChangeListener() throw(); + void FireSelectionChangeListener() noexcept; /** Call this method when the edit mode has changed. */ - void FireChangeEditMode (bool bMasterPageMode) throw(); + void FireChangeEditMode (bool bMasterPageMode) noexcept; /** Call this method when the layer mode has changed. */ - void FireChangeLayerMode (bool bLayerMode) throw(); + void FireChangeLayerMode (bool bLayerMode) noexcept; /** Call this method when there is a new current page. */ - void FireSwitchCurrentPage (SdPage* pCurrentPage) throw(); + void FireSwitchCurrentPage (SdPage* pCurrentPage) noexcept; /** Broadcast a sidebar context change that is caused by a view switch. */ void BroadcastContextChange() const; void NotifyAccUpdate(); - void fireChangeLayer( css::uno::Reference< css::drawing::XLayer>* pCurrentLayer ) throw(); + void fireChangeLayer( css::uno::Reference< css::drawing::XLayer>* pCurrentLayer ) noexcept; // change the parameter to int //void fireSwitchCurrentPage( String pageName) throw(); - void fireSwitchCurrentPage( sal_Int32 pageIndex) throw(); + void fireSwitchCurrentPage( sal_Int32 pageIndex) noexcept; bool IsDisposing() const { return mbDisposing; } /** Return a pointer to the ViewShellBase object that the DrawController diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx index f40600f007a5..6b62e4cb2772 100644 --- a/sd/source/ui/inc/SdUnoDrawView.hxx +++ b/sd/source/ui/inc/SdUnoDrawView.hxx @@ -39,8 +39,8 @@ class SdUnoDrawView final public: SdUnoDrawView ( DrawViewShell& rViewShell, - View& rView) throw(); - virtual ~SdUnoDrawView() throw() override; + View& rView) noexcept; + virtual ~SdUnoDrawView() noexcept override; // XSelectionSupplier @@ -84,10 +84,10 @@ public: css::uno::Reference< css::drawing::XLayer> getActiveLayer() const; private: - bool getMasterPageMode() const throw(); - void setMasterPageMode(bool MasterPageMode_) throw(); - bool getLayerMode() const throw(); - void setLayerMode(bool LayerMode_) throw(); + bool getMasterPageMode() const noexcept; + void setMasterPageMode(bool MasterPageMode_) noexcept; + bool getLayerMode() const noexcept; + void setLayerMode(bool LayerMode_) noexcept; /** Make the specified object the active layer. @param rxLayer The new layer object. @@ -105,7 +105,7 @@ private: css::uno::Any getDrawViewMode() const; - SdXImpressDocument* GetModel() const throw(); + SdXImpressDocument* GetModel() const noexcept; DrawViewShell& mrDrawViewShell; sd::View& mrView; diff --git a/sd/source/ui/inc/SdUnoOutlineView.hxx b/sd/source/ui/inc/SdUnoOutlineView.hxx index 2ebc56eab62f..ce51a5916486 100644 --- a/sd/source/ui/inc/SdUnoOutlineView.hxx +++ b/sd/source/ui/inc/SdUnoOutlineView.hxx @@ -34,8 +34,8 @@ class SdUnoOutlineView { public: SdUnoOutlineView ( - OutlineViewShell& rViewShell) throw(); - virtual ~SdUnoOutlineView() throw() override; + OutlineViewShell& rViewShell) noexcept; + virtual ~SdUnoOutlineView() noexcept override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/SdUnoSlideView.hxx b/sd/source/ui/inc/SdUnoSlideView.hxx index 651f57401532..ce45c447cb99 100644 --- a/sd/source/ui/inc/SdUnoSlideView.hxx +++ b/sd/source/ui/inc/SdUnoSlideView.hxx @@ -36,8 +36,8 @@ class SdUnoSlideView { public: SdUnoSlideView ( - slidesorter::SlideSorter& rSlideSorter) throw(); - virtual ~SdUnoSlideView() throw() override; + slidesorter::SlideSorter& rSlideSorter) noexcept; + virtual ~SdUnoSlideView() noexcept override; // XSelectionSupplier diff --git a/sd/source/ui/inc/WindowUpdater.hxx b/sd/source/ui/inc/WindowUpdater.hxx index 6f6bca8582e4..16549338fc75 100644 --- a/sd/source/ui/inc/WindowUpdater.hxx +++ b/sd/source/ui/inc/WindowUpdater.hxx @@ -52,7 +52,7 @@ class WindowUpdater : public utl::ConfigurationListener { public: explicit WindowUpdater(); - virtual ~WindowUpdater() throw() override; + virtual ~WindowUpdater() noexcept override; /** Add the given device to the list of devices which will be updated when one of the monitored values changes. diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx index a8f5be5ae35d..da7c45d53c95 100644 --- a/sd/source/ui/inc/framework/ConfigurationController.hxx +++ b/sd/source/ui/inc/framework/ConfigurationController.hxx @@ -52,8 +52,8 @@ class ConfigurationController public ConfigurationControllerInterfaceBase { public: - ConfigurationController() throw(); - virtual ~ConfigurationController() throw() override; + ConfigurationController() noexcept; + virtual ~ConfigurationController() noexcept override; ConfigurationController(const ConfigurationController&) = delete; ConfigurationController& operator=(const ConfigurationController&) = delete; diff --git a/sd/source/ui/inc/framework/ModuleController.hxx b/sd/source/ui/inc/framework/ModuleController.hxx index a33ef33b8092..260176f9e513 100644 --- a/sd/source/ui/inc/framework/ModuleController.hxx +++ b/sd/source/ui/inc/framework/ModuleController.hxx @@ -90,7 +90,7 @@ private: ModuleController ( const css::uno::Reference<css::uno::XComponentContext>& rxContext); ModuleController (const ModuleController&) = delete; - virtual ~ModuleController() throw() override; + virtual ~ModuleController() noexcept override; /** Called for every entry in the ResourceFactories configuration entry. */ diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx index 6a9241f0df5c..5b1c592a6c33 100644 --- a/sd/source/ui/inc/framework/Pane.hxx +++ b/sd/source/ui/inc/framework/Pane.hxx @@ -65,7 +65,7 @@ public: Pane ( const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId, vcl::Window* pWindow) - throw (); + noexcept; virtual ~Pane() override; virtual void SAL_CALL disposing() override; diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx index e85f39b11a86..e57bcb3a367e 100644 --- a/sd/source/ui/inc/sdtreelb.hxx +++ b/sd/source/ui/inc/sdtreelb.hxx @@ -361,7 +361,7 @@ public: NavigatorDragType GetDragType() const { return meDragType;} static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId(); - static SdPageObjsTransferable* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) throw(); + static SdPageObjsTransferable* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) noexcept; /** Return a temporary transferable data flavor that is used internally in the navigator for reordering entries. Its lifetime ends with the office application. diff --git a/sd/source/ui/inc/sdxfer.hxx b/sd/source/ui/inc/sdxfer.hxx index 9ff584a4935b..1c95efb35646 100644 --- a/sd/source/ui/inc/sdxfer.hxx +++ b/sd/source/ui/inc/sdxfer.hxx @@ -71,7 +71,7 @@ public: bool SetTableRTF( SdDrawDocument* ); static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId(); - static SdTransferable* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) throw(); + static SdTransferable* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) noexcept; // SfxListener virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx index f5a02cbee597..8cfa5a81d06a 100644 --- a/sd/source/ui/inc/unomodel.hxx +++ b/sd/source/ui/inc/unomodel.hxx @@ -128,7 +128,7 @@ protected: public: SdXImpressDocument(::sd::DrawDocShell* pShell, bool bClipBoard); SdXImpressDocument(SdDrawDocument* pDoc, bool bClipBoard); - virtual ~SdXImpressDocument() throw() override; + virtual ~SdXImpressDocument() noexcept override; static rtl::Reference< SdXImpressDocument > GetModel( SdDrawDocument const & rDoc ); @@ -140,7 +140,7 @@ public: SdDrawDocument* GetDoc() const { return mpDoc; } bool IsImpressDocument() const { return mbImpressDoc; } - void SetModified() throw(); + void SetModified() noexcept; css::uno::Reference< css::i18n::XForbiddenCharacters > getForbiddenCharsTable(); @@ -151,8 +151,8 @@ public: // XInterface 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; // XModel virtual void SAL_CALL lockControllers( ) override; @@ -298,8 +298,8 @@ private: SdXImpressDocument* mpModel; public: - SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw(); - virtual ~SdDrawPagesAccess() throw() override; + SdDrawPagesAccess( SdXImpressDocument& rMyModel ) noexcept; + virtual ~SdDrawPagesAccess() noexcept override; // XDrawPages virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) override; @@ -339,8 +339,8 @@ private: SdXImpressDocument* mpModel; public: - SdMasterPagesAccess( SdXImpressDocument& rMyModel ) throw(); - virtual ~SdMasterPagesAccess() throw() override; + SdMasterPagesAccess( SdXImpressDocument& rMyModel ) noexcept; + virtual ~SdMasterPagesAccess() noexcept override; // XDrawPages virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) override; @@ -376,8 +376,8 @@ private: SdXImpressDocument* mpModel; public: - SdDocLinkTargets( SdXImpressDocument& rMyModel ) throw(); - virtual ~SdDocLinkTargets() throw() override; + SdDocLinkTargets( SdXImpressDocument& rMyModel ) noexcept; + virtual ~SdDocLinkTargets() noexcept override; // XNameAccess virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) override; diff --git a/sd/source/ui/inc/unopage.hxx b/sd/source/ui/inc/unopage.hxx index 85f7260a3e9e..bfebde089100 100644 --- a/sd/source/ui/inc/unopage.hxx +++ b/sd/source/ui/inc/unopage.hxx @@ -82,7 +82,7 @@ protected: bool IsImpressDocument() const; - virtual void disposing() throw() override; + virtual void disposing() noexcept override; css::uno::Any getNavigationOrder(); void setNavigationOrder( const css::uno::Any& rValue ); @@ -92,7 +92,7 @@ protected: public: SdGenericDrawPage(SdXImpressDocument* pModel, SdPage* pInPage, const SvxItemPropertySet* pSet); - virtual ~SdGenericDrawPage() throw() override; + virtual ~SdGenericDrawPage() noexcept override; // intern bool isValid() const { return (SvxDrawPage::mpPage != nullptr) && (mpModel != nullptr); } @@ -100,7 +100,7 @@ public: SdPage* GetPage() const { return static_cast<SdPage*>(SvxDrawPage::mpPage); } SdXImpressDocument* GetModel() const; - static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); + static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept; virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; // this is called whenever a SdrObject must be created for an empty api shape wrapper @@ -111,7 +111,7 @@ public: // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL release() noexcept override; // XShapeCombiner virtual css::uno::Reference< css::drawing::XShape > SAL_CALL combine( const css::uno::Reference< css::drawing::XShapes >& xShapes ) override; @@ -168,7 +168,7 @@ protected: virtual void getBackground( css::uno::Any& rValue ) override; public: SdDrawPage(SdXImpressDocument* pModel, SdPage* pInPage); - virtual ~SdDrawPage() throw() override; + virtual ~SdDrawPage() noexcept override; UNO3_GETIMPLEMENTATION_DECL( SdDrawPage ) @@ -178,8 +178,8 @@ public: // XInterface 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; // XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; @@ -229,14 +229,14 @@ protected: public: SdMasterPage(SdXImpressDocument* pModel, SdPage* pInPage); - virtual ~SdMasterPage() throw() override; + virtual ~SdMasterPage() noexcept override; UNO3_GETIMPLEMENTATION_DECL(SdMasterPage) // XInterface 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; // XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; @@ -279,11 +279,11 @@ private: SdGenericDrawPage* mpUnoPage; public: - SdPageLinkTargets( SdGenericDrawPage* pUnoPage ) throw(); - virtual ~SdPageLinkTargets() throw() override; + SdPageLinkTargets( SdGenericDrawPage* pUnoPage ) noexcept; + virtual ~SdPageLinkTargets() noexcept override; // intern - SdrObject* FindObject( std::u16string_view rName ) const throw(); + SdrObject* FindObject( std::u16string_view rName ) const noexcept; // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; diff --git a/sd/source/ui/inc/unosrch.hxx b/sd/source/ui/inc/unosrch.hxx index 32e315692101..2f1df481e9ba 100644 --- a/sd/source/ui/inc/unosrch.hxx +++ b/sd/source/ui/inc/unosrch.hxx @@ -43,17 +43,17 @@ protected: css::drawing::XDrawPage* mpPage; css::uno::Reference< css::text::XTextRange > Search( const css::uno::Reference< css::text::XTextRange >& xText, SdUnoSearchReplaceDescriptor* pDescr ); - bool Search( const OUString& rText, sal_Int32& nStartPos, sal_Int32& nEndPos, SdUnoSearchReplaceDescriptor* pDescr ) throw(); - static ESelection GetSelection( const css::uno::Reference< css::text::XTextRange >& xTextRange ) throw(); - static css::uno::Reference< css::drawing::XShape > GetShape( const css::uno::Reference< css::text::XTextRange >& xTextRange ) throw(); - css::uno::Reference< css::drawing::XShape > GetNextShape( const css::uno::Reference< css::container::XIndexAccess >& xShapes, const css::uno::Reference< css::drawing::XShape >& xCurrentShape ) throw(); - css::uno::Reference< css::drawing::XShape > GetCurrentShape() const throw(); + bool Search( const OUString& rText, sal_Int32& nStartPos, sal_Int32& nEndPos, SdUnoSearchReplaceDescriptor* pDescr ) noexcept; + static ESelection GetSelection( const css::uno::Reference< css::text::XTextRange >& xTextRange ) noexcept; + static css::uno::Reference< css::drawing::XShape > GetShape( const css::uno::Reference< css::text::XTextRange >& xTextRange ) noexcept; + css::uno::Reference< css::drawing::XShape > GetNextShape( const css::uno::Reference< css::container::XIndexAccess >& xShapes, const css::uno::Reference< css::drawing::XShape >& xCurrentShape ) noexcept; + css::uno::Reference< css::drawing::XShape > GetCurrentShape() const noexcept; public: // danger, this c'tor is only usable if the given shape or page is derived // from this class!!! - SdUnoSearchReplaceShape( css::drawing::XDrawPage* xPage ) throw(); - virtual ~SdUnoSearchReplaceShape() throw(); + SdUnoSearchReplaceShape( css::drawing::XDrawPage* xPage ) noexcept; + virtual ~SdUnoSearchReplaceShape() noexcept; // XReplaceable virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL createReplaceDescriptor( ) override; @@ -86,7 +86,7 @@ protected: public: /// @throws css::uno::RuntimeException SdUnoSearchReplaceDescriptor(); - virtual ~SdUnoSearchReplaceDescriptor() throw() override; + virtual ~SdUnoSearchReplaceDescriptor() noexcept override; bool IsCaseSensitive() const { return mbCaseSensitive; } bool IsWords() const { return mbWords; } @@ -120,8 +120,8 @@ class SdUnoFindAllAccess final : public ::cppu::WeakImplHelper< css::container:: css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > maSequence; public: - SdUnoFindAllAccess( css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > const & rSequence ) throw(); - virtual ~SdUnoFindAllAccess() throw() override; + SdUnoFindAllAccess( css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > const & rSequence ) noexcept; + virtual ~SdUnoFindAllAccess() noexcept override; // XIndexAccess virtual sal_Int32 SAL_CALL getCount() override ; |