diff options
Diffstat (limited to 'sc/source/ui')
25 files changed, 66 insertions, 66 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx index 24ba0501255e..5d7e1d2c612c 100644 --- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx @@ -173,13 +173,13 @@ uno::Any SAL_CALL ScAccessibleCellBase::queryInterface( uno::Type const & rType } void SAL_CALL ScAccessibleCellBase::acquire() - throw () + noexcept { ScAccessibleContextBase::acquire(); } void SAL_CALL ScAccessibleCellBase::release() - throw () + noexcept { ScAccessibleContextBase::release(); } diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx index f775a1137459..b1d9cf3dfab6 100644 --- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx @@ -107,13 +107,13 @@ uno::Any SAL_CALL ScAccessibleContextBase::queryInterface( uno::Type const & rTy } void SAL_CALL ScAccessibleContextBase::acquire() - throw () + noexcept { ScAccessibleContextBaseWeakImpl::acquire(); } void SAL_CALL ScAccessibleContextBase::release() - throw () + noexcept { ScAccessibleContextBaseWeakImpl::release(); } diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx index 2d16ba97311b..8bd4cef661bd 100644 --- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx +++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx @@ -621,12 +621,12 @@ Any SAL_CALL ScAccessibleCsvRuler::queryInterface( const css::uno::Type& rType ) return aAny.hasValue() ? aAny : ScAccessibleCsvControl::queryInterface( rType ); } -void SAL_CALL ScAccessibleCsvRuler::acquire() throw () +void SAL_CALL ScAccessibleCsvRuler::acquire() noexcept { ScAccessibleCsvControl::acquire(); } -void SAL_CALL ScAccessibleCsvRuler::release() throw () +void SAL_CALL ScAccessibleCsvRuler::release() noexcept { ScAccessibleCsvControl::release(); } @@ -1109,12 +1109,12 @@ Any SAL_CALL ScAccessibleCsvGrid::queryInterface( const css::uno::Type& rType ) return aAny.hasValue() ? aAny : ScAccessibleCsvControl::queryInterface( rType ); } -void SAL_CALL ScAccessibleCsvGrid::acquire() throw () +void SAL_CALL ScAccessibleCsvGrid::acquire() noexcept { ScAccessibleCsvControl::acquire(); } -void SAL_CALL ScAccessibleCsvGrid::release() throw () +void SAL_CALL ScAccessibleCsvGrid::release() noexcept { ScAccessibleCsvControl::release(); } diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index 2fcd982ae3a2..23f0d58e36b7 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -1615,13 +1615,13 @@ uno::Any SAL_CALL ScAccessibleDocument::queryInterface( uno::Type const & rType } void SAL_CALL ScAccessibleDocument::acquire() - throw () + noexcept { ScAccessibleContextBase::acquire(); } void SAL_CALL ScAccessibleDocument::release() - throw () + noexcept { ScAccessibleContextBase::release(); } diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx index f9e792298c80..2f0c28998723 100644 --- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx +++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx @@ -156,13 +156,13 @@ css::uno::Any SAL_CALL } void SAL_CALL ScAccessibleEditObject::acquire() - throw () + noexcept { ScAccessibleContextBase::acquire (); } void SAL_CALL ScAccessibleEditObject::release() - throw () + noexcept { ScAccessibleContextBase::release (); } diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx index c99fb36e8864..4e57e1c2a42a 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx @@ -115,13 +115,13 @@ uno::Any SAL_CALL ScAccessiblePreviewHeaderCell::queryInterface( uno::Type const } void SAL_CALL ScAccessiblePreviewHeaderCell::acquire() - throw () + noexcept { ScAccessibleContextBase::acquire(); } void SAL_CALL ScAccessiblePreviewHeaderCell::release() - throw () + noexcept { ScAccessibleContextBase::release(); } diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx index 7eea5d79ebc2..6c38d4d81fba 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx @@ -110,13 +110,13 @@ uno::Any SAL_CALL ScAccessiblePreviewTable::queryInterface( uno::Type const & rT } void SAL_CALL ScAccessiblePreviewTable::acquire() - throw () + noexcept { ScAccessibleContextBase::acquire(); } void SAL_CALL ScAccessiblePreviewTable::release() - throw () + noexcept { ScAccessibleContextBase::release(); } diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx index a695f914de02..5877c1e36630 100644 --- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx @@ -75,13 +75,13 @@ uno::Any SAL_CALL ScAccessibleTableBase::queryInterface( uno::Type const & rType } void SAL_CALL ScAccessibleTableBase::acquire() - throw () + noexcept { ScAccessibleContextBase::acquire(); } void SAL_CALL ScAccessibleTableBase::release() - throw () + noexcept { ScAccessibleContextBase::release(); } diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx index b7226e31e9a3..6461501b9843 100644 --- a/sc/source/ui/inc/AccessibleCellBase.hxx +++ b/sc/source/ui/inc/AccessibleCellBase.hxx @@ -49,9 +49,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) override; - virtual void SAL_CALL acquire() throw () override; + virtual void SAL_CALL acquire() noexcept override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL release() noexcept override; ///===== XAccessibleComponent ============================================ diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx index 01bfb2f5c573..fe71688b3cd6 100644 --- a/sc/source/ui/inc/AccessibleContextBase.hxx +++ b/sc/source/ui/inc/AccessibleContextBase.hxx @@ -84,9 +84,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) override; - virtual void SAL_CALL acquire() throw () override; + virtual void SAL_CALL acquire() noexcept override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL release() noexcept override; ///===== XAccessible ===================================================== diff --git a/sc/source/ui/inc/AccessibleCsvControl.hxx b/sc/source/ui/inc/AccessibleCsvControl.hxx index 95ec20fb4ff3..10a65fd9e05f 100644 --- a/sc/source/ui/inc/AccessibleCsvControl.hxx +++ b/sc/source/ui/inc/AccessibleCsvControl.hxx @@ -362,9 +362,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override; - virtual void SAL_CALL acquire() throw() override; + virtual void SAL_CALL acquire() noexcept override; - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider ---------------------------------------------------------- diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx index e2c620a5e5a0..04a1eec44784 100644 --- a/sc/source/ui/inc/AccessibleDocument.hxx +++ b/sc/source/ui/inc/AccessibleDocument.hxx @@ -83,9 +83,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) override; - virtual void SAL_CALL acquire() throw () override; + virtual void SAL_CALL acquire() noexcept override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL release() noexcept override; ///===== XAccessibleComponent ============================================ diff --git a/sc/source/ui/inc/AccessibleEditObject.hxx b/sc/source/ui/inc/AccessibleEditObject.hxx index 6b734062dca8..eb672e3102d7 100644 --- a/sc/source/ui/inc/AccessibleEditObject.hxx +++ b/sc/source/ui/inc/AccessibleEditObject.hxx @@ -82,9 +82,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) override; - virtual void SAL_CALL acquire() throw () override; + virtual void SAL_CALL acquire() noexcept override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL release() noexcept override; ///===== XAccessibleComponent ============================================ virtual css::uno::Reference< css::accessibility::XAccessible > diff --git a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx index 08fb125be012..bd762c4ab096 100644 --- a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx @@ -62,9 +62,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) override; - virtual void SAL_CALL acquire() throw () override; + virtual void SAL_CALL acquire() noexcept override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL release() noexcept override; //===== XAccessibleValue ================================================ diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index 25bae420c81f..555828801e2f 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -55,9 +55,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) override; - virtual void SAL_CALL acquire() throw () override; + virtual void SAL_CALL acquire() noexcept override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL release() noexcept override; //===== XAccessibleTable ================================================ diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx index 7bde20e989d1..a9b56ff686fa 100644 --- a/sc/source/ui/inc/AccessibleTableBase.hxx +++ b/sc/source/ui/inc/AccessibleTableBase.hxx @@ -58,9 +58,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) override; - virtual void SAL_CALL acquire() throw () override; + virtual void SAL_CALL acquire() noexcept override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL release() noexcept override; ///===== XAccessibleTable ================================================ diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 7cf078fde6c5..811a9f19dc05 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -4029,12 +4029,12 @@ uno::Any SAL_CALL ScCellRangesObj::queryInterface( const uno::Type& rType ) return ScCellRangesBase::queryInterface( rType ); } -void SAL_CALL ScCellRangesObj::acquire() throw() +void SAL_CALL ScCellRangesObj::acquire() noexcept { ScCellRangesBase::acquire(); } -void SAL_CALL ScCellRangesObj::release() throw() +void SAL_CALL ScCellRangesObj::release() noexcept { ScCellRangesBase::release(); } @@ -4616,12 +4616,12 @@ uno::Any SAL_CALL ScCellRangeObj::queryInterface( const uno::Type& rType ) return ScCellRangesBase::queryInterface( rType ); } -void SAL_CALL ScCellRangeObj::acquire() throw() +void SAL_CALL ScCellRangeObj::acquire() noexcept { ScCellRangesBase::acquire(); } -void SAL_CALL ScCellRangeObj::release() throw() +void SAL_CALL ScCellRangeObj::release() noexcept { ScCellRangesBase::release(); } @@ -5848,12 +5848,12 @@ uno::Any SAL_CALL ScCellObj::queryInterface( const uno::Type& rType ) return ScCellRangeObj::queryInterface( rType ); } -void SAL_CALL ScCellObj::acquire() throw() +void SAL_CALL ScCellObj::acquire() noexcept { ScCellRangeObj::acquire(); } -void SAL_CALL ScCellObj::release() throw() +void SAL_CALL ScCellObj::release() noexcept { ScCellRangeObj::release(); } @@ -6610,12 +6610,12 @@ uno::Any SAL_CALL ScTableSheetObj::queryInterface( const uno::Type& rType ) return ScCellRangeObj::queryInterface( rType ); } -void SAL_CALL ScTableSheetObj::acquire() throw() +void SAL_CALL ScTableSheetObj::acquire() noexcept { ScCellRangeObj::acquire(); } -void SAL_CALL ScTableSheetObj::release() throw() +void SAL_CALL ScTableSheetObj::release() noexcept { ScCellRangeObj::release(); } @@ -8328,12 +8328,12 @@ uno::Any SAL_CALL ScTableColumnObj::queryInterface( const uno::Type& rType ) return ScCellRangeObj::queryInterface( rType ); } -void SAL_CALL ScTableColumnObj::acquire() throw() +void SAL_CALL ScTableColumnObj::acquire() noexcept { ScCellRangeObj::acquire(); } -void SAL_CALL ScTableColumnObj::release() throw() +void SAL_CALL ScTableColumnObj::release() noexcept { ScCellRangeObj::release(); } diff --git a/sc/source/ui/unoobj/cursuno.cxx b/sc/source/ui/unoobj/cursuno.cxx index 7928fceb0dbb..ea726a2baed0 100644 --- a/sc/source/ui/unoobj/cursuno.cxx +++ b/sc/source/ui/unoobj/cursuno.cxx @@ -50,12 +50,12 @@ uno::Any SAL_CALL ScCellCursorObj::queryInterface( const uno::Type& rType ) return ScCellRangeObj::queryInterface( rType ); } -void SAL_CALL ScCellCursorObj::acquire() throw() +void SAL_CALL ScCellCursorObj::acquire() noexcept { ScCellRangeObj::acquire(); } -void SAL_CALL ScCellCursorObj::release() throw() +void SAL_CALL ScCellCursorObj::release() noexcept { ScCellRangeObj::release(); } diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index e65a6e8b559b..b7d3b9f33290 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -1016,12 +1016,12 @@ Any SAL_CALL ScDataPilotTableObj::queryInterface( const uno::Type& rType ) return ScDataPilotDescriptorBase::queryInterface( rType ); } -void SAL_CALL ScDataPilotTableObj::acquire() throw() +void SAL_CALL ScDataPilotTableObj::acquire() noexcept { ScDataPilotDescriptorBase::acquire(); } -void SAL_CALL ScDataPilotTableObj::release() throw() +void SAL_CALL ScDataPilotTableObj::release() noexcept { ScDataPilotDescriptorBase::release(); } diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 1729c2ca1cdb..3bade0c6164a 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1245,12 +1245,12 @@ uno::Any SAL_CALL ScModelObj::queryInterface( const uno::Type& rType ) return aRet; } -void SAL_CALL ScModelObj::acquire() throw() +void SAL_CALL ScModelObj::acquire() noexcept { SfxBaseModel::acquire(); } -void SAL_CALL ScModelObj::release() throw() +void SAL_CALL ScModelObj::release() noexcept { SfxBaseModel::release(); } diff --git a/sc/source/ui/unoobj/drdefuno.cxx b/sc/source/ui/unoobj/drdefuno.cxx index 8bff0a41f706..7ad5dc28ecb7 100644 --- a/sc/source/ui/unoobj/drdefuno.cxx +++ b/sc/source/ui/unoobj/drdefuno.cxx @@ -35,7 +35,7 @@ ScDrawDefaultsObj::ScDrawDefaultsObj(ScDocShell* pDocSh) : pDocShell->GetDocument().AddUnoObject(*this); } -ScDrawDefaultsObj::~ScDrawDefaultsObj() throw () +ScDrawDefaultsObj::~ScDrawDefaultsObj() noexcept { SolarMutexGuard g; @@ -51,7 +51,7 @@ void ScDrawDefaultsObj::Notify( SfxBroadcaster&, const SfxHint& rHint ) } } -SfxItemPool* ScDrawDefaultsObj::getModelPool( bool bReadOnly ) throw() +SfxItemPool* ScDrawDefaultsObj::getModelPool( bool bReadOnly ) noexcept { SfxItemPool* pRet = nullptr; diff --git a/sc/source/ui/unoobj/pageuno.cxx b/sc/source/ui/unoobj/pageuno.cxx index 5de45a583953..796d16e12e06 100644 --- a/sc/source/ui/unoobj/pageuno.cxx +++ b/sc/source/ui/unoobj/pageuno.cxx @@ -29,7 +29,7 @@ ScPageObj::ScPageObj( SdrPage* pPage ) : { } -ScPageObj::~ScPageObj() throw() +ScPageObj::~ScPageObj() noexcept { } diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx index 7f26e409866c..bce996f1ed59 100644 --- a/sc/source/ui/unoobj/shapeuno.cxx +++ b/sc/source/ui/unoobj/shapeuno.cxx @@ -139,12 +139,12 @@ uno::Any SAL_CALL ScShapeObj::queryInterface( const uno::Type& rType ) return aRet; } -void SAL_CALL ScShapeObj::acquire() throw() +void SAL_CALL ScShapeObj::acquire() noexcept { OWeakObject::acquire(); } -void SAL_CALL ScShapeObj::release() throw() +void SAL_CALL ScShapeObj::release() noexcept { OWeakObject::release(); } @@ -1304,7 +1304,7 @@ uno::Sequence<sal_Int8> SAL_CALL ScShapeObj::getImplementationId() return css::uno::Sequence<sal_Int8>(); } -SdrObject* ScShapeObj::GetSdrObject() const throw() +SdrObject* ScShapeObj::GetSdrObject() const noexcept { if(mxShapeAgg.is()) return SdrObject::getSdrObjectFromXShape( mxShapeAgg ); diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index 346e784f0836..d04a2647db76 100644 --- a/sc/source/ui/unoobj/textuno.cxx +++ b/sc/source/ui/unoobj/textuno.cxx @@ -544,7 +544,7 @@ ScCellTextCursor::ScCellTextCursor(ScCellObj& rText) : { } -ScCellTextCursor::~ScCellTextCursor() throw() +ScCellTextCursor::~ScCellTextCursor() noexcept { } @@ -596,7 +596,7 @@ ScHeaderFooterTextCursor::ScHeaderFooterTextCursor(rtl::Reference<ScHeaderFooter rTextObj( rText ) {} -ScHeaderFooterTextCursor::~ScHeaderFooterTextCursor() throw() {}; +ScHeaderFooterTextCursor::~ScHeaderFooterTextCursor() noexcept {}; // SvxUnoTextCursor methods reimplemented here to return the right objects: @@ -650,7 +650,7 @@ ScDrawTextCursor::ScDrawTextCursor( const uno::Reference<text::XText>& xParent, { } -ScDrawTextCursor::~ScDrawTextCursor() throw() +ScDrawTextCursor::~ScDrawTextCursor() noexcept { } @@ -723,7 +723,7 @@ ScEditEngineTextObj::ScEditEngineTextObj() : { } -ScEditEngineTextObj::~ScEditEngineTextObj() throw() +ScEditEngineTextObj::~ScEditEngineTextObj() noexcept { } diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index df01cd42855d..9a2932ca1e12 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -420,12 +420,12 @@ uno::Any SAL_CALL ScViewPaneObj::queryInterface( const uno::Type& rType ) return aRet; } -void SAL_CALL ScViewPaneObj::acquire() throw() +void SAL_CALL ScViewPaneObj::acquire() noexcept { OWeakObject::acquire(); } -void SAL_CALL ScViewPaneObj::release() throw() +void SAL_CALL ScViewPaneObj::release() noexcept { OWeakObject::release(); } @@ -485,12 +485,12 @@ uno::Any SAL_CALL ScTabViewObj::queryInterface( const uno::Type& rType ) return aRet; } -void SAL_CALL ScTabViewObj::acquire() throw() +void SAL_CALL ScTabViewObj::acquire() noexcept { SfxBaseController::acquire(); } -void SAL_CALL ScTabViewObj::release() throw() +void SAL_CALL ScTabViewObj::release() noexcept { SfxBaseController::release(); } @@ -2162,12 +2162,12 @@ uno::Any ScPreviewObj::queryInterface(const uno::Type& rType) return SfxBaseController::queryInterface(rType); } -void ScPreviewObj::acquire() throw() +void ScPreviewObj::acquire() noexcept { SfxBaseController::acquire(); } -void ScPreviewObj::release() throw() +void ScPreviewObj::release() noexcept { SfxBaseController::release(); } |