summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19
parentSAL_INFO we want to display nVersion not nSignature (emfio/emfreader) (diff)
downloadcore-10d29c390dd58ed629dd27fe5ed35fae28eceec3.tar.gz
core-10d29c390dd58ed629dd27fe5ed35fae28eceec3.zip
throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite
Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--UnoControls/inc/basecontrol.hxx4
-rw-r--r--UnoControls/inc/multiplexer.hxx4
-rw-r--r--UnoControls/source/base/basecontrol.cxx4
-rw-r--r--UnoControls/source/base/multiplexer.cxx4
-rw-r--r--UnoControls/source/controls/OConnectionPointContainerHelper.cxx4
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx4
-rw-r--r--UnoControls/source/controls/framecontrol.cxx4
-rw-r--r--UnoControls/source/controls/progressbar.cxx4
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx4
-rw-r--r--UnoControls/source/controls/statusindicator.cxx4
-rw-r--r--UnoControls/source/inc/OConnectionPointContainerHelper.hxx4
-rw-r--r--UnoControls/source/inc/OConnectionPointHelper.hxx4
-rw-r--r--UnoControls/source/inc/framecontrol.hxx4
-rw-r--r--UnoControls/source/inc/progressbar.hxx4
-rw-r--r--UnoControls/source/inc/progressmonitor.hxx4
-rw-r--r--UnoControls/source/inc/statusindicator.hxx4
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx4
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx4
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx4
-rw-r--r--accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx4
-rw-r--r--accessibility/inc/extended/AccessibleGridControlTable.hxx4
-rw-r--r--accessibility/inc/extended/AccessibleGridControlTableBase.hxx4
-rw-r--r--accessibility/inc/extended/AccessibleGridControlTableCell.hxx4
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx4
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx4
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx4
-rw-r--r--accessibility/source/extended/AccessibleGridControlHeaderCell.cxx4
-rw-r--r--accessibility/source/extended/AccessibleGridControlTable.cxx4
-rw-r--r--accessibility/source/extended/AccessibleGridControlTableBase.cxx4
-rw-r--r--accessibility/source/extended/AccessibleGridControlTableCell.cxx4
-rw-r--r--animations/source/animcore/animcore.cxx12
-rw-r--r--avmedia/source/framework/soundhandler.cxx4
-rw-r--r--avmedia/source/framework/soundhandler.hxx4
-rw-r--r--basctl/source/basicide/basidectrlr.cxx4
-rw-r--r--basctl/source/basicide/unomodel.cxx4
-rw-r--r--basctl/source/basicide/unomodel.hxx4
-rw-r--r--basctl/source/inc/basidectrlr.hxx4
-rw-r--r--basic/source/inc/namecont.hxx4
-rw-r--r--binaryurp/source/binaryany.cxx20
-rw-r--r--binaryurp/source/binaryany.hxx22
-rw-r--r--binaryurp/source/bridge.cxx8
-rw-r--r--binaryurp/source/bridge.hxx6
-rw-r--r--binaryurp/source/outgoingrequests.cxx2
-rw-r--r--binaryurp/source/outgoingrequests.hxx2
-rw-r--r--binaryurp/source/unmarshal.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx10
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/abi.hxx6
-rw-r--r--chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx4
-rw-r--r--chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx4
-rw-r--r--chart2/source/controller/main/ElementSelector.cxx4
-rw-r--r--chart2/source/controller/main/ElementSelector.hxx4
-rw-r--r--chart2/source/inc/FormattedStringHelper.hxx2
-rw-r--r--chart2/source/model/main/UndoManager.cxx4
-rw-r--r--chart2/source/model/main/UndoManager.hxx4
-rw-r--r--chart2/source/tools/FormattedStringHelper.cxx2
-rw-r--r--codemaker/source/codemaker/global.cxx2
-rw-r--r--comphelper/source/container/IndexedPropertyValuesContainer.cxx4
-rw-r--r--comphelper/source/container/NamedPropertyValuesContainer.cxx4
-rw-r--r--comphelper/source/property/ChainablePropertySet.cxx4
-rw-r--r--comphelper/source/property/ChainablePropertySetInfo.cxx2
-rw-r--r--comphelper/source/property/MasterPropertySet.cxx6
-rw-r--r--comphelper/source/property/MasterPropertySetInfo.cxx2
-rw-r--r--comphelper/source/property/genericpropertyset.cxx12
-rw-r--r--comphelper/source/property/propertysethelper.cxx6
-rw-r--r--comphelper/source/property/propertysetinfo.cxx36
-rw-r--r--comphelper/source/property/propstate.cxx4
-rw-r--r--configmgr/source/access.cxx2
-rw-r--r--configmgr/source/access.hxx2
-rw-r--r--configmgr/source/childaccess.cxx8
-rw-r--r--configmgr/source/childaccess.hxx8
-rw-r--r--configmgr/source/rootaccess.cxx6
-rw-r--r--configmgr/source/rootaccess.hxx6
-rw-r--r--connectivity/inc/sdbcx/VGroup.hxx4
-rw-r--r--connectivity/inc/sdbcx/VIndex.hxx4
-rw-r--r--connectivity/inc/sdbcx/VKey.hxx4
-rw-r--r--connectivity/inc/sdbcx/VUser.hxx4
-rw-r--r--connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx4
-rw-r--r--connectivity/source/cpool/ZPoolCollection.cxx4
-rw-r--r--connectivity/source/cpool/ZPoolCollection.hxx4
-rw-r--r--connectivity/source/drivers/component/CResultSet.cxx4
-rw-r--r--connectivity/source/drivers/dbase/DResultSet.cxx4
-rw-r--r--connectivity/source/drivers/evoab2/NPreparedStatement.cxx4
-rw-r--r--connectivity/source/drivers/evoab2/NPreparedStatement.hxx4
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.cxx4
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.hxx4
-rw-r--r--connectivity/source/drivers/evoab2/NResultSetMetaData.hxx2
-rw-r--r--connectivity/source/drivers/evoab2/NStatement.cxx4
-rw-r--r--connectivity/source/drivers/evoab2/NStatement.hxx8
-rw-r--r--connectivity/source/drivers/file/FPreparedStatement.cxx4
-rw-r--r--connectivity/source/drivers/file/FResultSet.cxx4
-rw-r--r--connectivity/source/drivers/file/FStatement.cxx8
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.cxx4
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.hxx4
-rw-r--r--connectivity/source/drivers/firebird/ResultSet.cxx4
-rw-r--r--connectivity/source/drivers/firebird/ResultSet.hxx4
-rw-r--r--connectivity/source/drivers/firebird/Statement.cxx4
-rw-r--r--connectivity/source/drivers/firebird/Statement.hxx4
-rw-r--r--connectivity/source/drivers/firebird/StatementCommonBase.cxx4
-rw-r--r--connectivity/source/drivers/firebird/StatementCommonBase.hxx4
-rw-r--r--connectivity/source/drivers/flat/EResultSet.cxx4
-rw-r--r--connectivity/source/drivers/jdbc/CallableStatement.cxx4
-rw-r--r--connectivity/source/drivers/jdbc/JStatement.cxx8
-rw-r--r--connectivity/source/drivers/jdbc/PreparedStatement.cxx4
-rw-r--r--connectivity/source/drivers/jdbc/ResultSet.cxx4
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx4
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx4
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx4
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx4
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx4
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx4
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_statement.cxx8
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_statement.hxx8
-rw-r--r--connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx4
-rw-r--r--connectivity/source/drivers/odbc/OPreparedStatement.cxx4
-rw-r--r--connectivity/source/drivers/odbc/OResultSet.cxx4
-rw-r--r--connectivity/source/drivers/odbc/OStatement.cxx8
-rw-r--r--connectivity/source/drivers/postgresql/pq_baseresultset.hxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_preparedstatement.hxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_statement.hxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_updateableresultset.hxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_xbase.hxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_xindex.hxx8
-rw-r--r--connectivity/source/drivers/postgresql/pq_xkey.hxx8
-rw-r--r--connectivity/source/drivers/postgresql/pq_xtable.hxx8
-rw-r--r--connectivity/source/drivers/postgresql/pq_xuser.hxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_xview.hxx4
-rw-r--r--connectivity/source/inc/FDatabaseMetaDataResultSet.hxx4
-rw-r--r--connectivity/source/inc/component/CResultSet.hxx4
-rw-r--r--connectivity/source/inc/dbase/DResultSet.hxx4
-rw-r--r--connectivity/source/inc/file/FPreparedStatement.hxx4
-rw-r--r--connectivity/source/inc/file/FResultSet.hxx4
-rw-r--r--connectivity/source/inc/file/FStatement.hxx8
-rw-r--r--connectivity/source/inc/flat/EResultSet.hxx4
-rw-r--r--connectivity/source/inc/java/sql/CallableStatement.hxx4
-rw-r--r--connectivity/source/inc/java/sql/JStatement.hxx8
-rw-r--r--connectivity/source/inc/java/sql/PreparedStatement.hxx4
-rw-r--r--connectivity/source/inc/java/sql/ResultSet.hxx4
-rw-r--r--connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx4
-rw-r--r--connectivity/source/inc/odbc/OPreparedStatement.hxx4
-rw-r--r--connectivity/source/inc/odbc/OResultSet.hxx4
-rw-r--r--connectivity/source/inc/odbc/OStatement.hxx8
-rw-r--r--connectivity/source/sdbcx/VCollection.cxx4
-rw-r--r--connectivity/source/sdbcx/VColumn.cxx4
-rw-r--r--connectivity/source/sdbcx/VGroup.cxx4
-rw-r--r--connectivity/source/sdbcx/VIndex.cxx4
-rw-r--r--connectivity/source/sdbcx/VKey.cxx4
-rw-r--r--connectivity/source/sdbcx/VTable.cxx4
-rw-r--r--connectivity/source/sdbcx/VUser.cxx4
-rw-r--r--connectivity/source/sdbcx/VView.cxx4
-rw-r--r--cppu/qa/test_any.cxx12
-rw-r--r--cppu/qa/test_reference.cxx4
-rw-r--r--cppuhelper/source/component.cxx4
-rw-r--r--cppuhelper/source/exc_thrower.cxx8
-rw-r--r--cppuhelper/source/factory.cxx12
-rw-r--r--cppuhelper/source/implbase.cxx8
-rw-r--r--cppuhelper/source/typemanager.cxx2
-rw-r--r--cppuhelper/source/typemanager.hxx2
-rw-r--r--cppuhelper/source/weak.cxx24
-rw-r--r--cui/source/options/sdbcdriverenum.cxx8
-rw-r--r--cui/source/options/sdbcdriverenum.hxx8
-rw-r--r--dbaccess/source/core/api/RowSet.cxx8
-rw-r--r--dbaccess/source/core/api/RowSet.hxx8
-rw-r--r--dbaccess/source/core/api/TableDeco.cxx4
-rw-r--r--dbaccess/source/core/api/callablestatement.cxx4
-rw-r--r--dbaccess/source/core/api/datacolumn.hxx4
-rw-r--r--dbaccess/source/core/api/preparedstatement.cxx4
-rw-r--r--dbaccess/source/core/api/querycomposer.cxx4
-rw-r--r--dbaccess/source/core/api/resultset.cxx4
-rw-r--r--dbaccess/source/core/api/resultset.hxx4
-rw-r--r--dbaccess/source/core/api/statement.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/SharedConnection.hxx4
-rw-r--r--dbaccess/source/core/dataaccess/bookmarkcontainer.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/connection.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/connection.hxx4
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.hxx4
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/datasource.hxx4
-rw-r--r--dbaccess/source/core/dataaccess/documenteventnotifier.cxx8
-rw-r--r--dbaccess/source/core/dataaccess/documentevents.cxx4
-rw-r--r--dbaccess/source/core/inc/DatabaseDataProvider.hxx4
-rw-r--r--dbaccess/source/core/inc/TableDeco.hxx4
-rw-r--r--dbaccess/source/core/inc/bookmarkcontainer.hxx4
-rw-r--r--dbaccess/source/core/inc/callablestatement.hxx4
-rw-r--r--dbaccess/source/core/inc/column.hxx8
-rw-r--r--dbaccess/source/core/inc/documentevents.hxx4
-rw-r--r--dbaccess/source/core/inc/preparedstatement.hxx4
-rw-r--r--dbaccess/source/core/inc/querycomposer.hxx4
-rw-r--r--dbaccess/source/core/inc/statement.hxx4
-rw-r--r--dbaccess/source/core/inc/tablecontainer.hxx4
-rw-r--r--dbaccess/source/core/inc/viewcontainer.hxx4
-rw-r--r--dbaccess/source/core/misc/apitools.cxx2
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.cxx2
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.hxx2
-rw-r--r--dbaccess/source/inc/apitools.hxx2
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx4
-rw-r--r--dbaccess/source/ui/inc/ConnectionLineAccess.hxx4
-rw-r--r--dbaccess/source/ui/inc/JoinExchange.hxx4
-rw-r--r--dbaccess/source/ui/inc/TableWindowAccess.hxx4
-rw-r--r--dbaccess/source/ui/inc/sbagrid.hxx4
-rw-r--r--dbaccess/source/ui/inc/sbamultiplex.hxx4
-rw-r--r--dbaccess/source/ui/misc/dbaundomanager.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/JoinExchange.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/limitboxcontroller.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/limitboxcontroller.hxx4
-rw-r--r--desktop/source/deployment/misc/dp_interact.cxx8
-rw-r--r--editeng/inc/unopracc.hxx6
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectImport.cxx4
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectImport.hxx4
-rw-r--r--editeng/source/uno/unofield.cxx14
-rw-r--r--editeng/source/uno/unoipset.cxx4
-rw-r--r--editeng/source/uno/unonrule.cxx4
-rw-r--r--editeng/source/uno/unopracc.cxx6
-rw-r--r--editeng/source/uno/unotext.cxx52
-rw-r--r--editeng/source/uno/unotext2.cxx26
-rw-r--r--embeddedobj/source/commonembedding/miscobj.cxx4
-rw-r--r--embeddedobj/source/inc/commonembobj.hxx4
-rw-r--r--embeddedobj/source/inc/oleembobj.hxx2
-rw-r--r--embeddedobj/source/msole/olepersist.cxx2
-rw-r--r--extensions/source/abpilot/unodialogabp.cxx4
-rw-r--r--extensions/source/abpilot/unodialogabp.hxx4
-rw-r--r--extensions/source/bibliography/loadlisteneradapter.cxx4
-rw-r--r--extensions/source/bibliography/loadlisteneradapter.hxx8
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx8
-rw-r--r--extensions/source/propctrlr/formgeometryhandler.cxx4
-rw-r--r--filter/qa/cppunit/xslt-test.cxx8
-rw-r--r--filter/source/pdf/pdfexport.cxx2
-rw-r--r--filter/source/xsltdialog/xmlfilterdialogcomponent.cxx8
-rw-r--r--forms/source/component/imgprod.hxx4
-rw-r--r--forms/source/richtext/richtextunowrapper.cxx2
-rw-r--r--forms/source/richtext/richtextunowrapper.hxx2
-rw-r--r--forms/source/xforms/model.cxx2
-rw-r--r--forms/source/xforms/model.hxx2
-rw-r--r--forms/source/xforms/submission.cxx2
-rw-r--r--forms/source/xforms/submission.hxx2
-rw-r--r--framework/inc/classes/actiontriggercontainer.hxx4
-rw-r--r--framework/inc/classes/actiontriggerpropertyset.hxx4
-rw-r--r--framework/inc/classes/actiontriggerseparatorpropertyset.hxx4
-rw-r--r--framework/inc/classes/rootactiontriggercontainer.hxx4
-rw-r--r--framework/inc/helper/propertysetcontainer.hxx4
-rw-r--r--framework/inc/helper/uiconfigelementwrapperbase.hxx4
-rw-r--r--framework/inc/helper/uielementwrapperbase.hxx4
-rw-r--r--framework/inc/uielement/buttontoolbarcontroller.hxx4
-rw-r--r--framework/inc/uielement/constitemcontainer.hxx2
-rw-r--r--framework/inc/uielement/itemcontainer.hxx2
-rw-r--r--framework/inc/uielement/menubarwrapper.hxx4
-rw-r--r--framework/inc/uielement/rootitemcontainer.hxx6
-rw-r--r--framework/inc/uielement/toolbarwrapper.hxx4
-rw-r--r--framework/source/fwe/classes/actiontriggercontainer.cxx4
-rw-r--r--framework/source/fwe/classes/actiontriggerpropertyset.cxx4
-rw-r--r--framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx4
-rw-r--r--framework/source/fwe/classes/rootactiontriggercontainer.cxx4
-rw-r--r--framework/source/fwe/helper/propertysetcontainer.cxx4
-rw-r--r--framework/source/fwi/uielement/constitemcontainer.cxx2
-rw-r--r--framework/source/fwi/uielement/itemcontainer.cxx2
-rw-r--r--framework/source/fwi/uielement/rootitemcontainer.cxx2
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.cxx4
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.hxx4
-rw-r--r--framework/source/services/autorecovery.cxx4
-rw-r--r--framework/source/services/pathsettings.cxx4
-rw-r--r--framework/source/uielement/buttontoolbarcontroller.cxx4
-rw-r--r--framework/source/uielement/menubarwrapper.cxx4
-rw-r--r--framework/source/uielement/toolbarwrapper.cxx4
-rw-r--r--include/codemaker/global.hxx2
-rw-r--r--include/comphelper/ChainablePropertySet.hxx8
-rw-r--r--include/comphelper/ChainablePropertySetInfo.hxx2
-rw-r--r--include/comphelper/MasterPropertySet.hxx6
-rw-r--r--include/comphelper/MasterPropertySetInfo.hxx2
-rw-r--r--include/comphelper/asyncnotification.hxx4
-rw-r--r--include/comphelper/newarray.hxx2
-rw-r--r--include/comphelper/propertysethelper.hxx4
-rw-r--r--include/comphelper/propertysetinfo.hxx14
-rw-r--r--include/comphelper/servicehelper.hxx4
-rw-r--r--include/comphelper/uno3.hxx20
-rw-r--r--include/comphelper/weak.hxx4
-rw-r--r--include/connectivity/sdbcx/VCollection.hxx4
-rw-r--r--include/connectivity/sdbcx/VColumn.hxx4
-rw-r--r--include/connectivity/sdbcx/VTable.hxx4
-rw-r--r--include/connectivity/sdbcx/VView.hxx4
-rw-r--r--include/cppuhelper/compbase.hxx8
-rw-r--r--include/cppuhelper/compbase12.hxx18
-rw-r--r--include/cppuhelper/compbase2.hxx18
-rw-r--r--include/cppuhelper/compbase3.hxx18
-rw-r--r--include/cppuhelper/compbase4.hxx18
-rw-r--r--include/cppuhelper/compbase5.hxx18
-rw-r--r--include/cppuhelper/compbase6.hxx18
-rw-r--r--include/cppuhelper/compbase7.hxx18
-rw-r--r--include/cppuhelper/compbase8.hxx18
-rw-r--r--include/cppuhelper/compbase9.hxx18
-rw-r--r--include/cppuhelper/compbase_ex.hxx8
-rw-r--r--include/cppuhelper/component.hxx4
-rw-r--r--include/cppuhelper/implbase.hxx8
-rw-r--r--include/cppuhelper/implbase1.hxx18
-rw-r--r--include/cppuhelper/implbase10.hxx18
-rw-r--r--include/cppuhelper/implbase12.hxx18
-rw-r--r--include/cppuhelper/implbase13.hxx18
-rw-r--r--include/cppuhelper/implbase2.hxx18
-rw-r--r--include/cppuhelper/implbase3.hxx18
-rw-r--r--include/cppuhelper/implbase4.hxx18
-rw-r--r--include/cppuhelper/implbase5.hxx18
-rw-r--r--include/cppuhelper/implbase6.hxx18
-rw-r--r--include/cppuhelper/implbase7.hxx18
-rw-r--r--include/cppuhelper/implbase8.hxx18
-rw-r--r--include/cppuhelper/implbase9.hxx18
-rw-r--r--include/cppuhelper/weak.hxx4
-rw-r--r--include/cppuhelper/weakagg.hxx4
-rw-r--r--include/dbaccess/IController.hxx4
-rw-r--r--include/dbaccess/dbaundomanager.hxx4
-rw-r--r--include/dbaccess/genericcontroller.hxx4
-rw-r--r--include/editeng/outliner.hxx2
-rw-r--r--include/editeng/unofield.hxx14
-rw-r--r--include/editeng/unoipset.hxx4
-rw-r--r--include/editeng/unonrule.hxx4
-rw-r--r--include/editeng/unotext.hxx80
-rw-r--r--include/framework/desktop.hxx4
-rw-r--r--include/oox/core/contexthandler2.hxx8
-rw-r--r--include/oox/core/fragmenthandler2.hxx4
-rw-r--r--include/oox/ppt/pptimport.hxx2
-rw-r--r--include/oox/ppt/presentationfragmenthandler.hxx2
-rw-r--r--include/oox/ppt/slidetimingcontext.hxx4
-rw-r--r--include/oox/ppt/slidetransitioncontext.hxx4
-rw-r--r--include/oox/ppt/soundactioncontext.hxx4
-rw-r--r--include/oox/ppt/timenodelistcontext.hxx8
-rw-r--r--include/osl/thread.hxx2
-rw-r--r--include/sfx2/sfxbasemodel.hxx4
-rw-r--r--include/sfx2/stbitem.hxx4
-rw-r--r--include/svl/itemprop.hxx2
-rw-r--r--include/svtools/embedhlp.hxx2
-rw-r--r--include/svtools/framestatuslistener.hxx4
-rw-r--r--include/svtools/javacontext.hxx4
-rw-r--r--include/svtools/javainteractionhandler.hxx4
-rw-r--r--include/svtools/statusbarcontroller.hxx4
-rw-r--r--include/svtools/toolboxcontroller.hxx4
-rw-r--r--include/svx/AccessibleGraphicShape.hxx4
-rw-r--r--include/svx/AccessibleOLEShape.hxx4
-rw-r--r--include/svx/AccessibleShape.hxx4
-rw-r--r--include/svx/ChildrenManager.hxx2
-rw-r--r--include/svx/DiagramDataInterface.hxx2
-rw-r--r--include/svx/ParaSpacingControl.hxx4
-rw-r--r--include/svx/fmdpage.hxx2
-rw-r--r--include/svx/fmgridif.hxx4
-rw-r--r--include/svx/unoapi.hxx14
-rw-r--r--include/svx/unomod.hxx2
-rw-r--r--include/svx/unomodel.hxx8
-rw-r--r--include/svx/unopage.hxx14
-rw-r--r--include/svx/unopool.hxx8
-rw-r--r--include/svx/unoprov.hxx2
-rw-r--r--include/svx/unoshape.hxx90
-rw-r--r--include/toolkit/awt/vclxmenu.hxx4
-rw-r--r--include/toolkit/awt/vclxwindows.hxx24
-rw-r--r--include/toolkit/controls/unocontrolmodel.hxx6
-rw-r--r--include/toolkit/controls/unocontrols.hxx40
-rw-r--r--include/toolkit/helper/listenermultiplexer.hxx4
-rw-r--r--include/toolkit/helper/macros.hxx12
-rw-r--r--include/ucbhelper/contenthelper.hxx4
-rw-r--r--include/ucbhelper/interactionrequest.hxx28
-rw-r--r--include/unoidl/unoidl.hxx38
-rw-r--r--include/unotools/confignode.hxx24
-rw-r--r--include/unotools/streamwrap.hxx4
-rw-r--r--include/unotools/ucbhelper.hxx2
-rw-r--r--include/vcl/dndhelp.hxx4
-rw-r--r--include/vcl/textview.hxx4
-rw-r--r--include/vcl/unohelp2.hxx4
-rw-r--r--include/xmloff/shapeexport.hxx2
-rw-r--r--include/xmloff/unoatrcn.hxx2
-rw-r--r--include/xmloff/xmlictxt.hxx4
-rw-r--r--include/xmloff/xmlimp.hxx6
-rw-r--r--include/xmlreader/span.hxx2
-rw-r--r--io/source/stm/streamhelper.cxx2
-rw-r--r--io/source/stm/streamhelper.hxx4
-rw-r--r--oox/inc/drawingml/effectpropertiescontext.hxx2
-rw-r--r--oox/inc/drawingml/linepropertiescontext.hxx2
-rw-r--r--oox/inc/drawingml/scene3dcontext.hxx8
-rw-r--r--oox/inc/drawingml/transform2dcontext.hxx2
-rw-r--r--oox/source/drawingml/diagram/diagramfragmenthandler.cxx4
-rw-r--r--oox/source/drawingml/diagram/diagramfragmenthandler.hxx4
-rw-r--r--oox/source/drawingml/effectpropertiescontext.cxx2
-rw-r--r--oox/source/drawingml/linepropertiescontext.cxx2
-rw-r--r--oox/source/drawingml/scene3dcontext.cxx8
-rw-r--r--oox/source/drawingml/transform2dcontext.cxx2
-rw-r--r--oox/source/ppt/animvariantcontext.cxx2
-rw-r--r--oox/source/ppt/animvariantcontext.hxx2
-rw-r--r--oox/source/ppt/commonbehaviorcontext.cxx2
-rw-r--r--oox/source/ppt/commonbehaviorcontext.hxx2
-rw-r--r--oox/source/ppt/commontimenodecontext.cxx2
-rw-r--r--oox/source/ppt/commontimenodecontext.hxx2
-rw-r--r--oox/source/ppt/conditioncontext.cxx4
-rw-r--r--oox/source/ppt/conditioncontext.hxx4
-rw-r--r--oox/source/ppt/extdrawingfragmenthandler.cxx2
-rw-r--r--oox/source/ppt/extdrawingfragmenthandler.hxx2
-rw-r--r--oox/source/ppt/pptimport.cxx2
-rw-r--r--oox/source/ppt/presentationfragmenthandler.cxx2
-rw-r--r--oox/source/ppt/slidetimingcontext.cxx4
-rw-r--r--oox/source/ppt/slidetransitioncontext.cxx4
-rw-r--r--oox/source/ppt/soundactioncontext.cxx4
-rw-r--r--oox/source/ppt/timenodelistcontext.cxx24
-rw-r--r--oox/source/ppt/timetargetelementcontext.cxx2
-rw-r--r--oox/source/ppt/timetargetelementcontext.hxx2
-rw-r--r--oox/source/shape/ShapeDrawingFragmentHandler.cxx2
-rw-r--r--oox/source/shape/ShapeDrawingFragmentHandler.hxx2
-rw-r--r--package/source/xstor/oseekinstream.cxx4
-rw-r--r--package/source/xstor/oseekinstream.hxx4
-rw-r--r--package/source/xstor/owriteablestream.cxx4
-rw-r--r--package/source/xstor/owriteablestream.hxx4
-rw-r--r--package/source/xstor/xstorage.cxx4
-rw-r--r--package/source/xstor/xstorage.hxx4
-rw-r--r--reportdesign/source/filter/xml/xmlfilter.cxx2
-rw-r--r--reportdesign/source/filter/xml/xmlfilter.hxx2
-rw-r--r--sax/source/expatwrap/saxwriter.cxx8
-rw-r--r--sc/inc/cellsuno.hxx20
-rw-r--r--sc/inc/cursuno.hxx4
-rw-r--r--sc/inc/dapiuno.hxx4
-rw-r--r--sc/inc/docuno.hxx4
-rw-r--r--sc/inc/drdefuno.hxx4
-rw-r--r--sc/inc/pageuno.hxx2
-rw-r--r--sc/inc/shapeuno.hxx6
-rw-r--r--sc/inc/textuno.hxx8
-rw-r--r--sc/inc/viewuno.hxx12
-rw-r--r--sc/source/filter/excel/xestream.cxx2
-rw-r--r--sc/source/filter/inc/excelfilter.hxx2
-rw-r--r--sc/source/filter/inc/xestream.hxx2
-rw-r--r--sc/source/filter/oox/excelfilter.cxx2
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx2
-rw-r--r--sc/source/filter/xml/xmlimprt.hxx2
-rw-r--r--sc/source/ui/Accessibility/AccessibleCellBase.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessibleContextBase.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessibleCsvControl.cxx8
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessibleEditObject.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessiblePreviewTable.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessibleTableBase.cxx4
-rw-r--r--sc/source/ui/inc/AccessibleCellBase.hxx4
-rw-r--r--sc/source/ui/inc/AccessibleContextBase.hxx4
-rw-r--r--sc/source/ui/inc/AccessibleCsvControl.hxx4
-rw-r--r--sc/source/ui/inc/AccessibleDocument.hxx4
-rw-r--r--sc/source/ui/inc/AccessibleEditObject.hxx4
-rw-r--r--sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx4
-rw-r--r--sc/source/ui/inc/AccessiblePreviewTable.hxx4
-rw-r--r--sc/source/ui/inc/AccessibleTableBase.hxx4
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx20
-rw-r--r--sc/source/ui/unoobj/cursuno.cxx4
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx4
-rw-r--r--sc/source/ui/unoobj/docuno.cxx4
-rw-r--r--sc/source/ui/unoobj/drdefuno.cxx4
-rw-r--r--sc/source/ui/unoobj/pageuno.cxx2
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx6
-rw-r--r--sc/source/ui/unoobj/textuno.cxx8
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx12
-rw-r--r--sd/inc/Annotation.hxx4
-rw-r--r--sd/inc/stlsheet.hxx2
-rw-r--r--sd/inc/textapi.hxx2
-rw-r--r--sd/source/core/stlsheet.cxx2
-rw-r--r--sd/source/core/text/textapi.cxx2
-rw-r--r--sd/source/filter/eppt/epptooxml.hxx2
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx2
-rw-r--r--sd/source/filter/html/HtmlOptionsDialog.cxx8
-rw-r--r--sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx4
-rw-r--r--sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx4
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx4
-rw-r--r--sd/source/ui/animations/motionpathtag.hxx4
-rw-r--r--sd/source/ui/app/sdxfer.cxx2
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx2
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationController.cxx4
-rw-r--r--sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx2
-rw-r--r--sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx2
-rw-r--r--sd/source/ui/framework/configuration/UpdateRequest.cxx4
-rw-r--r--sd/source/ui/framework/configuration/UpdateRequest.hxx4
-rw-r--r--sd/source/ui/framework/factories/FrameWindowPane.cxx2
-rw-r--r--sd/source/ui/framework/factories/FrameWindowPane.hxx2
-rw-r--r--sd/source/ui/framework/factories/FullScreenPane.cxx2
-rw-r--r--sd/source/ui/framework/factories/FullScreenPane.hxx2
-rw-r--r--sd/source/ui/framework/factories/Pane.cxx2
-rw-r--r--sd/source/ui/framework/module/ModuleController.cxx2
-rw-r--r--sd/source/ui/inc/AccessibleDocumentViewBase.hxx4
-rw-r--r--sd/source/ui/inc/AccessibleDrawDocumentView.hxx4
-rw-r--r--sd/source/ui/inc/DrawController.hxx18
-rw-r--r--sd/source/ui/inc/SdUnoDrawView.hxx14
-rw-r--r--sd/source/ui/inc/SdUnoOutlineView.hxx4
-rw-r--r--sd/source/ui/inc/SdUnoSlideView.hxx4
-rw-r--r--sd/source/ui/inc/WindowUpdater.hxx2
-rw-r--r--sd/source/ui/inc/framework/ConfigurationController.hxx4
-rw-r--r--sd/source/ui/inc/framework/ModuleController.hxx2
-rw-r--r--sd/source/ui/inc/framework/Pane.hxx2
-rw-r--r--sd/source/ui/inc/sdtreelb.hxx2
-rw-r--r--sd/source/ui/inc/sdxfer.hxx2
-rw-r--r--sd/source/ui/inc/unomodel.hxx20
-rw-r--r--sd/source/ui/inc/unopage.hxx26
-rw-r--r--sd/source/ui/inc/unosrch.hxx20
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx18
-rw-r--r--sd/source/ui/unoidl/SdUnoDrawView.cxx14
-rw-r--r--sd/source/ui/unoidl/SdUnoOutlineView.cxx4
-rw-r--r--sd/source/ui/unoidl/SdUnoSlideView.cxx4
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.cxx10
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.hxx2
-rw-r--r--sd/source/ui/unoidl/unocpres.cxx12
-rw-r--r--sd/source/ui/unoidl/unocpres.hxx22
-rw-r--r--sd/source/ui/unoidl/unolayer.cxx14
-rw-r--r--sd/source/ui/unoidl/unolayer.hxx18
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx26
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx14
-rw-r--r--sd/source/ui/unoidl/unoobj.hxx10
-rw-r--r--sd/source/ui/unoidl/unopage.cxx26
-rw-r--r--sd/source/ui/unoidl/unopback.cxx4
-rw-r--r--sd/source/ui/unoidl/unopback.hxx4
-rw-r--r--sd/source/ui/unoidl/unosrch.cxx20
-rw-r--r--sd/source/ui/unoidl/unowcntr.cxx6
-rw-r--r--sd/source/ui/unoidl/unowcntr.hxx6
-rw-r--r--sd/source/ui/view/WindowUpdater.cxx2
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx8
-rw-r--r--sdext/source/pdfimport/test/pdfunzip.cxx16
-rw-r--r--sfx2/source/control/thumbnailviewacc.cxx4
-rw-r--r--sfx2/source/control/thumbnailviewacc.hxx4
-rw-r--r--sfx2/source/dialog/backingcomp.cxx8
-rw-r--r--sfx2/source/doc/SfxDocumentMetaData.cxx20
-rw-r--r--sfx2/source/doc/docundomanager.cxx4
-rw-r--r--sfx2/source/inc/docundomanager.hxx4
-rw-r--r--sfx2/source/statbar/stbitem.cxx4
-rw-r--r--starmath/inc/mathml/mathmlexport.hxx2
-rw-r--r--starmath/inc/mathml/mathmlimport.hxx4
-rw-r--r--starmath/inc/unomodel.hxx6
-rw-r--r--starmath/source/mathml/mathmlexport.cxx2
-rw-r--r--starmath/source/mathml/mathmlimport.cxx4
-rw-r--r--starmath/source/unomodel.cxx6
-rw-r--r--stoc/source/corereflection/base.hxx8
-rw-r--r--stoc/source/corereflection/crarray.cxx4
-rw-r--r--stoc/source/corereflection/crcomp.cxx8
-rw-r--r--stoc/source/corereflection/crefl.cxx4
-rw-r--r--stoc/source/corereflection/crenum.cxx8
-rw-r--r--stoc/source/corereflection/criface.cxx16
-rw-r--r--stoc/source/inspect/introspection.cxx4
-rw-r--r--stoc/source/invocation/invocation.cxx4
-rw-r--r--stoc/source/javavm/javavm.cxx2
-rw-r--r--stoc/source/javavm/jvmargs.cxx2
-rw-r--r--stoc/source/javavm/jvmargs.hxx2
-rw-r--r--svl/source/fsstor/fsstorage.cxx4
-rw-r--r--svl/source/fsstor/fsstorage.hxx4
-rw-r--r--svl/source/fsstor/oinputstreamcontainer.cxx4
-rw-r--r--svl/source/fsstor/oinputstreamcontainer.hxx4
-rw-r--r--svl/source/fsstor/ostreamcontainer.cxx4
-rw-r--r--svl/source/fsstor/ostreamcontainer.hxx4
-rw-r--r--svl/source/items/itemprop.cxx2
-rw-r--r--svl/source/numbers/supservs.hxx4
-rw-r--r--svtools/source/control/valueacc.cxx4
-rw-r--r--svtools/source/control/valueimp.hxx4
-rw-r--r--svtools/source/filter/SvFilterOptionsDialog.cxx8
-rw-r--r--svtools/source/graphic/renderer.cxx8
-rw-r--r--svtools/source/java/javacontext.cxx4
-rw-r--r--svtools/source/java/javainteractionhandler.cxx4
-rw-r--r--svtools/source/misc/embedhlp.cxx2
-rw-r--r--svtools/source/uno/framestatuslistener.cxx4
-rw-r--r--svtools/source/uno/statusbarcontroller.cxx4
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx4
-rw-r--r--svtools/source/uno/unoimap.cxx8
-rw-r--r--svx/inc/AccessibleTableShape.hxx4
-rw-r--r--svx/inc/XPropertyTable.hxx12
-rw-r--r--svx/inc/unomlstr.hxx6
-rw-r--r--svx/source/accessibility/AccessibleGraphicShape.cxx4
-rw-r--r--svx/source/accessibility/AccessibleOLEShape.cxx4
-rw-r--r--svx/source/accessibility/AccessibleShape.cxx4
-rw-r--r--svx/source/accessibility/ChildrenManager.cxx2
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx2
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.hxx2
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeEngine.cxx8
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeHandle.cxx4
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeHandle.hxx4
-rw-r--r--svx/source/form/fmdpage.cxx2
-rw-r--r--svx/source/form/formcontroller.cxx4
-rw-r--r--svx/source/inc/cell.hxx6
-rw-r--r--svx/source/inc/formcontroller.hxx4
-rw-r--r--svx/source/inc/xmlxtexp.hxx2
-rw-r--r--svx/source/inc/xmlxtimp.hxx4
-rw-r--r--svx/source/sidebar/paragraph/ParaSpacingControl.cxx4
-rw-r--r--svx/source/table/accessiblecell.cxx4
-rw-r--r--svx/source/table/accessiblecell.hxx4
-rw-r--r--svx/source/table/accessibletableshape.cxx4
-rw-r--r--svx/source/table/cell.cxx6
-rw-r--r--svx/source/tbxctrls/tbunocontroller.cxx8
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx64
-rw-r--r--svx/source/unodraw/UnoNameItemTable.cxx6
-rw-r--r--svx/source/unodraw/UnoNameItemTable.hxx6
-rw-r--r--svx/source/unodraw/UnoNamespaceMap.cxx4
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx48
-rw-r--r--svx/source/unodraw/gluepts.cxx8
-rw-r--r--svx/source/unodraw/shapeimpl.hxx10
-rw-r--r--svx/source/unodraw/tableshape.cxx2
-rw-r--r--svx/source/unodraw/unobtabl.cxx4
-rw-r--r--svx/source/unodraw/unodtabl.cxx4
-rw-r--r--svx/source/unodraw/unogtabl.cxx4
-rw-r--r--svx/source/unodraw/unohtabl.cxx4
-rw-r--r--svx/source/unodraw/unomlstr.cxx6
-rw-r--r--svx/source/unodraw/unomod.cxx8
-rw-r--r--svx/source/unodraw/unomtabl.cxx12
-rw-r--r--svx/source/unodraw/unopage.cxx18
-rw-r--r--svx/source/unodraw/unopool.cxx4
-rw-r--r--svx/source/unodraw/unoprov.cxx10
-rw-r--r--svx/source/unodraw/unoshap2.cxx20
-rw-r--r--svx/source/unodraw/unoshap3.cxx12
-rw-r--r--svx/source/unodraw/unoshap4.cxx10
-rw-r--r--svx/source/unodraw/unoshape.cxx26
-rw-r--r--svx/source/unodraw/unoshcol.cxx8
-rw-r--r--svx/source/unodraw/unottabl.cxx4
-rw-r--r--svx/source/unogallery/unogalitem.cxx10
-rw-r--r--svx/source/unogallery/unogalitem.hxx10
-rw-r--r--svx/source/xml/xmlxtexp.cxx2
-rw-r--r--svx/source/xml/xmlxtimp.cxx4
-rw-r--r--sw/inc/SwXMLSectionList.hxx2
-rw-r--r--sw/inc/unodraw.hxx6
-rw-r--r--sw/inc/unoframe.hxx4
-rw-r--r--sw/inc/unoredline.hxx8
-rw-r--r--sw/inc/unotbl.hxx4
-rw-r--r--sw/inc/unotextbodyhf.hxx8
-rw-r--r--sw/inc/unotxdoc.hxx4
-rw-r--r--sw/source/core/access/acccell.hxx4
-rw-r--r--sw/source/core/access/accdoc.hxx4
-rw-r--r--sw/source/core/access/accembedded.cxx4
-rw-r--r--sw/source/core/access/accembedded.hxx4
-rw-r--r--sw/source/core/access/accnotextframe.hxx4
-rw-r--r--sw/source/core/access/accpara.hxx4
-rw-r--r--sw/source/core/access/acctable.hxx4
-rw-r--r--sw/source/core/access/acctextframe.cxx4
-rw-r--r--sw/source/core/access/acctextframe.hxx4
-rw-r--r--sw/source/core/fields/textapi.cxx2
-rw-r--r--sw/source/core/inc/SwXMLBlockImport.hxx4
-rw-r--r--sw/source/core/inc/textapi.hxx2
-rw-r--r--sw/source/core/inc/unofootnote.hxx4
-rw-r--r--sw/source/core/swg/SwXMLBlockImport.cxx4
-rw-r--r--sw/source/core/swg/SwXMLSectionList.cxx2
-rw-r--r--sw/source/core/unocore/unodraw.cxx6
-rw-r--r--sw/source/core/unocore/unoframe.cxx4
-rw-r--r--sw/source/core/unocore/unoobj2.cxx6
-rw-r--r--sw/source/core/unocore/unorefmk.cxx4
-rw-r--r--sw/source/core/unocore/unostyle.cxx4
-rw-r--r--sw/source/core/unocore/unotbl.cxx8
-rw-r--r--sw/source/filter/inc/wwstyles.hxx6
-rw-r--r--sw/source/filter/ww8/fields.cxx2
-rw-r--r--sw/source/filter/ww8/fields.hxx2
-rw-r--r--sw/source/filter/ww8/styles.cxx8
-rw-r--r--sw/source/filter/ww8/ww8par.hxx8
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx8
-rw-r--r--sw/source/filter/xml/xmlexp.cxx2
-rw-r--r--sw/source/filter/xml/xmlexp.hxx2
-rw-r--r--sw/source/filter/xml/xmlimp.cxx4
-rw-r--r--sw/source/filter/xml/xmlimp.hxx4
-rw-r--r--sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx8
-rw-r--r--sw/source/uibase/inc/unomod.hxx4
-rw-r--r--sw/source/uibase/inc/unotxvw.hxx4
-rw-r--r--sw/source/uibase/ribbar/workctrl.cxx16
-rw-r--r--sw/source/uibase/uno/SwXDocumentSettings.cxx6
-rw-r--r--sw/source/uibase/uno/SwXDocumentSettings.hxx6
-rw-r--r--sw/source/uibase/uno/unodefaults.cxx4
-rw-r--r--sw/source/uibase/uno/unodefaults.hxx4
-rw-r--r--sw/source/uibase/uno/unomod.cxx4
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx4
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx4
-rw-r--r--testtools/source/bridgetest/cppobj.cxx4
-rw-r--r--toolkit/inc/awt/vclxcontainer.hxx4
-rw-r--r--toolkit/inc/awt/vclxsystemdependentwindow.hxx4
-rw-r--r--toolkit/inc/awt/vclxtopwindow.hxx4
-rw-r--r--toolkit/inc/awt/vclxwindows.hxx64
-rw-r--r--toolkit/inc/controls/controlmodelcontainerbase.hxx4
-rw-r--r--toolkit/inc/controls/dialogcontrol.hxx4
-rw-r--r--toolkit/inc/controls/geometrycontrolmodel.hxx4
-rw-r--r--toolkit/inc/controls/roadmapcontrol.hxx4
-rw-r--r--toolkit/inc/controls/stdtabcontroller.hxx4
-rw-r--r--toolkit/inc/controls/stdtabcontrollermodel.hxx4
-rw-r--r--toolkit/inc/controls/tkscrollbar.hxx4
-rw-r--r--toolkit/source/controls/controlmodelcontainerbase.cxx4
-rw-r--r--toolkit/source/controls/geometrycontrolmodel.cxx4
-rw-r--r--toolkit/source/controls/grid/gridcolumn.cxx2
-rw-r--r--toolkit/source/controls/grid/gridcolumn.hxx2
-rw-r--r--toolkit/source/controls/grid/grideventforwarder.cxx4
-rw-r--r--toolkit/source/controls/grid/grideventforwarder.hxx4
-rw-r--r--toolkit/source/controls/grid/sortablegriddatamodel.cxx8
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx2
-rw-r--r--toolkit/source/controls/unocontrols.cxx4
-rw-r--r--toolkit/source/hatchwindow/hatchwindow.cxx4
-rw-r--r--toolkit/source/hatchwindow/hatchwindow.hxx4
-rw-r--r--toolkit/source/helper/listenermultiplexer.cxx4
-rw-r--r--ucb/source/cacher/cachedcontentresultset.cxx12
-rw-r--r--ucb/source/cacher/cachedcontentresultset.hxx4
-rw-r--r--ucb/source/cacher/cachedcontentresultsetstub.cxx4
-rw-r--r--ucb/source/cacher/cachedcontentresultsetstub.hxx4
-rw-r--r--ucb/source/cacher/cacheddynamicresultset.cxx4
-rw-r--r--ucb/source/cacher/cacheddynamicresultset.hxx4
-rw-r--r--ucb/source/cacher/cacheddynamicresultsetstub.cxx4
-rw-r--r--ucb/source/cacher/cacheddynamicresultsetstub.hxx4
-rw-r--r--ucb/source/cacher/contentresultsetwrapper.cxx4
-rw-r--r--ucb/source/cacher/contentresultsetwrapper.hxx4
-rw-r--r--ucb/source/cacher/dynamicresultsetwrapper.cxx4
-rw-r--r--ucb/source/cacher/dynamicresultsetwrapper.hxx4
-rw-r--r--ucb/source/core/provprox.cxx4
-rw-r--r--ucb/source/core/provprox.hxx4
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx4
-rw-r--r--ucb/source/ucp/cmis/cmis_content.hxx4
-rw-r--r--ucb/source/ucp/cmis/cmis_provider.cxx4
-rw-r--r--ucb/source/ucp/cmis/cmis_provider.hxx4
-rw-r--r--ucb/source/ucp/cmis/std_inputstream.cxx4
-rw-r--r--ucb/source/ucp/cmis/std_inputstream.hxx4
-rw-r--r--ucb/source/ucp/cmis/std_outputstream.cxx4
-rw-r--r--ucb/source/ucp/cmis/std_outputstream.hxx4
-rw-r--r--ucb/source/ucp/file/filcmd.cxx4
-rw-r--r--ucb/source/ucp/file/filcmd.hxx4
-rw-r--r--ucb/source/ucp/file/prov.cxx8
-rw-r--r--ucb/source/ucp/ftp/ftpcontainer.hxx2
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx4
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.hxx4
-rw-r--r--ucb/source/ucp/ftp/ftpcontentprovider.cxx4
-rw-r--r--ucb/source/ucp/ftp/ftpcontentprovider.hxx4
-rw-r--r--ucb/source/ucp/ftp/ftpresultsetbase.cxx8
-rw-r--r--ucb/source/ucp/ftp/ftpresultsetbase.hxx4
-rw-r--r--ucb/source/ucp/ftp/ftpurl.cxx2
-rw-r--r--ucb/source/ucp/gio/gio_content.cxx4
-rw-r--r--ucb/source/ucp/gio/gio_content.hxx4
-rw-r--r--ucb/source/ucp/gio/gio_outputstream.hxx4
-rw-r--r--ucb/source/ucp/gio/gio_provider.cxx4
-rw-r--r--ucb/source/ucp/gio/gio_provider.hxx4
-rw-r--r--ucb/source/ucp/gio/gio_seekable.hxx4
-rw-r--r--ucb/source/ucp/hierarchy/hierarchycontent.cxx4
-rw-r--r--ucb/source/ucp/hierarchy/hierarchycontent.hxx4
-rw-r--r--ucb/source/ucp/hierarchy/hierarchydatasource.cxx8
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyprovider.cxx4
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyprovider.hxx4
-rw-r--r--ucb/source/ucp/package/pkgcontent.cxx4
-rw-r--r--ucb/source/ucp/package/pkgcontent.hxx4
-rw-r--r--ucb/source/ucp/package/pkgprovider.cxx8
-rw-r--r--ucb/source/ucp/package/pkgprovider.hxx4
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx4
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.hxx4
-rw-r--r--ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx8
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.cxx4
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.hxx4
-rw-r--r--ucb/source/ucp/tdoc/tdoc_stgelems.cxx4
-rw-r--r--ucb/source/ucp/tdoc/tdoc_stgelems.hxx4
-rw-r--r--ucb/source/ucp/webdav-neon/NeonInputStream.hxx4
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx4
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.hxx4
-rw-r--r--ucb/source/ucp/webdav-neon/webdavprovider.cxx4
-rw-r--r--ucb/source/ucp/webdav-neon/webdavprovider.hxx4
-rw-r--r--ucbhelper/source/client/content.cxx8
-rw-r--r--ucbhelper/source/provider/contenthelper.cxx2
-rw-r--r--ucbhelper/source/provider/resultset.cxx8
-rw-r--r--ucbhelper/source/provider/simplenameclashresolverequest.cxx8
-rw-r--r--unoidl/source/legacyprovider.cxx6
-rw-r--r--unoidl/source/legacyprovider.hxx2
-rw-r--r--unoidl/source/sourcefileprovider.cxx6
-rw-r--r--unoidl/source/sourcefileprovider.hxx2
-rw-r--r--unoidl/source/sourceprovider-scanner.hxx16
-rw-r--r--unoidl/source/sourcetreeprovider.cxx6
-rw-r--r--unoidl/source/sourcetreeprovider.hxx2
-rw-r--r--unoidl/source/unoidl.cxx42
-rw-r--r--unoidl/source/unoidlprovider.cxx6
-rw-r--r--unoidl/source/unoidlprovider.hxx2
-rw-r--r--unotools/source/config/confignode.cxx24
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx2
-rw-r--r--unoxml/inc/node.hxx2
-rw-r--r--unoxml/source/dom/domimplementation.cxx4
-rw-r--r--unoxml/source/dom/domimplementation.hxx4
-rw-r--r--unoxml/source/dom/node.cxx2
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx4
-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
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.hxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.hxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx8
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.hxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx8
-rw-r--r--xmloff/inc/PropertySetMerger.hxx2
-rw-r--r--xmloff/inc/SchXMLImport.hxx2
-rw-r--r--xmloff/inc/XMLEmbeddedObjectExportFilter.hxx4
-rw-r--r--xmloff/inc/xmlversion.hxx2
-rw-r--r--xmloff/source/chart/SchXMLImport.cxx2
-rw-r--r--xmloff/source/core/PropertySetMerger.cxx2
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx4
-rw-r--r--xmloff/source/core/unoatrcn.cxx2
-rw-r--r--xmloff/source/core/xmlimp.cxx6
-rw-r--r--xmloff/source/draw/animationimport.cxx8
-rw-r--r--xmloff/source/draw/shapeexport.cxx2
-rw-r--r--xmloff/source/meta/xmlversion.cxx2
-rw-r--r--xmloff/source/text/XMLAutoTextEventImport.cxx2
-rw-r--r--xmloff/source/text/XMLAutoTextEventImport.hxx2
-rw-r--r--xmloff/source/transform/MutableAttrList.cxx2
-rw-r--r--xmloff/source/transform/MutableAttrList.hxx2
-rw-r--r--xmloff/source/transform/OOo2Oasis.cxx6
-rw-r--r--xmloff/source/transform/OOo2Oasis.hxx10
-rw-r--r--xmloff/source/transform/Oasis2OOo.cxx6
-rw-r--r--xmloff/source/transform/Oasis2OOo.hxx6
-rw-r--r--xmloff/source/transform/TransformerBase.cxx4
-rw-r--r--xmloff/source/transform/TransformerBase.hxx4
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx2
800 files changed, 2433 insertions, 2433 deletions
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index 495664626b03..cba7eed36c38 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -85,7 +85,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -94,7 +94,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx
index 1c5aa98caf41..3fc19c126114 100644
--- a/UnoControls/inc/multiplexer.hxx
+++ b/UnoControls/inc/multiplexer.hxx
@@ -93,7 +93,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -102,7 +102,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
OMRCListenerMultiplexerHelper& operator= ( const OMRCListenerMultiplexerHelper& aCopyInstance );
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index 1993e74c64b4..f76b605202ab 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -88,7 +88,7 @@ Any SAL_CALL BaseControl::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL BaseControl::acquire() throw()
+void SAL_CALL BaseControl::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -99,7 +99,7 @@ void SAL_CALL BaseControl::acquire() throw()
// XInterface
-void SAL_CALL BaseControl::release() throw()
+void SAL_CALL BaseControl::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx
index a8322d845c43..6e737c7f9b26 100644
--- a/UnoControls/source/base/multiplexer.cxx
+++ b/UnoControls/source/base/multiplexer.cxx
@@ -125,7 +125,7 @@ Any SAL_CALL OMRCListenerMultiplexerHelper::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL OMRCListenerMultiplexerHelper::acquire() throw()
+void SAL_CALL OMRCListenerMultiplexerHelper::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -136,7 +136,7 @@ void SAL_CALL OMRCListenerMultiplexerHelper::acquire() throw()
// XInterface
-void SAL_CALL OMRCListenerMultiplexerHelper::release() throw()
+void SAL_CALL OMRCListenerMultiplexerHelper::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
index 6d24cbb1ff87..d0e9d30b611b 100644
--- a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
@@ -69,7 +69,7 @@ Any SAL_CALL OConnectionPointContainerHelper::queryInterface( const Type& aType
// XInterface
-void SAL_CALL OConnectionPointContainerHelper::acquire() throw()
+void SAL_CALL OConnectionPointContainerHelper::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -80,7 +80,7 @@ void SAL_CALL OConnectionPointContainerHelper::acquire() throw()
// XInterface
-void SAL_CALL OConnectionPointContainerHelper::release() throw()
+void SAL_CALL OConnectionPointContainerHelper::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx
index f2c99421d3c6..f44aef51aab1 100644
--- a/UnoControls/source/controls/OConnectionPointHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointHelper.cxx
@@ -75,7 +75,7 @@ Any SAL_CALL OConnectionPointHelper::queryInterface( const Type& aType )
// XInterface
-void SAL_CALL OConnectionPointHelper::acquire() throw()
+void SAL_CALL OConnectionPointHelper::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -86,7 +86,7 @@ void SAL_CALL OConnectionPointHelper::acquire() throw()
// XInterface
-void SAL_CALL OConnectionPointHelper::release() throw()
+void SAL_CALL OConnectionPointHelper::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx
index ddfa693a654b..73decca46274 100644
--- a/UnoControls/source/controls/framecontrol.cxx
+++ b/UnoControls/source/controls/framecontrol.cxx
@@ -94,7 +94,7 @@ Any SAL_CALL FrameControl::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL FrameControl::acquire() throw()
+void SAL_CALL FrameControl::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -105,7 +105,7 @@ void SAL_CALL FrameControl::acquire() throw()
// XInterface
-void SAL_CALL FrameControl::release() throw()
+void SAL_CALL FrameControl::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx
index a2a8222c0529..9d88ad8312f1 100644
--- a/UnoControls/source/controls/progressbar.cxx
+++ b/UnoControls/source/controls/progressbar.cxx
@@ -78,7 +78,7 @@ Any SAL_CALL ProgressBar::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL ProgressBar::acquire() throw()
+void SAL_CALL ProgressBar::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -89,7 +89,7 @@ void SAL_CALL ProgressBar::acquire() throw()
// XInterface
-void SAL_CALL ProgressBar::release() throw()
+void SAL_CALL ProgressBar::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index de9d596513de..bf384dfb7243 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -132,7 +132,7 @@ Any SAL_CALL ProgressMonitor::queryInterface( const Type& rType )
}
// XInterface
-void SAL_CALL ProgressMonitor::acquire() throw()
+void SAL_CALL ProgressMonitor::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -142,7 +142,7 @@ void SAL_CALL ProgressMonitor::acquire() throw()
}
// XInterface
-void SAL_CALL ProgressMonitor::release() throw()
+void SAL_CALL ProgressMonitor::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx
index f41088caca3d..50e5b8078a27 100644
--- a/UnoControls/source/controls/statusindicator.cxx
+++ b/UnoControls/source/controls/statusindicator.cxx
@@ -97,7 +97,7 @@ Any SAL_CALL StatusIndicator::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL StatusIndicator::acquire() throw()
+void SAL_CALL StatusIndicator::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -108,7 +108,7 @@ void SAL_CALL StatusIndicator::acquire() throw()
// XInterface
-void SAL_CALL StatusIndicator::release() throw()
+void SAL_CALL StatusIndicator::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
index a1a8a34178a7..54eed76e6ce1 100644
--- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
@@ -59,7 +59,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -68,7 +68,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XConnectionPointContainer
diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx
index f075b071a3cb..96529b20e795 100644
--- a/UnoControls/source/inc/OConnectionPointHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointHelper.hxx
@@ -62,7 +62,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -71,7 +71,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XConnectionPoint
diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx
index 4224a95bfbec..790aae1aa8f1 100644
--- a/UnoControls/source/inc/framecontrol.hxx
+++ b/UnoControls/source/inc/framecontrol.hxx
@@ -56,7 +56,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -65,7 +65,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx
index ef5eabe34781..dca88b90c4b4 100644
--- a/UnoControls/source/inc/progressbar.hxx
+++ b/UnoControls/source/inc/progressbar.hxx
@@ -60,7 +60,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -69,7 +69,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx
index 3fe17c578751..baa06de66ded 100644
--- a/UnoControls/source/inc/progressmonitor.hxx
+++ b/UnoControls/source/inc/progressmonitor.hxx
@@ -85,7 +85,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -94,7 +94,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx
index 14ac4e03b8d9..e1930e9da808 100644
--- a/UnoControls/source/inc/statusindicator.hxx
+++ b/UnoControls/source/inc/statusindicator.hxx
@@ -75,7 +75,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -84,7 +84,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
index 77c692825722..5c76747f6cd9 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
@@ -143,10 +143,10 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Acquires the object (calls acquire() on base class). */
- virtual void SAL_CALL acquire() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
/** Releases the object (calls release() on base class). */
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL release() noexcept override;
// XServiceInfo
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx
index 0ebccaac5f72..ff56b92c9f48 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx
@@ -127,10 +127,10 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Acquires the object (calls acquire() on base class). */
- virtual void SAL_CALL acquire() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
/** Releases the object (calls release() on base class). */
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx
index 8518e5e62b9d..2b7e28c7d48f 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx
@@ -56,10 +56,10 @@ namespace accessibility
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Acquires the object (calls acquire() on base class). */
- virtual void SAL_CALL acquire() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
/** Releases the object (calls release() on base class). */
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL release() noexcept override;
// XEventListener
using AccessibleBrowseBoxBase::disposing;
diff --git a/accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx b/accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx
index 699c7e37afa7..c9a0fde32032 100644
--- a/accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx
@@ -49,10 +49,10 @@ namespace accessibility
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Acquires the object (calls acquire() on base class). */
- virtual void SAL_CALL acquire() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
/** Releases the object (calls release() on base class). */
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL release() noexcept override;
// XAccessible
/** @return The XAccessibleContext interface of this object. */
diff --git a/accessibility/inc/extended/AccessibleGridControlTable.hxx b/accessibility/inc/extended/AccessibleGridControlTable.hxx
index b4f2b7a7dba3..73c4f6a19050 100644
--- a/accessibility/inc/extended/AccessibleGridControlTable.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlTable.hxx
@@ -130,10 +130,10 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Acquires the object (calls acquire() on base class). */
- virtual void SAL_CALL acquire() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
/** Releases the object (calls release() on base class). */
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL release() noexcept override;
// XServiceInfo
/** @return The name of this class. */
diff --git a/accessibility/inc/extended/AccessibleGridControlTableBase.hxx b/accessibility/inc/extended/AccessibleGridControlTableBase.hxx
index b56d3510c0c4..6ef2737afb87 100644
--- a/accessibility/inc/extended/AccessibleGridControlTableBase.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlTableBase.hxx
@@ -121,10 +121,10 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Acquires the object (calls acquire() on base class). */
- virtual void SAL_CALL acquire() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
/** Releases the object (calls release() on base class). */
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/accessibility/inc/extended/AccessibleGridControlTableCell.hxx b/accessibility/inc/extended/AccessibleGridControlTableCell.hxx
index d811156fe909..77077183b54b 100644
--- a/accessibility/inc/extended/AccessibleGridControlTableCell.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlTableCell.hxx
@@ -84,10 +84,10 @@ namespace accessibility
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Acquires the object (calls acquire() on base class). */
- virtual void SAL_CALL acquire() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
/** Releases the object (calls release() on base class). */
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL release() noexcept override;
/** @return The index of this object among the parent's children. */
virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
diff --git a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
index 0d2a3ab60451..7513b542f9c4 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
@@ -276,12 +276,12 @@ Any SAL_CALL AccessibleBrowseBoxHeaderBar::queryInterface( const uno::Type& rTyp
aAny : AccessibleBrowseBoxHeaderBarImplHelper::queryInterface( rType );
}
-void SAL_CALL AccessibleBrowseBoxHeaderBar::acquire() throw ()
+void SAL_CALL AccessibleBrowseBoxHeaderBar::acquire() noexcept
{
AccessibleBrowseBoxTableBase::acquire();
}
-void SAL_CALL AccessibleBrowseBoxHeaderBar::release() throw ()
+void SAL_CALL AccessibleBrowseBoxHeaderBar::release() noexcept
{
AccessibleBrowseBoxTableBase::release();
}
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
index 81ebfc592dac..1b80edcdd3d7 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
@@ -141,12 +141,12 @@ Any SAL_CALL AccessibleBrowseBoxTableBase::queryInterface( const uno::Type& rTyp
aAny : AccessibleBrowseBoxTableImplHelper::queryInterface( rType );
}
-void SAL_CALL AccessibleBrowseBoxTableBase::acquire() throw ()
+void SAL_CALL AccessibleBrowseBoxTableBase::acquire() noexcept
{
BrowseBoxAccessibleElement::acquire();
}
-void SAL_CALL AccessibleBrowseBoxTableBase::release() throw ()
+void SAL_CALL AccessibleBrowseBoxTableBase::release() noexcept
{
BrowseBoxAccessibleElement::release();
}
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
index d621e2e8bf64..0b7706099bbb 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
@@ -95,13 +95,13 @@ namespace accessibility
}
/** Acquires the object (calls acquire() on base class). */
- void SAL_CALL AccessibleBrowseBoxTableCell::acquire() throw ()
+ void SAL_CALL AccessibleBrowseBoxTableCell::acquire() noexcept
{
AccessibleBrowseBoxCell::acquire();
}
/** Releases the object (calls release() on base class). */
- void SAL_CALL AccessibleBrowseBoxTableCell::release() throw ()
+ void SAL_CALL AccessibleBrowseBoxTableCell::release() noexcept
{
AccessibleBrowseBoxCell::release();
}
diff --git a/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx b/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
index 2ad0e6c56d1f..72333d3405c5 100644
--- a/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
@@ -95,13 +95,13 @@ Reference<XAccessible > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleC
}
/** Acquires the object (calls acquire() on base class). */
- void SAL_CALL AccessibleGridControlHeaderCell::acquire() throw ()
+ void SAL_CALL AccessibleGridControlHeaderCell::acquire() noexcept
{
AccessibleGridControlCell::acquire();
}
/** Releases the object (calls release() on base class). */
- void SAL_CALL AccessibleGridControlHeaderCell::release() throw ()
+ void SAL_CALL AccessibleGridControlHeaderCell::release() noexcept
{
AccessibleGridControlCell::release();
}
diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx
index f147a7d364dd..eb222d6ed6ac 100644
--- a/accessibility/source/extended/AccessibleGridControlTable.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTable.cxx
@@ -279,12 +279,12 @@ Any SAL_CALL AccessibleGridControlTable::queryInterface( const uno::Type& rType
aAny : AccessibleGridControlTableSelectionImplHelper::queryInterface( rType );
}
-void SAL_CALL AccessibleGridControlTable::acquire() throw ()
+void SAL_CALL AccessibleGridControlTable::acquire() noexcept
{
AccessibleGridControlTableBase::acquire();
}
-void SAL_CALL AccessibleGridControlTable::release() throw ()
+void SAL_CALL AccessibleGridControlTable::release() noexcept
{
AccessibleGridControlTableBase::release();
}
diff --git a/accessibility/source/extended/AccessibleGridControlTableBase.cxx b/accessibility/source/extended/AccessibleGridControlTableBase.cxx
index 9bbf657de759..a3d17b4711c3 100644
--- a/accessibility/source/extended/AccessibleGridControlTableBase.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableBase.cxx
@@ -161,12 +161,12 @@ Any SAL_CALL AccessibleGridControlTableBase::queryInterface( const uno::Type& rT
aAny : AccessibleGridControlTableImplHelper::queryInterface( rType );
}
-void SAL_CALL AccessibleGridControlTableBase::acquire() throw ()
+void SAL_CALL AccessibleGridControlTableBase::acquire() noexcept
{
GridControlAccessibleElement::acquire();
}
-void SAL_CALL AccessibleGridControlTableBase::release() throw ()
+void SAL_CALL AccessibleGridControlTableBase::release() noexcept
{
GridControlAccessibleElement::release();
}
diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
index 1096e24115f7..cb38725dd225 100644
--- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
@@ -118,13 +118,13 @@ namespace accessibility
}
/** Acquires the object (calls acquire() on base class). */
- void SAL_CALL AccessibleGridControlTableCell::acquire() throw ()
+ void SAL_CALL AccessibleGridControlTableCell::acquire() noexcept
{
AccessibleGridControlCell::acquire();
}
/** Releases the object (calls release() on base class). */
- void SAL_CALL AccessibleGridControlTableCell::release() throw ()
+ void SAL_CALL AccessibleGridControlTableCell::release() noexcept
{
AccessibleGridControlCell::release();
}
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index 72853c5cdb45..425c1c8a6f7a 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -133,8 +133,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const Type& aType ) 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 Sequence< Type > SAL_CALL getTypes() override;
@@ -301,7 +301,7 @@ public:
private:
OInterfaceContainerHelper2 maChangeListener;
- static void initTypeProvider( sal_Int16 nNodeType ) throw();
+ static void initTypeProvider( sal_Int16 nNodeType ) noexcept;
const sal_Int16 mnNodeType;
@@ -742,7 +742,7 @@ Any SAL_CALL AnimationNode::queryInterface( const Type& aType )
}
-void AnimationNode::initTypeProvider( sal_Int16 nNodeType ) throw()
+void AnimationNode::initTypeProvider( sal_Int16 nNodeType ) noexcept
{
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
@@ -837,14 +837,14 @@ Sequence< sal_Int8 > AnimationNode::getImplementationId()
// XInterface
-void SAL_CALL AnimationNode::acquire( ) throw ()
+void SAL_CALL AnimationNode::acquire( ) noexcept
{
OWeakObject::acquire();
}
// XInterface
-void SAL_CALL AnimationNode::release( ) throw ()
+void SAL_CALL AnimationNode::release( ) noexcept
{
OWeakObject::release();
}
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index cf341f7226a5..7900419d2aba 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -36,13 +36,13 @@ namespace avmedia{
// XInterface, XTypeProvider, XServiceInfo
-void SAL_CALL SoundHandler::acquire() throw()
+void SAL_CALL SoundHandler::acquire() noexcept
{
/* Don't use mutex in methods of XInterface! */
OWeakObject::acquire();
}
-void SAL_CALL SoundHandler::release() throw()
+void SAL_CALL SoundHandler::release() noexcept
{
/* Don't use mutex in methods of XInterface! */
OWeakObject::release();
diff --git a/avmedia/source/framework/soundhandler.hxx b/avmedia/source/framework/soundhandler.hxx
index 8a1dfde2e457..5575bba1876c 100644
--- a/avmedia/source/framework/soundhandler.hxx
+++ b/avmedia/source/framework/soundhandler.hxx
@@ -68,8 +68,8 @@ class SoundHandler : // interfaces
// XInterface, XTypeProvider, XServiceInfo
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/basctl/source/basicide/basidectrlr.cxx b/basctl/source/basicide/basidectrlr.cxx
index 88e67bc3bbc0..849bff30cbe7 100644
--- a/basctl/source/basicide/basidectrlr.cxx
+++ b/basctl/source/basicide/basidectrlr.cxx
@@ -61,12 +61,12 @@ Any SAL_CALL Controller::queryInterface( const Type & rType )
return aReturn;
}
-void SAL_CALL Controller::acquire() throw()
+void SAL_CALL Controller::acquire() noexcept
{
SfxBaseController::acquire();
}
-void SAL_CALL Controller::release() throw()
+void SAL_CALL Controller::release() noexcept
{
SfxBaseController::release();
}
diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx
index f22634935fcc..4a9ee759f060 100644
--- a/basctl/source/basicide/unomodel.cxx
+++ b/basctl/source/basicide/unomodel.cxx
@@ -59,13 +59,13 @@ uno::Any SAL_CALL SIDEModel::queryInterface( const uno::Type& rType )
return aRet;
}
-void SAL_CALL SIDEModel::acquire() throw()
+void SAL_CALL SIDEModel::acquire() noexcept
{
SolarMutexGuard aGuard;
OWeakObject::acquire();
}
-void SAL_CALL SIDEModel::release() throw()
+void SAL_CALL SIDEModel::release() noexcept
{
SolarMutexGuard aGuard;
OWeakObject::release();
diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx
index 23b458fd8220..b47873005699 100644
--- a/basctl/source/basicide/unomodel.hxx
+++ b/basctl/source/basicide/unomodel.hxx
@@ -35,8 +35,8 @@ public:
//XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
diff --git a/basctl/source/inc/basidectrlr.hxx b/basctl/source/inc/basidectrlr.hxx
index 7db0824df744..a32e1ffd94af 100644
--- a/basctl/source/inc/basidectrlr.hxx
+++ b/basctl/source/inc/basidectrlr.hxx
@@ -45,8 +45,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 ( ::SfxBaseController )
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx
index d3bed44db854..059d48354d72 100644
--- a/basic/source/inc/namecont.hxx
+++ b/basic/source/inc/namecont.hxx
@@ -539,8 +539,8 @@ public:
// Methods XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
- virtual void SAL_CALL acquire() throw() override { OComponentHelper::acquire(); }
- virtual void SAL_CALL release() throw() override { OComponentHelper::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OComponentHelper::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OComponentHelper::release(); }
// Methods XElementAccess
virtual css::uno::Type SAL_CALL getElementType( ) override;
diff --git a/binaryurp/source/binaryany.cxx b/binaryurp/source/binaryany.cxx
index af1493331160..17db2f3775ef 100644
--- a/binaryurp/source/binaryany.cxx
+++ b/binaryurp/source/binaryany.cxx
@@ -50,18 +50,18 @@ void moveInternals(uno_Any & from, uno_Any & to) {
}
-BinaryAny::BinaryAny() throw () {
+BinaryAny::BinaryAny() noexcept {
uno_any_construct(&data_, nullptr, nullptr, nullptr);
}
BinaryAny::BinaryAny(css::uno::TypeDescription const & type, void * value)
- throw ()
+ noexcept
{
assert(type.is());
uno_any_construct(&data_, value, type.get(), nullptr);
}
-BinaryAny::BinaryAny(uno_Any const & raw) throw () {
+BinaryAny::BinaryAny(uno_Any const & raw) noexcept {
assert(raw.pType != nullptr);
data_.pType = raw.pType;
typelib_typedescriptionreference_acquire(data_.pType);
@@ -69,37 +69,37 @@ BinaryAny::BinaryAny(uno_Any const & raw) throw () {
data_.pReserved = raw.pReserved;
}
-BinaryAny::BinaryAny(BinaryAny const & other) throw () {
+BinaryAny::BinaryAny(BinaryAny const & other) noexcept {
uno_type_any_construct(&data_, other.data_.pData, other.data_.pType, nullptr);
}
-BinaryAny::BinaryAny(BinaryAny && other) throw () {
+BinaryAny::BinaryAny(BinaryAny && other) noexcept {
moveInternals(other.data_, data_);
}
-BinaryAny::~BinaryAny() throw () {
+BinaryAny::~BinaryAny() noexcept {
uno_any_destruct(&data_, nullptr);
}
-BinaryAny & BinaryAny::operator =(BinaryAny const & other) throw () {
+BinaryAny & BinaryAny::operator =(BinaryAny const & other) noexcept {
if (&other != this) {
uno_type_any_assign(&data_, other.data_.pData, other.data_.pType, nullptr, nullptr);
}
return *this;
}
-BinaryAny & BinaryAny::operator =(BinaryAny && other) throw () {
+BinaryAny & BinaryAny::operator =(BinaryAny && other) noexcept {
uno_any_destruct(&data_, nullptr);
moveInternals(other.data_, data_);
return *this;
}
-css::uno::TypeDescription BinaryAny::getType() const throw () {
+css::uno::TypeDescription BinaryAny::getType() const noexcept {
return css::uno::TypeDescription(data_.pType);
}
void * BinaryAny::getValue(css::uno::TypeDescription const & type) const
- throw ()
+ noexcept
{
assert(type.is());
assert(
diff --git a/binaryurp/source/binaryany.hxx b/binaryurp/source/binaryany.hxx
index fdf52216a154..c04fe8f8624a 100644
--- a/binaryurp/source/binaryany.hxx
+++ b/binaryurp/source/binaryany.hxx
@@ -29,31 +29,31 @@ namespace binaryurp {
class BinaryAny {
public:
- BinaryAny() throw ();
+ BinaryAny() noexcept;
BinaryAny(com::sun::star::uno::TypeDescription const & type, void * value)
- throw ();
+ noexcept;
- explicit BinaryAny(uno_Any const & raw) throw ();
+ explicit BinaryAny(uno_Any const & raw) noexcept;
// takes over raw.pData (but copies raw.pType); raw must not be passed
// to uno_any_destruct
- BinaryAny(BinaryAny const & other) throw ();
+ BinaryAny(BinaryAny const & other) noexcept;
- BinaryAny(BinaryAny && other) throw ();
+ BinaryAny(BinaryAny && other) noexcept;
- ~BinaryAny() throw ();
+ ~BinaryAny() noexcept;
- BinaryAny & operator =(BinaryAny const & other) throw ();
+ BinaryAny & operator =(BinaryAny const & other) noexcept;
- BinaryAny & operator =(BinaryAny && other) throw ();
+ BinaryAny & operator =(BinaryAny && other) noexcept;
- uno_Any& get() throw () { return data_; }
+ uno_Any& get() noexcept { return data_; }
- com::sun::star::uno::TypeDescription getType() const throw ();
+ com::sun::star::uno::TypeDescription getType() const noexcept;
void * getValue(com::sun::star::uno::TypeDescription const & type) const
- throw ();
+ noexcept;
private:
mutable uno_Any data_;
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx
index fccef42d98f4..acefb175e8ec 100644
--- a/binaryurp/source/bridge.cxx
+++ b/binaryurp/source/bridge.cxx
@@ -103,7 +103,7 @@ public:
~AttachThread();
- const rtl::ByteSequence& getTid() const throw () { return tid_;}
+ const rtl::ByteSequence& getTid() const noexcept { return tid_;}
private:
AttachThread(const AttachThread&) = delete;
@@ -546,7 +546,7 @@ void Bridge::freeProxy(Proxy & proxy) {
terminateWhenUnused(unused);
}
-void Bridge::incrementCalls(bool normalCall) throw () {
+void Bridge::incrementCalls(bool normalCall) noexcept {
osl::MutexGuard g(mutex_);
assert(calls_ < std::numeric_limits< std::size_t >::max());
++calls_;
@@ -564,7 +564,7 @@ void Bridge::decrementCalls() {
terminateWhenUnused(unused);
}
-void Bridge::incrementActiveCalls() throw () {
+void Bridge::incrementActiveCalls() noexcept {
osl::MutexGuard g(mutex_);
assert(
activeCalls_ <= calls_ &&
@@ -573,7 +573,7 @@ void Bridge::incrementActiveCalls() throw () {
passive_.reset();
}
-void Bridge::decrementActiveCalls() throw () {
+void Bridge::decrementActiveCalls() noexcept {
osl::MutexGuard g(mutex_);
assert(activeCalls_ <= calls_ && activeCalls_ > 0);
--activeCalls_;
diff --git a/binaryurp/source/bridge.hxx b/binaryurp/source/bridge.hxx
index 1a51ffac0626..e0d5ce39b671 100644
--- a/binaryurp/source/bridge.hxx
+++ b/binaryurp/source/bridge.hxx
@@ -121,13 +121,13 @@ public:
void freeProxy(Proxy & proxy);
- void incrementCalls(bool normalCall) throw ();
+ void incrementCalls(bool normalCall) noexcept;
void decrementCalls();
- void incrementActiveCalls() throw ();
+ void incrementActiveCalls() noexcept;
- void decrementActiveCalls() throw ();
+ void decrementActiveCalls() noexcept;
bool makeCall(
OUString const & oid,
diff --git a/binaryurp/source/outgoingrequests.cxx b/binaryurp/source/outgoingrequests.cxx
index d18c01434f8f..859aa8b9270d 100644
--- a/binaryurp/source/outgoingrequests.cxx
+++ b/binaryurp/source/outgoingrequests.cxx
@@ -53,7 +53,7 @@ OutgoingRequest OutgoingRequests::top(rtl::ByteSequence const & tid) {
return i->second.back();
}
-void OutgoingRequests::pop(rtl::ByteSequence const & tid) throw () {
+void OutgoingRequests::pop(rtl::ByteSequence const & tid) noexcept {
osl::MutexGuard g(mutex_);
Map::iterator i(map_.find(tid));
assert(i != map_.end());
diff --git a/binaryurp/source/outgoingrequests.hxx b/binaryurp/source/outgoingrequests.hxx
index 7816032596f1..294119693d02 100644
--- a/binaryurp/source/outgoingrequests.hxx
+++ b/binaryurp/source/outgoingrequests.hxx
@@ -48,7 +48,7 @@ public:
OutgoingRequest top(rtl::ByteSequence const& tid);
- void pop(rtl::ByteSequence const& tid) throw();
+ void pop(rtl::ByteSequence const& tid) noexcept;
private:
OutgoingRequests(const OutgoingRequests&) = delete;
diff --git a/binaryurp/source/unmarshal.cxx b/binaryurp/source/unmarshal.cxx
index 8cf8676edad4..d307c81cc0b5 100644
--- a/binaryurp/source/unmarshal.cxx
+++ b/binaryurp/source/unmarshal.cxx
@@ -62,7 +62,7 @@ void * allocate(sal_Size size) {
std::vector< BinaryAny >::iterator copyMemberValues(
css::uno::TypeDescription const & type,
- std::vector< BinaryAny >::iterator const & it, void * buffer) throw ()
+ std::vector< BinaryAny >::iterator const & it, void * buffer) noexcept
{
assert(
type.is() &&
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
index ceed901f9e11..584197c1a226 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
@@ -95,7 +95,7 @@ enum x86_64_reg_class
static enum x86_64_reg_class
merge_classes (enum x86_64_reg_class class1, enum x86_64_reg_class class2)
- throw ()
+ noexcept
{
/* Rule #1: If both classes are equal, this is the resulting class. */
if (class1 == class2)
@@ -138,7 +138,7 @@ merge_classes (enum x86_64_reg_class class1, enum x86_64_reg_class class2)
See the x86-64 PS ABI for details.
*/
static int
-classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_class classes[], int byteOffset ) throw ()
+classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_class classes[], int byteOffset ) noexcept
{
switch ( pTypeRef->eTypeClass )
{
@@ -257,7 +257,7 @@ classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_c
/* Examine the argument and return set number of register required in each
class. Return 0 iff parameter should be passed in memory. */
-bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInReturn, int &nUsedGPR, int &nUsedSSE ) throw ()
+bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInReturn, int &nUsedGPR, int &nUsedSSE ) noexcept
{
enum x86_64_reg_class classes[MAX_CLASSES];
int n;
@@ -296,14 +296,14 @@ bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool
return true;
}
-bool x86_64::return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef ) throw ()
+bool x86_64::return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef ) noexcept
{
int g, s;
return !examine_argument( pTypeRef, true, g, s );
}
-void x86_64::fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64 *pGPR, const double *pSSE, void *pStruct ) throw ()
+void x86_64::fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64 *pGPR, const double *pSSE, void *pStruct ) noexcept
{
enum x86_64_reg_class classes[MAX_CLASSES];
int n;
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.hxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.hxx
index e8f8785c4a60..20bfc7286b4d 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.hxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.hxx
@@ -41,7 +41,7 @@ const sal_uInt32 MAX_SSE_REGS = 8;
Return false iff parameter should be passed in memory.
*/
-bool examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInReturn, int &nUsedGPR, int &nUsedSSE ) throw ();
+bool examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInReturn, int &nUsedGPR, int &nUsedSSE ) noexcept;
/** Does function that returns this type use a hidden parameter, or registers?
@@ -49,9 +49,9 @@ bool examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInRetur
pointer to a structure allocated by the caller), or in registers (rax, rdx
for the integers, xmm0, xmm1 for the floating point numbers).
*/
-bool return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef ) throw ();
+bool return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef ) noexcept;
-void fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64* pGPR, const double* pSSE, void *pStruct ) throw ();
+void fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64* pGPR, const double* pSSE, void *pStruct ) noexcept;
} // namespace x86_64
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
index 1b8c50d385f1..0b2a87cd67c0 100644
--- a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
+++ b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
@@ -71,11 +71,11 @@ uno::Any SAL_CALL CreationWizardUnoDlg::queryInterface( const uno::Type& aType )
{
return OComponentHelper::queryInterface( aType );
}
-void SAL_CALL CreationWizardUnoDlg::acquire() throw ()
+void SAL_CALL CreationWizardUnoDlg::acquire() noexcept
{
OComponentHelper::acquire();
}
-void SAL_CALL CreationWizardUnoDlg::release() throw ()
+void SAL_CALL CreationWizardUnoDlg::release() noexcept
{
OComponentHelper::release();
}
diff --git a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
index 645d4bbec094..b58b918c249d 100644
--- a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
+++ b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
@@ -57,8 +57,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & 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;
diff --git a/chart2/source/controller/main/ElementSelector.cxx b/chart2/source/controller/main/ElementSelector.cxx
index aea893a66ffa..8e448fa355fe 100644
--- a/chart2/source/controller/main/ElementSelector.cxx
+++ b/chart2/source/controller/main/ElementSelector.cxx
@@ -274,11 +274,11 @@ Any SAL_CALL ElementSelectorToolbarController::queryInterface( const Type& _rTyp
aReturn = ElementSelectorToolbarController_BASE::queryInterface(_rType);
return aReturn;
}
-void SAL_CALL ElementSelectorToolbarController::acquire() throw ()
+void SAL_CALL ElementSelectorToolbarController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL ElementSelectorToolbarController::release() throw ()
+void SAL_CALL ElementSelectorToolbarController::release() noexcept
{
ToolboxController::release();
}
diff --git a/chart2/source/controller/main/ElementSelector.hxx b/chart2/source/controller/main/ElementSelector.hxx
index 83e605819f41..67305fcf8266 100644
--- a/chart2/source/controller/main/ElementSelector.hxx
+++ b/chart2/source/controller/main/ElementSelector.hxx
@@ -82,8 +82,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XStatusListener
virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) override;
diff --git a/chart2/source/inc/FormattedStringHelper.hxx b/chart2/source/inc/FormattedStringHelper.hxx
index be2011b677e1..45ce0b30142e 100644
--- a/chart2/source/inc/FormattedStringHelper.hxx
+++ b/chart2/source/inc/FormattedStringHelper.hxx
@@ -36,7 +36,7 @@ public:
createFormattedStringSequence(
const css::uno::Reference< css::uno::XComponentContext > & xContext
, const OUString & rString
- , const css::uno::Reference< css::beans::XPropertySet > & xTextProperties ) throw();
+ , const css::uno::Reference< css::beans::XPropertySet > & xTextProperties ) noexcept;
};
} //namespace chart
diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx
index f295bc288eb2..1201d9875bbf 100644
--- a/chart2/source/model/main/UndoManager.cxx
+++ b/chart2/source/model/main/UndoManager.cxx
@@ -182,12 +182,12 @@ namespace chart
{
}
- void SAL_CALL UndoManager::acquire() throw ()
+ void SAL_CALL UndoManager::acquire() noexcept
{
m_pImpl->getParent().acquire();
}
- void SAL_CALL UndoManager::release() throw ()
+ void SAL_CALL UndoManager::release() noexcept
{
m_pImpl->getParent().release();
}
diff --git a/chart2/source/model/main/UndoManager.hxx b/chart2/source/model/main/UndoManager.hxx
index f9343d67bc6c..4d0a214e5a70 100644
--- a/chart2/source/model/main/UndoManager.hxx
+++ b/chart2/source/model/main/UndoManager.hxx
@@ -44,8 +44,8 @@ namespace chart
virtual ~UndoManager();
// XInterface
- 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;
// XComponent equivalents
void disposing();
diff --git a/chart2/source/tools/FormattedStringHelper.cxx b/chart2/source/tools/FormattedStringHelper.cxx
index ff885494d231..755dd532b042 100644
--- a/chart2/source/tools/FormattedStringHelper.cxx
+++ b/chart2/source/tools/FormattedStringHelper.cxx
@@ -34,7 +34,7 @@ Sequence< Reference< chart2::XFormattedString2 > >
FormattedStringHelper::createFormattedStringSequence(
const Reference< uno::XComponentContext > & xContext
, const OUString & rString
- , const Reference< beans::XPropertySet > & xTextProperties ) throw()
+ , const Reference< beans::XPropertySet > & xTextProperties ) noexcept
{
Reference< XFormattedString2 > xFormStr;
try
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx
index be8543cde74c..4a6b2cf345c1 100644
--- a/codemaker/source/codemaker/global.cxx
+++ b/codemaker/source/codemaker/global.cxx
@@ -360,6 +360,6 @@ FileStream & operator <<(FileStream & out, std::u16string_view s) {
return out << OUStringToOString(s, RTL_TEXTENCODING_UTF8);
}
-CannotDumpException::~CannotDumpException() throw () {}
+CannotDumpException::~CannotDumpException() noexcept {}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/container/IndexedPropertyValuesContainer.cxx b/comphelper/source/container/IndexedPropertyValuesContainer.cxx
index 639fb625797e..c0086061b033 100644
--- a/comphelper/source/container/IndexedPropertyValuesContainer.cxx
+++ b/comphelper/source/container/IndexedPropertyValuesContainer.cxx
@@ -39,7 +39,7 @@ namespace {
class IndexedPropertyValuesContainer : public cppu::WeakImplHelper< container::XIndexContainer, lang::XServiceInfo >
{
public:
- IndexedPropertyValuesContainer() throw();
+ IndexedPropertyValuesContainer() noexcept;
// XIndexContainer
virtual void SAL_CALL insertByIndex( sal_Int32 nIndex, const css::uno::Any& aElement ) override;
@@ -67,7 +67,7 @@ private:
}
-IndexedPropertyValuesContainer::IndexedPropertyValuesContainer() throw()
+IndexedPropertyValuesContainer::IndexedPropertyValuesContainer() noexcept
{
}
diff --git a/comphelper/source/container/NamedPropertyValuesContainer.cxx b/comphelper/source/container/NamedPropertyValuesContainer.cxx
index dbd0e422b5fb..a44837f11700 100644
--- a/comphelper/source/container/NamedPropertyValuesContainer.cxx
+++ b/comphelper/source/container/NamedPropertyValuesContainer.cxx
@@ -37,7 +37,7 @@ namespace {
class NamedPropertyValuesContainer : public cppu::WeakImplHelper< container::XNameContainer, lang::XServiceInfo >
{
public:
- NamedPropertyValuesContainer() throw();
+ NamedPropertyValuesContainer() noexcept;
// XNameContainer
virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement ) override;
@@ -66,7 +66,7 @@ private:
}
-NamedPropertyValuesContainer::NamedPropertyValuesContainer() throw()
+NamedPropertyValuesContainer::NamedPropertyValuesContainer() noexcept
{
}
diff --git a/comphelper/source/property/ChainablePropertySet.cxx b/comphelper/source/property/ChainablePropertySet.cxx
index 0360c2e03ad1..65a53e62479f 100644
--- a/comphelper/source/property/ChainablePropertySet.cxx
+++ b/comphelper/source/property/ChainablePropertySet.cxx
@@ -31,14 +31,14 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
ChainablePropertySet::ChainablePropertySet( comphelper::ChainablePropertySetInfo* pInfo, comphelper::SolarMutex* pMutex )
- throw()
+ noexcept
: mpMutex ( pMutex )
, mxInfo ( pInfo )
{
}
ChainablePropertySet::~ChainablePropertySet()
- throw()
+ noexcept
{
}
diff --git a/comphelper/source/property/ChainablePropertySetInfo.cxx b/comphelper/source/property/ChainablePropertySetInfo.cxx
index 26cf2f6e3d70..10b4d5fda622 100644
--- a/comphelper/source/property/ChainablePropertySetInfo.cxx
+++ b/comphelper/source/property/ChainablePropertySetInfo.cxx
@@ -38,7 +38,7 @@ ChainablePropertySetInfo::ChainablePropertySetInfo( PropertyInfo const * pMap )
}
ChainablePropertySetInfo::~ChainablePropertySetInfo()
- throw()
+ noexcept
{
}
diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx
index a06aeb0b5031..3f6f0119dbb6 100644
--- a/comphelper/source/property/MasterPropertySet.cxx
+++ b/comphelper/source/property/MasterPropertySet.cxx
@@ -61,7 +61,7 @@ SlaveData::SlaveData ( ChainablePropertySet *pSlave)
}
MasterPropertySet::MasterPropertySet( comphelper::MasterPropertySetInfo* pInfo, comphelper::SolarMutex* pMutex )
- throw()
+ noexcept
: mpMutex ( pMutex )
, mnLastId ( 0 )
, mxInfo ( pInfo )
@@ -69,7 +69,7 @@ MasterPropertySet::MasterPropertySet( comphelper::MasterPropertySetInfo* pInfo,
}
MasterPropertySet::~MasterPropertySet()
- throw()
+ noexcept
{
for( const auto& rSlave : maSlaveMap )
delete rSlave.second;
@@ -82,7 +82,7 @@ Reference< XPropertySetInfo > SAL_CALL MasterPropertySet::getPropertySetInfo( )
}
void MasterPropertySet::registerSlave ( ChainablePropertySet *pNewSet )
- throw()
+ noexcept
{
maSlaveMap [ ++mnLastId ] = new SlaveData ( pNewSet );
mxInfo->add ( pNewSet->mxInfo->maMap, mnLastId );
diff --git a/comphelper/source/property/MasterPropertySetInfo.cxx b/comphelper/source/property/MasterPropertySetInfo.cxx
index 1b1a2249ec08..db8ddb769975 100644
--- a/comphelper/source/property/MasterPropertySetInfo.cxx
+++ b/comphelper/source/property/MasterPropertySetInfo.cxx
@@ -38,7 +38,7 @@ MasterPropertySetInfo::MasterPropertySetInfo( PropertyInfo const * pMap )
}
MasterPropertySetInfo::~MasterPropertySetInfo()
- throw()
+ noexcept
{
for( const auto& rObj : maMap )
delete rObj.second;
diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx
index fd591774cdeb..4bf9d31dc5f0 100644
--- a/comphelper/source/property/genericpropertyset.cxx
+++ b/comphelper/source/property/genericpropertyset.cxx
@@ -64,13 +64,13 @@ namespace comphelper
virtual void _getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValue ) override;
public:
- explicit GenericPropertySet( PropertySetInfo* pInfo ) throw();
+ explicit GenericPropertySet( PropertySetInfo* pInfo ) noexcept;
// XInterface
virtual Any SAL_CALL queryAggregation( const Type & rType ) override;
virtual Any SAL_CALL queryInterface( const 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 Sequence< Type > SAL_CALL getTypes( ) override;
@@ -90,7 +90,7 @@ namespace comphelper
}
-GenericPropertySet::GenericPropertySet( PropertySetInfo* pInfo ) throw()
+GenericPropertySet::GenericPropertySet( PropertySetInfo* pInfo ) noexcept
: PropertySetHelper( pInfo )
,m_aListener(maMutex)
{
@@ -205,12 +205,12 @@ Any SAL_CALL GenericPropertySet::queryAggregation( const Type & rType )
return aAny;
}
-void SAL_CALL GenericPropertySet::acquire() throw()
+void SAL_CALL GenericPropertySet::acquire() noexcept
{
OWeakAggObject::acquire();
}
-void SAL_CALL GenericPropertySet::release() throw()
+void SAL_CALL GenericPropertySet::release() noexcept
{
OWeakAggObject::release();
}
diff --git a/comphelper/source/property/propertysethelper.cxx b/comphelper/source/property/propertysethelper.cxx
index a8a6e6a964d5..ce5f84f95d6e 100644
--- a/comphelper/source/property/propertysethelper.cxx
+++ b/comphelper/source/property/propertysethelper.cxx
@@ -30,7 +30,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
-static PropertyMapEntry const * find( rtl::Reference<PropertySetInfo>& mxInfo, const OUString& aName ) throw()
+static PropertyMapEntry const * find( rtl::Reference<PropertySetInfo>& mxInfo, const OUString& aName ) noexcept
{
PropertyMap::const_iterator aIter = mxInfo->getPropertyMap().find( aName );
@@ -41,12 +41,12 @@ static PropertyMapEntry const * find( rtl::Reference<PropertySetInfo>& mxInfo, c
}
-PropertySetHelper::PropertySetHelper( rtl::Reference<comphelper::PropertySetInfo> const & xInfo ) throw()
+PropertySetHelper::PropertySetHelper( rtl::Reference<comphelper::PropertySetInfo> const & xInfo ) noexcept
: mxInfo(xInfo)
{
}
-PropertySetHelper::~PropertySetHelper() throw()
+PropertySetHelper::~PropertySetHelper() noexcept
{
}
diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx
index a77a32799c7d..fd68b529392a 100644
--- a/comphelper/source/property/propertysetinfo.cxx
+++ b/comphelper/source/property/propertysetinfo.cxx
@@ -34,18 +34,18 @@ namespace comphelper
class PropertyMapImpl final
{
public:
- PropertyMapImpl() throw();
+ PropertyMapImpl() noexcept;
- void add(PropertyMapEntry const * pMap) throw();
- void remove( const OUString& aName ) throw();
+ void add(PropertyMapEntry const * pMap) noexcept;
+ void remove( const OUString& aName ) noexcept;
- std::vector< Property > const & getProperties() throw();
+ std::vector< Property > const & getProperties() noexcept;
- const PropertyMap& getPropertyMap() const throw() { return maPropertyMap;}
+ const PropertyMap& getPropertyMap() const noexcept { return maPropertyMap;}
/// @throws UnknownPropertyException
Property getPropertyByName( const OUString& aName );
- bool hasPropertyByName( const OUString& aName ) throw();
+ bool hasPropertyByName( const OUString& aName ) noexcept;
private:
PropertyMap maPropertyMap;
@@ -53,11 +53,11 @@ private:
};
}
-PropertyMapImpl::PropertyMapImpl() throw()
+PropertyMapImpl::PropertyMapImpl() noexcept
{
}
-void PropertyMapImpl::add(PropertyMapEntry const * pMap) throw()
+void PropertyMapImpl::add(PropertyMapEntry const * pMap) noexcept
{
while (!pMap->maName.isEmpty())
{
@@ -72,14 +72,14 @@ void PropertyMapImpl::add(PropertyMapEntry const * pMap) throw()
}
}
-void PropertyMapImpl::remove( const OUString& aName ) throw()
+void PropertyMapImpl::remove( const OUString& aName ) noexcept
{
maPropertyMap.erase( aName );
maProperties.clear();
}
-std::vector< Property > const & PropertyMapImpl::getProperties() throw()
+std::vector< Property > const & PropertyMapImpl::getProperties() noexcept
{
// maybe we have to generate the properties after
// a change in the property map or at first call
@@ -118,24 +118,24 @@ Property PropertyMapImpl::getPropertyByName( const OUString& aName )
return Property( aName, pEntry->mnHandle, pEntry->maType, pEntry->mnAttributes );
}
-bool PropertyMapImpl::hasPropertyByName( const OUString& aName ) throw()
+bool PropertyMapImpl::hasPropertyByName( const OUString& aName ) noexcept
{
return maPropertyMap.find( aName ) != maPropertyMap.end();
}
-PropertySetInfo::PropertySetInfo() throw()
+PropertySetInfo::PropertySetInfo() noexcept
: mpImpl(new PropertyMapImpl)
{
}
-PropertySetInfo::PropertySetInfo( PropertyMapEntry const * pMap ) throw()
+PropertySetInfo::PropertySetInfo( PropertyMapEntry const * pMap ) noexcept
: mpImpl(new PropertyMapImpl)
{
mpImpl->add( pMap );
}
-PropertySetInfo::PropertySetInfo(uno::Sequence<beans::Property> const& rProps) throw()
+PropertySetInfo::PropertySetInfo(uno::Sequence<beans::Property> const& rProps) noexcept
: mpImpl(new PropertyMapImpl)
{
PropertyMapEntry * pEntries(new PropertyMapEntry[rProps.getLength() + 1]);
@@ -153,16 +153,16 @@ PropertySetInfo::PropertySetInfo(uno::Sequence<beans::Property> const& rProps) t
mpImpl->add(pEntries);
}
-PropertySetInfo::~PropertySetInfo() throw()
+PropertySetInfo::~PropertySetInfo() noexcept
{
}
-void PropertySetInfo::add( PropertyMapEntry const * pMap ) throw()
+void PropertySetInfo::add( PropertyMapEntry const * pMap ) noexcept
{
mpImpl->add( pMap );
}
-void PropertySetInfo::remove( const OUString& aName ) throw()
+void PropertySetInfo::remove( const OUString& aName ) noexcept
{
mpImpl->remove( aName );
}
@@ -182,7 +182,7 @@ sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName( const OUString& Name )
return mpImpl->hasPropertyByName( Name );
}
-const PropertyMap& PropertySetInfo::getPropertyMap() const throw()
+const PropertyMap& PropertySetInfo::getPropertyMap() const noexcept
{
return mpImpl->getPropertyMap();
}
diff --git a/comphelper/source/property/propstate.cxx b/comphelper/source/property/propstate.cxx
index d48a72d094cf..183f51efcedf 100644
--- a/comphelper/source/property/propstate.cxx
+++ b/comphelper/source/property/propstate.cxx
@@ -210,13 +210,13 @@ namespace comphelper
}
- void SAL_CALL OStatefulPropertySet::acquire() throw()
+ void SAL_CALL OStatefulPropertySet::acquire() noexcept
{
::cppu::OWeakObject::acquire();
}
- void SAL_CALL OStatefulPropertySet::release() throw()
+ void SAL_CALL OStatefulPropertySet::release() noexcept
{
::cppu::OWeakObject::release();
}
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index 86e09cbae35f..fa2aa1fe6eb0 100644
--- a/configmgr/source/access.cxx
+++ b/configmgr/source/access.cxx
@@ -1270,7 +1270,7 @@ void Access::initDisposeBroadcaster(Broadcaster * broadcaster) {
}
}
-void Access::clearListeners() throw() {
+void Access::clearListeners() noexcept {
disposeListeners_.clear();
containerListeners_.clear();
propertyChangeListeners_.clear();
diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx
index a6c0be563f85..6d4ca787f3cc 100644
--- a/configmgr/source/access.hxx
+++ b/configmgr/source/access.hxx
@@ -312,7 +312,7 @@ protected:
std::vector<OUString> * services) = 0;
virtual void initDisposeBroadcaster(Broadcaster * broadcaster);
- virtual void clearListeners() throw ();
+ virtual void clearListeners() noexcept;
virtual css::uno::Any SAL_CALL queryInterface(
css::uno::Type const & aType) override;
diff --git a/configmgr/source/childaccess.cxx b/configmgr/source/childaccess.cxx
index 8d05eb8fe61a..41636b0e1bbe 100644
--- a/configmgr/source/childaccess.cxx
+++ b/configmgr/source/childaccess.cxx
@@ -133,11 +133,11 @@ rtl::Reference< Access > ChildAccess::getParentAccess() {
return parent_;
}
-void ChildAccess::acquire() throw () {
+void ChildAccess::acquire() noexcept {
Access::acquire();
}
-void ChildAccess::release() throw () {
+void ChildAccess::release() noexcept {
Access::release();
}
@@ -171,7 +171,7 @@ sal_Int64 ChildAccess::getSomething(
void ChildAccess::bind(
rtl::Reference< RootAccess > const & root,
rtl::Reference< Access > const & parent, OUString const & name)
- throw ()
+ noexcept
{
assert(!parent_.is() && root.is() && parent.is() && !name.isEmpty());
root_ = root;
@@ -179,7 +179,7 @@ void ChildAccess::bind(
name_ = name;
}
-void ChildAccess::unbind() throw () {
+void ChildAccess::unbind() noexcept {
assert(parent_.is());
parent_->releaseChild(name_);
parent_.clear();
diff --git a/configmgr/source/childaccess.hxx b/configmgr/source/childaccess.hxx
index 3742dff3f969..2aecdf6757ea 100644
--- a/configmgr/source/childaccess.hxx
+++ b/configmgr/source/childaccess.hxx
@@ -75,8 +75,8 @@ public:
virtual rtl::Reference< RootAccess > getRootAccess() override;
virtual rtl::Reference< Access > getParentAccess() 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;
virtual css::uno::Reference< css::uno::XInterface >
SAL_CALL getParent() override;
@@ -90,9 +90,9 @@ public:
void bind(
rtl::Reference< RootAccess > const & root,
rtl::Reference< Access > const & parent, OUString const & name)
- throw ();
+ noexcept;
- void unbind() throw ();
+ void unbind() noexcept;
bool isInTransaction() const { return inTransaction_; }
void committed();
diff --git a/configmgr/source/rootaccess.cxx b/configmgr/source/rootaccess.cxx
index 985560d02177..17c8f7ec12a2 100644
--- a/configmgr/source/rootaccess.cxx
+++ b/configmgr/source/rootaccess.cxx
@@ -90,11 +90,11 @@ void RootAccess::initBroadcaster(
}
}
-void RootAccess::acquire() throw () {
+void RootAccess::acquire() noexcept {
Access::acquire();
}
-void RootAccess::release() throw () {
+void RootAccess::release() noexcept {
Access::release();
}
@@ -273,7 +273,7 @@ void RootAccess::initDisposeBroadcaster(Broadcaster * broadcaster) {
Access::initDisposeBroadcaster(broadcaster);
}
-void RootAccess::clearListeners() throw() {
+void RootAccess::clearListeners() noexcept {
changesListeners_.clear();
Access::clearListeners();
}
diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx
index bd20834db925..11fbea450eed 100644
--- a/configmgr/source/rootaccess.hxx
+++ b/configmgr/source/rootaccess.hxx
@@ -61,9 +61,9 @@ public:
virtual void initBroadcaster(
Modifications::Node const & modifications, Broadcaster * broadcaster) 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;
OUString const & getAbsolutePathRepresentation();
@@ -112,7 +112,7 @@ private:
virtual void initDisposeBroadcaster(Broadcaster * broadcaster) override;
- virtual void clearListeners() throw () override;
+ virtual void clearListeners() noexcept override;
virtual css::uno::Any SAL_CALL queryInterface(
css::uno::Type const & aType) override;
diff --git a/connectivity/inc/sdbcx/VGroup.hxx b/connectivity/inc/sdbcx/VGroup.hxx
index 6ab971680f34..9c292adc6d02 100644
--- a/connectivity/inc/sdbcx/VGroup.hxx
+++ b/connectivity/inc/sdbcx/VGroup.hxx
@@ -64,8 +64,8 @@ namespace connectivity::sdbcx
DECLARE_SERVICE_INFO();
// XInterface
- 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;
//XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
diff --git a/connectivity/inc/sdbcx/VIndex.hxx b/connectivity/inc/sdbcx/VIndex.hxx
index 9b486d85d04d..c31bf5c4e20d 100644
--- a/connectivity/inc/sdbcx/VIndex.hxx
+++ b/connectivity/inc/sdbcx/VIndex.hxx
@@ -73,8 +73,8 @@ namespace connectivity::sdbcx
//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;
// ODescriptor
diff --git a/connectivity/inc/sdbcx/VKey.hxx b/connectivity/inc/sdbcx/VKey.hxx
index 8594923bad24..1c4e51dc7f32 100644
--- a/connectivity/inc/sdbcx/VKey.hxx
+++ b/connectivity/inc/sdbcx/VKey.hxx
@@ -82,8 +82,8 @@ namespace connectivity::sdbcx
DECLARE_SERVICE_INFO();
//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;
// ODescriptor
diff --git a/connectivity/inc/sdbcx/VUser.hxx b/connectivity/inc/sdbcx/VUser.hxx
index 31a4be400657..7086cb04f2e3 100644
--- a/connectivity/inc/sdbcx/VUser.hxx
+++ b/connectivity/inc/sdbcx/VUser.hxx
@@ -69,8 +69,8 @@ namespace connectivity::sdbcx
virtual void SAL_CALL disposing() override;
//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;
// XPropertySet
diff --git a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
index 75d0a04dc22a..3413079e1a0a 100644
--- a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
@@ -118,12 +118,12 @@ void ODatabaseMetaDataResultSet::disposing()
m_aRowsIter = m_aRows.end();
}
-void SAL_CALL ODatabaseMetaDataResultSet::acquire() throw()
+void SAL_CALL ODatabaseMetaDataResultSet::acquire() noexcept
{
ODatabaseMetaDataResultSet_BASE::acquire();
}
-void SAL_CALL ODatabaseMetaDataResultSet::release() throw()
+void SAL_CALL ODatabaseMetaDataResultSet::release() noexcept
{
ODatabaseMetaDataResultSet_BASE::release();
}
diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx
index 474490089879..30b7f1e366ea 100644
--- a/connectivity/source/cpool/ZPoolCollection.cxx
+++ b/connectivity/source/cpool/ZPoolCollection.cxx
@@ -307,7 +307,7 @@ Reference< XInterface > OPoolCollection::createWithProvider(const Reference< XMu
return xInterface;
}
-Reference<XInterface> OPoolCollection::openNode(const OUString& _rPath,const Reference<XInterface>& _xTreeNode) throw()
+Reference<XInterface> OPoolCollection::openNode(const OUString& _rPath,const Reference<XInterface>& _xTreeNode) noexcept
{
Reference< XHierarchicalNameAccess > xHierarchyAccess(_xTreeNode, UNO_QUERY);
Reference< XNameAccess > xDirectAccess(_xTreeNode, UNO_QUERY);
@@ -345,7 +345,7 @@ Reference<XInterface> OPoolCollection::openNode(const OUString& _rPath,const Ref
return xNode;
}
-Any OPoolCollection::getNodeValue(const OUString& _rPath,const Reference<XInterface>& _xTreeNode) throw()
+Any OPoolCollection::getNodeValue(const OUString& _rPath,const Reference<XInterface>& _xTreeNode) noexcept
{
Reference< XHierarchicalNameAccess > xHierarchyAccess(_xTreeNode, UNO_QUERY);
Reference< XNameAccess > xDirectAccess(_xTreeNode, UNO_QUERY);
diff --git a/connectivity/source/cpool/ZPoolCollection.hxx b/connectivity/source/cpool/ZPoolCollection.hxx
index 3da18ab86ab2..3fdade8a9db6 100644
--- a/connectivity/source/cpool/ZPoolCollection.hxx
+++ b/connectivity/source/cpool/ZPoolCollection.hxx
@@ -85,7 +85,7 @@ namespace connectivity
static css::uno::Reference< css::uno::XInterface > createWithProvider( const css::uno::Reference< css::lang::XMultiServiceFactory >& _rxConfProvider,
const OUString& _rPath);
static css::uno::Reference< css::uno::XInterface > openNode( const OUString& _rPath,
- const css::uno::Reference< css::uno::XInterface >& _xTreeNode) throw();
+ const css::uno::Reference< css::uno::XInterface >& _xTreeNode) noexcept;
bool isPoolingEnabled();
bool isDriverPoolingEnabled(std::u16string_view _sDriverImplName,
css::uno::Reference< css::uno::XInterface >& _rxDriverNode);
@@ -104,7 +104,7 @@ namespace connectivity
public:
static css::uno::Any getNodeValue( const OUString& _rPath,
- const css::uno::Reference< css::uno::XInterface>& _xTreeNode)throw();
+ const css::uno::Reference< css::uno::XInterface>& _xTreeNode)noexcept;
// XDriverManager
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnection( const OUString& url ) override;
diff --git a/connectivity/source/drivers/component/CResultSet.cxx b/connectivity/source/drivers/component/CResultSet.cxx
index 050b4034da45..55d19f8b2ed8 100644
--- a/connectivity/source/drivers/component/CResultSet.cxx
+++ b/connectivity/source/drivers/component/CResultSet.cxx
@@ -153,12 +153,12 @@ bool OComponentResultSet::fillIndexValues(const Reference< XColumnsSupplier> &/*
}
-void SAL_CALL OComponentResultSet::acquire() throw()
+void SAL_CALL OComponentResultSet::acquire() noexcept
{
OComponentResultSet_BASE2::acquire();
}
-void SAL_CALL OComponentResultSet::release() throw()
+void SAL_CALL OComponentResultSet::release() noexcept
{
OComponentResultSet_BASE2::release();
}
diff --git a/connectivity/source/drivers/dbase/DResultSet.cxx b/connectivity/source/drivers/dbase/DResultSet.cxx
index f9395a359465..17cbac2e41ab 100644
--- a/connectivity/source/drivers/dbase/DResultSet.cxx
+++ b/connectivity/source/drivers/dbase/DResultSet.cxx
@@ -187,12 +187,12 @@ bool ODbaseResultSet::fillIndexValues(const Reference< XColumnsSupplier> &_xInde
return new ::cppu::OPropertyArrayHelper(aProps);
}
-void SAL_CALL ODbaseResultSet::acquire() throw()
+void SAL_CALL ODbaseResultSet::acquire() noexcept
{
ODbaseResultSet_BASE2::acquire();
}
-void SAL_CALL ODbaseResultSet::release() throw()
+void SAL_CALL ODbaseResultSet::release() noexcept
{
ODbaseResultSet_BASE2::release();
}
diff --git a/connectivity/source/drivers/evoab2/NPreparedStatement.cxx b/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
index 041db85b5838..73d0b9c0a73f 100644
--- a/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
+++ b/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
@@ -67,13 +67,13 @@ OEvoabPreparedStatement::~OEvoabPreparedStatement()
}
-void SAL_CALL OEvoabPreparedStatement::acquire() throw()
+void SAL_CALL OEvoabPreparedStatement::acquire() noexcept
{
OCommonStatement::acquire();
}
-void SAL_CALL OEvoabPreparedStatement::release() throw()
+void SAL_CALL OEvoabPreparedStatement::release() noexcept
{
OCommonStatement::release();
}
diff --git a/connectivity/source/drivers/evoab2/NPreparedStatement.hxx b/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
index 945238aaa204..cd42d42d505b 100644
--- a/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
+++ b/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
@@ -59,8 +59,8 @@ namespace connectivity::evoab
DECLARE_SERVICE_INFO();
//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;
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx
index 8aa42abea884..9c9e1f302a05 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.cxx
@@ -1119,12 +1119,12 @@ sal_Int32 SAL_CALL OEvoabResultSet::findColumn( const OUString& columnName )
return *getArrayHelper();
}
-void SAL_CALL OEvoabResultSet::acquire() throw()
+void SAL_CALL OEvoabResultSet::acquire() noexcept
{
OResultSet_BASE::acquire();
}
-void SAL_CALL OEvoabResultSet::release() throw()
+void SAL_CALL OEvoabResultSet::release() noexcept
{
OResultSet_BASE::release();
}
diff --git a/connectivity/source/drivers/evoab2/NResultSet.hxx b/connectivity/source/drivers/evoab2/NResultSet.hxx
index 6e77df8f1ca1..74a5e40dda1f 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.hxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.hxx
@@ -118,8 +118,8 @@ namespace connectivity::evoab
virtual void SAL_CALL disposing() override;
// 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;
// XPropertySet
diff --git a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
index e54a608acec0..66fffb984e4f 100644
--- a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
+++ b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
@@ -46,7 +46,7 @@ namespace connectivity::evoab
sal_uInt32 fieldAtColumn(sal_Int32 columnIndex) const
{ return m_aEvoabFields[columnIndex - 1]; }
/// Avoid ambiguous cast error from the compiler.
- operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw()
+ operator css::uno::Reference< css::sdbc::XResultSetMetaData > () noexcept
{ return this; }
virtual sal_Int32 SAL_CALL getColumnCount( ) override;
diff --git a/connectivity/source/drivers/evoab2/NStatement.cxx b/connectivity/source/drivers/evoab2/NStatement.cxx
index 6c56ad8d2002..f41487951659 100644
--- a/connectivity/source/drivers/evoab2/NStatement.cxx
+++ b/connectivity/source/drivers/evoab2/NStatement.cxx
@@ -528,12 +528,12 @@ void SAL_CALL OCommonStatement::clearWarnings( )
}
-void SAL_CALL OCommonStatement::acquire() throw()
+void SAL_CALL OCommonStatement::acquire() noexcept
{
OCommonStatement_IBase::acquire();
}
-void SAL_CALL OCommonStatement::release() throw()
+void SAL_CALL OCommonStatement::release() noexcept
{
OCommonStatement_IBase::release();
}
diff --git a/connectivity/source/drivers/evoab2/NStatement.hxx b/connectivity/source/drivers/evoab2/NStatement.hxx
index 965a8e6e87db..a348c5335d56 100644
--- a/connectivity/source/drivers/evoab2/NStatement.hxx
+++ b/connectivity/source/drivers/evoab2/NStatement.hxx
@@ -197,8 +197,8 @@ namespace connectivity::evoab
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XInterface
- virtual void SAL_CALL release() throw() override;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL release() noexcept override;
+ virtual void SAL_CALL acquire() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
//XTypeProvider
@@ -252,8 +252,8 @@ namespace connectivity::evoab
// 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
DECLARE_XTYPEPROVIDER()
diff --git a/connectivity/source/drivers/file/FPreparedStatement.cxx b/connectivity/source/drivers/file/FPreparedStatement.cxx
index 6441534e66c9..79c69b3ee62e 100644
--- a/connectivity/source/drivers/file/FPreparedStatement.cxx
+++ b/connectivity/source/drivers/file/FPreparedStatement.cxx
@@ -379,12 +379,12 @@ void OPreparedStatement::initResultSet(OResultSet *pResultSet)
pResultSet->setMetaData(getMetaData());
}
-void SAL_CALL OPreparedStatement::acquire() throw()
+void SAL_CALL OPreparedStatement::acquire() noexcept
{
OStatement_BASE2::acquire();
}
-void SAL_CALL OPreparedStatement::release() throw()
+void SAL_CALL OPreparedStatement::release() noexcept
{
OStatement_BASE2::release();
}
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index 48aa7da9c737..595ca2be7281 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -1513,12 +1513,12 @@ void OResultSet::setBoundedColumns(const OValueRefRow& _rRow,
}
}
-void SAL_CALL OResultSet::acquire() throw()
+void SAL_CALL OResultSet::acquire() noexcept
{
OResultSet_BASE::acquire();
}
-void SAL_CALL OResultSet::release() throw()
+void SAL_CALL OResultSet::release() noexcept
{
OResultSet_BASE::release();
}
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx
index d181798b2f1e..30ebb42f252d 100644
--- a/connectivity/source/drivers/file/FStatement.cxx
+++ b/connectivity/source/drivers/file/FStatement.cxx
@@ -128,12 +128,12 @@ void OStatement_BASE2::disposing()
OStatement_Base::disposing();
}
-void SAL_CALL OStatement_Base::acquire() throw()
+void SAL_CALL OStatement_Base::acquire() noexcept
{
OStatement_BASE::acquire();
}
-void SAL_CALL OStatement_BASE2::release() throw()
+void SAL_CALL OStatement_BASE2::release() noexcept
{
OStatement_BASE::release();
}
@@ -223,12 +223,12 @@ rtl::Reference<OResultSet> OStatement::createResultSet()
IMPLEMENT_SERVICE_INFO(OStatement,"com.sun.star.sdbc.driver.file.Statement","com.sun.star.sdbc.Statement");
-void SAL_CALL OStatement::acquire() throw()
+void SAL_CALL OStatement::acquire() noexcept
{
OStatement_BASE2::acquire();
}
-void SAL_CALL OStatement::release() throw()
+void SAL_CALL OStatement::release() noexcept
{
OStatement_BASE2::release();
}
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index 94485f7dc3cb..7e86fd21e184 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -118,12 +118,12 @@ OPreparedStatement::~OPreparedStatement()
{
}
-void SAL_CALL OPreparedStatement::acquire() throw()
+void SAL_CALL OPreparedStatement::acquire() noexcept
{
OStatementCommonBase::acquire();
}
-void SAL_CALL OPreparedStatement::release() throw()
+void SAL_CALL OPreparedStatement::release() noexcept
{
OStatementCommonBase::release();
}
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.hxx b/connectivity/source/drivers/firebird/PreparedStatement.hxx
index 05bd0aea493d..a5d2073571e4 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.hxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.hxx
@@ -89,8 +89,8 @@ namespace connectivity::firebird
//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;
diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx
index 975d5c13ce97..b536d3e7ee87 100644
--- a/connectivity/source/drivers/firebird/ResultSet.cxx
+++ b/connectivity/source/drivers/firebird/ResultSet.cxx
@@ -875,12 +875,12 @@ IPropertyArrayHelper & OResultSet::getInfoHelper()
return *getArrayHelper();
}
-void SAL_CALL OResultSet::acquire() throw()
+void SAL_CALL OResultSet::acquire() noexcept
{
OResultSet_BASE::acquire();
}
-void SAL_CALL OResultSet::release() throw()
+void SAL_CALL OResultSet::release() noexcept
{
OResultSet_BASE::release();
}
diff --git a/connectivity/source/drivers/firebird/ResultSet.hxx b/connectivity/source/drivers/firebird/ResultSet.hxx
index 0be2a916478a..0ebbd0c83027 100644
--- a/connectivity/source/drivers/firebird/ResultSet.hxx
+++ b/connectivity/source/drivers/firebird/ResultSet.hxx
@@ -122,8 +122,8 @@ namespace connectivity::firebird
// 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;
// XPropertySet
diff --git a/connectivity/source/drivers/firebird/Statement.cxx b/connectivity/source/drivers/firebird/Statement.cxx
index 5305761cfd3a..1069d13735a0 100644
--- a/connectivity/source/drivers/firebird/Statement.cxx
+++ b/connectivity/source/drivers/firebird/Statement.cxx
@@ -58,12 +58,12 @@ Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch()
IMPLEMENT_SERVICE_INFO(OStatement,"com.sun.star.sdbcx.OStatement","com.sun.star.sdbc.Statement");
-void SAL_CALL OStatement::acquire() throw()
+void SAL_CALL OStatement::acquire() noexcept
{
OStatementCommonBase::acquire();
}
-void SAL_CALL OStatement::release() throw()
+void SAL_CALL OStatement::release() noexcept
{
OStatementCommonBase::release();
}
diff --git a/connectivity/source/drivers/firebird/Statement.hxx b/connectivity/source/drivers/firebird/Statement.hxx
index d305069e7a63..7f2c144bb1b3 100644
--- a/connectivity/source/drivers/firebird/Statement.hxx
+++ b/connectivity/source/drivers/firebird/Statement.hxx
@@ -50,8 +50,8 @@ namespace connectivity::firebird
DECLARE_SERVICE_INFO();
- 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;
// XStatement
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL
diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.cxx b/connectivity/source/drivers/firebird/StatementCommonBase.cxx
index 3f44dcd3587b..80452cf31972 100644
--- a/connectivity/source/drivers/firebird/StatementCommonBase.cxx
+++ b/connectivity/source/drivers/firebird/StatementCommonBase.cxx
@@ -342,12 +342,12 @@ void OStatementCommonBase::getFastPropertyValue(Any&,sal_Int32 nHandle) const
}
}
-void SAL_CALL OStatementCommonBase::acquire() throw()
+void SAL_CALL OStatementCommonBase::acquire() noexcept
{
OStatementCommonBase_Base::acquire();
}
-void SAL_CALL OStatementCommonBase::release() throw()
+void SAL_CALL OStatementCommonBase::release() noexcept
{
OStatementCommonBase_Base::release();
}
diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.hxx b/connectivity/source/drivers/firebird/StatementCommonBase.hxx
index f62ca66f232b..bc10bb668413 100644
--- a/connectivity/source/drivers/firebird/StatementCommonBase.hxx
+++ b/connectivity/source/drivers/firebird/StatementCommonBase.hxx
@@ -106,8 +106,8 @@ namespace connectivity::firebird
OStatementCommonBase_Base::disposing();
}
// XInterface
- virtual void SAL_CALL release() throw() override;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL release() noexcept override;
+ virtual void SAL_CALL acquire() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
//XTypeProvider
diff --git a/connectivity/source/drivers/flat/EResultSet.cxx b/connectivity/source/drivers/flat/EResultSet.cxx
index aca803041827..baad465e3f2e 100644
--- a/connectivity/source/drivers/flat/EResultSet.cxx
+++ b/connectivity/source/drivers/flat/EResultSet.cxx
@@ -150,12 +150,12 @@ IPropertyArrayHelper & OFlatResultSet::getInfoHelper()
return *OFlatResultSet_BASE3::getArrayHelper();
}
-void SAL_CALL OFlatResultSet::acquire() throw()
+void SAL_CALL OFlatResultSet::acquire() noexcept
{
OFlatResultSet_BASE2::acquire();
}
-void SAL_CALL OFlatResultSet::release() throw()
+void SAL_CALL OFlatResultSet::release() noexcept
{
OFlatResultSet_BASE2::release();
}
diff --git a/connectivity/source/drivers/jdbc/CallableStatement.cxx b/connectivity/source/drivers/jdbc/CallableStatement.cxx
index 574fd666b75b..884de3d4ce10 100644
--- a/connectivity/source/drivers/jdbc/CallableStatement.cxx
+++ b/connectivity/source/drivers/jdbc/CallableStatement.cxx
@@ -302,12 +302,12 @@ Reference< css::sdbc::XRef > SAL_CALL java_sql_CallableStatement::getRef( sal_In
return out==nullptr ? nullptr : new java_sql_Ref( t.pEnv, out );
}
-void SAL_CALL java_sql_CallableStatement::acquire() throw()
+void SAL_CALL java_sql_CallableStatement::acquire() noexcept
{
java_sql_PreparedStatement::acquire();
}
-void SAL_CALL java_sql_CallableStatement::release() throw()
+void SAL_CALL java_sql_CallableStatement::release() noexcept
{
java_sql_PreparedStatement::release();
}
diff --git a/connectivity/source/drivers/jdbc/JStatement.cxx b/connectivity/source/drivers/jdbc/JStatement.cxx
index fddd02a33a1a..40fef64ed5ac 100644
--- a/connectivity/source/drivers/jdbc/JStatement.cxx
+++ b/connectivity/source/drivers/jdbc/JStatement.cxx
@@ -794,22 +794,22 @@ void java_sql_Statement::createStatement(JNIEnv* _pEnv)
IMPLEMENT_SERVICE_INFO(java_sql_Statement,"com.sun.star.sdbcx.JStatement","com.sun.star.sdbc.Statement");
-void SAL_CALL java_sql_Statement_Base::acquire() throw()
+void SAL_CALL java_sql_Statement_Base::acquire() noexcept
{
java_sql_Statement_BASE::acquire();
}
-void SAL_CALL java_sql_Statement_Base::release() throw()
+void SAL_CALL java_sql_Statement_Base::release() noexcept
{
java_sql_Statement_BASE::release();
}
-void SAL_CALL java_sql_Statement::acquire() throw()
+void SAL_CALL java_sql_Statement::acquire() noexcept
{
OStatement_BASE2::acquire();
}
-void SAL_CALL java_sql_Statement::release() throw()
+void SAL_CALL java_sql_Statement::release() noexcept
{
OStatement_BASE2::release();
}
diff --git a/connectivity/source/drivers/jdbc/PreparedStatement.cxx b/connectivity/source/drivers/jdbc/PreparedStatement.cxx
index c57dd20a983f..f03056afd121 100644
--- a/connectivity/source/drivers/jdbc/PreparedStatement.cxx
+++ b/connectivity/source/drivers/jdbc/PreparedStatement.cxx
@@ -640,12 +640,12 @@ css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL java_sql_PreparedS
return out==nullptr ? nullptr : new java_sql_ResultSetMetaData( t.pEnv, out, *m_pConnection );
}
-void SAL_CALL java_sql_PreparedStatement::acquire() throw()
+void SAL_CALL java_sql_PreparedStatement::acquire() noexcept
{
OStatement_BASE2::acquire();
}
-void SAL_CALL java_sql_PreparedStatement::release() throw()
+void SAL_CALL java_sql_PreparedStatement::release() noexcept
{
OStatement_BASE2::release();
}
diff --git a/connectivity/source/drivers/jdbc/ResultSet.cxx b/connectivity/source/drivers/jdbc/ResultSet.cxx
index 0144ea5fd87b..4c7ec72c54f7 100644
--- a/connectivity/source/drivers/jdbc/ResultSet.cxx
+++ b/connectivity/source/drivers/jdbc/ResultSet.cxx
@@ -978,12 +978,12 @@ void java_sql_ResultSet::getFastPropertyValue(
}
}
-void SAL_CALL java_sql_ResultSet::acquire() throw()
+void SAL_CALL java_sql_ResultSet::acquire() noexcept
{
java_sql_ResultSet_BASE::acquire();
}
-void SAL_CALL java_sql_ResultSet::release() throw()
+void SAL_CALL java_sql_ResultSet::release() noexcept
{
java_sql_ResultSet_BASE::release();
}
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
index 8031bfdf24b0..22f5499ea9a2 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
@@ -1061,9 +1061,9 @@ void OPreparedResultSet::getFastPropertyValue(Any& _rValue, sal_Int32 nHandle) c
}
}
-void SAL_CALL OPreparedResultSet::acquire() throw() { OPreparedResultSet_BASE::acquire(); }
+void SAL_CALL OPreparedResultSet::acquire() noexcept { OPreparedResultSet_BASE::acquire(); }
-void SAL_CALL OPreparedResultSet::release() throw() { OPreparedResultSet_BASE::release(); }
+void SAL_CALL OPreparedResultSet::release() noexcept { OPreparedResultSet_BASE::release(); }
css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL OPreparedResultSet::getPropertySetInfo()
{
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx
index ef4a5319f4c1..018595b770ba 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx
@@ -114,8 +114,8 @@ public:
// XInterface
Any SAL_CALL queryInterface(const css::uno::Type& rType) override;
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
//XTypeProvider
css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override;
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx
index e268c2fdba78..c65b8365d35b 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx
@@ -73,9 +73,9 @@ OPreparedStatement::OPreparedStatement(OConnection* _pConnection, MYSQL_STMT* pS
OPreparedStatement::~OPreparedStatement() {}
-void SAL_CALL OPreparedStatement::acquire() throw() { OCommonStatement::acquire(); }
+void SAL_CALL OPreparedStatement::acquire() noexcept { OCommonStatement::acquire(); }
-void SAL_CALL OPreparedStatement::release() throw() { OCommonStatement::release(); }
+void SAL_CALL OPreparedStatement::release() noexcept { OCommonStatement::release(); }
Any SAL_CALL OPreparedStatement::queryInterface(const Type& rType)
{
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx
index bba8a0b4fcc2..d280bd935ae3 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx
@@ -78,8 +78,8 @@ public:
//XInterface
Any SAL_CALL queryInterface(const Type& rType) override;
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
//XTypeProvider
css::uno::Sequence<Type> SAL_CALL getTypes() override;
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx b/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx
index 75c229823004..7a11020ea8e0 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx
@@ -1086,9 +1086,9 @@ void OResultSet::getFastPropertyValue(Any& _rValue, sal_Int32 nHandle) const
}
}
-void SAL_CALL OResultSet::acquire() throw() { OResultSet_BASE::acquire(); }
+void SAL_CALL OResultSet::acquire() noexcept { OResultSet_BASE::acquire(); }
-void SAL_CALL OResultSet::release() throw() { OResultSet_BASE::release(); }
+void SAL_CALL OResultSet::release() noexcept { OResultSet_BASE::release(); }
css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL OResultSet::getPropertySetInfo()
{
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx b/connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx
index 6c815d06c53a..461e81286cb6 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx
@@ -137,8 +137,8 @@ public:
// XInterface
Any SAL_CALL queryInterface(const css::uno::Type& rType) override;
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
//XTypeProvider
css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override;
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_statement.cxx b/connectivity/source/drivers/mysqlc/mysqlc_statement.cxx
index e5428ee34f9e..6e14d9ec60bc 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_statement.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_statement.cxx
@@ -386,13 +386,13 @@ sal_Bool OStatement::supportsService(OUString const& ServiceName)
return cppu::supportsService(this, ServiceName);
}
-void SAL_CALL OCommonStatement::acquire() throw() { OCommonStatement_IBase::acquire(); }
+void SAL_CALL OCommonStatement::acquire() noexcept { OCommonStatement_IBase::acquire(); }
-void SAL_CALL OCommonStatement::release() throw() { OCommonStatement_IBase::release(); }
+void SAL_CALL OCommonStatement::release() noexcept { OCommonStatement_IBase::release(); }
-void SAL_CALL OStatement::acquire() throw() { OCommonStatement::acquire(); }
+void SAL_CALL OStatement::acquire() noexcept { OCommonStatement::acquire(); }
-void SAL_CALL OStatement::release() throw() { OCommonStatement::release(); }
+void SAL_CALL OStatement::release() noexcept { OCommonStatement::release(); }
Reference<css::beans::XPropertySetInfo> SAL_CALL OCommonStatement::getPropertySetInfo()
{
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_statement.hxx b/connectivity/source/drivers/mysqlc/mysqlc_statement.hxx
index f4166955ff9e..14750309ad87 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_statement.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_statement.hxx
@@ -93,8 +93,8 @@ public:
void SAL_CALL disposing() override;
// XInterface
- void SAL_CALL release() throw() override;
- void SAL_CALL acquire() throw() override;
+ void SAL_CALL release() noexcept override;
+ void SAL_CALL acquire() noexcept override;
Any SAL_CALL queryInterface(const css::uno::Type& rType) override;
//XTypeProvider
@@ -146,8 +146,8 @@ public:
//XInterface
Any SAL_CALL queryInterface(const css::uno::Type& rType) override;
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
//XTypeProvider
css::uno::Sequence<Type> SAL_CALL getTypes() override;
diff --git a/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx b/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx
index 777f4712ce96..576c3d3e9bef 100644
--- a/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx
@@ -100,12 +100,12 @@ Reference< XPropertySetInfo > SAL_CALL ODatabaseMetaDataResultSet::getPropertySe
return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper());
}
-void SAL_CALL ODatabaseMetaDataResultSet::acquire() throw()
+void SAL_CALL ODatabaseMetaDataResultSet::acquire() noexcept
{
ODatabaseMetaDataResultSet_BASE::acquire();
}
-void SAL_CALL ODatabaseMetaDataResultSet::release() throw()
+void SAL_CALL ODatabaseMetaDataResultSet::release() noexcept
{
ODatabaseMetaDataResultSet_BASE::release();
}
diff --git a/connectivity/source/drivers/odbc/OPreparedStatement.cxx b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
index ce04972ce1bd..aa01e2ea936a 100644
--- a/connectivity/source/drivers/odbc/OPreparedStatement.cxx
+++ b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
@@ -69,12 +69,12 @@ OPreparedStatement::~OPreparedStatement()
{
}
-void SAL_CALL OPreparedStatement::acquire() throw()
+void SAL_CALL OPreparedStatement::acquire() noexcept
{
OStatement_BASE2::acquire();
}
-void SAL_CALL OPreparedStatement::release() throw()
+void SAL_CALL OPreparedStatement::release() noexcept
{
OStatement_BASE2::release();
}
diff --git a/connectivity/source/drivers/odbc/OResultSet.cxx b/connectivity/source/drivers/odbc/OResultSet.cxx
index 8081e3d80192..9e6bb3d91887 100644
--- a/connectivity/source/drivers/odbc/OResultSet.cxx
+++ b/connectivity/source/drivers/odbc/OResultSet.cxx
@@ -1599,12 +1599,12 @@ void OResultSet::fillColumn(const sal_Int32 _nColumn)
}
}
-void SAL_CALL OResultSet::acquire() throw()
+void SAL_CALL OResultSet::acquire() noexcept
{
OResultSet_BASE::acquire();
}
-void SAL_CALL OResultSet::release() throw()
+void SAL_CALL OResultSet::release() noexcept
{
OResultSet_BASE::release();
}
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx
index 69f2f74783c2..3ec5bebce68c 100644
--- a/connectivity/source/drivers/odbc/OStatement.cxx
+++ b/connectivity/source/drivers/odbc/OStatement.cxx
@@ -1043,22 +1043,22 @@ void OStatement_Base::getFastPropertyValue(Any& rValue,sal_Int32 nHandle) const
IMPLEMENT_SERVICE_INFO(OStatement,"com.sun.star.sdbcx.OStatement","com.sun.star.sdbc.Statement");
-void SAL_CALL OStatement_Base::acquire() throw()
+void SAL_CALL OStatement_Base::acquire() noexcept
{
OStatement_BASE::acquire();
}
-void SAL_CALL OStatement_Base::release() throw()
+void SAL_CALL OStatement_Base::release() noexcept
{
OStatement_BASE::release();
}
-void SAL_CALL OStatement::acquire() throw()
+void SAL_CALL OStatement::acquire() noexcept
{
OStatement_BASE2::acquire();
}
-void SAL_CALL OStatement::release() throw()
+void SAL_CALL OStatement::release() noexcept
{
OStatement_BASE2::release();
}
diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx
index ec868e3f9e25..90e6609a0860 100644
--- a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx
@@ -103,8 +103,8 @@ protected:
virtual ~BaseResultSet() override;
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { BaseResultSet_BASE::acquire(); }
- virtual void SAL_CALL release() throw() override { BaseResultSet_BASE::release(); }
+ virtual void SAL_CALL acquire() noexcept override { BaseResultSet_BASE::acquire(); }
+ virtual void SAL_CALL release() noexcept override { BaseResultSet_BASE::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx
index 68c6d8a02ff1..c2907aeb0290 100644
--- a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx
@@ -64,8 +64,8 @@ public:
const OUString &aReason );
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { ResultSet::acquire(); }
- virtual void SAL_CALL release() throw() override { ResultSet::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ResultSet::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ResultSet::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
index ba20353430cc..4755efbe0368 100644
--- a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
+++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
@@ -102,8 +102,8 @@ public:
virtual ~PreparedStatement() override;
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { PreparedStatement_BASE::acquire(); }
- virtual void SAL_CALL release() throw() override { PreparedStatement_BASE::release(); }
+ virtual void SAL_CALL acquire() noexcept override { PreparedStatement_BASE::acquire(); }
+ virtual void SAL_CALL release() noexcept override { PreparedStatement_BASE::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & reqType ) override;
public: // XCloseable
diff --git a/connectivity/source/drivers/postgresql/pq_statement.hxx b/connectivity/source/drivers/postgresql/pq_statement.hxx
index c53482491ff2..fae6568bb505 100644
--- a/connectivity/source/drivers/postgresql/pq_statement.hxx
+++ b/connectivity/source/drivers/postgresql/pq_statement.hxx
@@ -100,8 +100,8 @@ public:
virtual ~Statement() override;
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { Statement_BASE::acquire(); }
- virtual void SAL_CALL release() throw() override { Statement_BASE::release(); }
+ virtual void SAL_CALL acquire() noexcept override { Statement_BASE::acquire(); }
+ virtual void SAL_CALL release() noexcept override { Statement_BASE::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & reqType ) override;
public: // XCloseable
diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx b/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
index 14f650088044..aa800bb4a701 100644
--- a/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
@@ -121,8 +121,8 @@ public:
const std::vector< OUString > &primaryKey );
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { SequenceResultSet::acquire(); }
- virtual void SAL_CALL release() throw() override { SequenceResultSet::release(); }
+ virtual void SAL_CALL acquire() noexcept override { SequenceResultSet::acquire(); }
+ virtual void SAL_CALL release() noexcept override { SequenceResultSet::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/drivers/postgresql/pq_xbase.hxx b/connectivity/source/drivers/postgresql/pq_xbase.hxx
index 01888d26d249..80e553325c93 100644
--- a/connectivity/source/drivers/postgresql/pq_xbase.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xbase.hxx
@@ -81,8 +81,8 @@ public: // for initialization purposes only, not exported via an interface !
const OUString & name, const css::uno::Any & value );
public: //XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase_BASE::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase_BASE::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase_BASE::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase_BASE::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/drivers/postgresql/pq_xindex.hxx b/connectivity/source/drivers/postgresql/pq_xindex.hxx
index f3b32dadff7a..46275ad3aafa 100644
--- a/connectivity/source/drivers/postgresql/pq_xindex.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xindex.hxx
@@ -65,8 +65,8 @@ public:
const OUString &tableName);
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
@@ -97,8 +97,8 @@ public:
ConnectionSettings *pSettings);
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/drivers/postgresql/pq_xkey.hxx b/connectivity/source/drivers/postgresql/pq_xkey.hxx
index a6b46464ffce..d231e1e89945 100644
--- a/connectivity/source/drivers/postgresql/pq_xkey.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xkey.hxx
@@ -65,8 +65,8 @@ public:
const OUString &tableName);
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
@@ -95,8 +95,8 @@ public:
ConnectionSettings *pSettings );
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/drivers/postgresql/pq_xtable.hxx b/connectivity/source/drivers/postgresql/pq_xtable.hxx
index ff910d3d6f13..dc1577612db8 100644
--- a/connectivity/source/drivers/postgresql/pq_xtable.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xtable.hxx
@@ -73,8 +73,8 @@ public:
ConnectionSettings *pSettings);
// XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
@@ -133,8 +133,8 @@ public:
ConnectionSettings *pSettings);
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/drivers/postgresql/pq_xuser.hxx b/connectivity/source/drivers/postgresql/pq_xuser.hxx
index abe45df7e429..8072cae415bb 100644
--- a/connectivity/source/drivers/postgresql/pq_xuser.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xuser.hxx
@@ -58,8 +58,8 @@ public:
ConnectionSettings *pSettings);
// XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/drivers/postgresql/pq_xview.hxx b/connectivity/source/drivers/postgresql/pq_xview.hxx
index dc21222d5d35..055fd921864f 100644
--- a/connectivity/source/drivers/postgresql/pq_xview.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xview.hxx
@@ -57,8 +57,8 @@ public:
ConnectionSettings *pSettings);
// XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
diff --git a/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx b/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx
index f8327e308e65..413d073b0ac6 100644
--- a/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx
@@ -137,8 +137,8 @@ namespace connectivity
virtual ~ODatabaseMetaDataResultSet() override;
public:
- 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;
/// default construction
ODatabaseMetaDataResultSet();
diff --git a/connectivity/source/inc/component/CResultSet.hxx b/connectivity/source/inc/component/CResultSet.hxx
index 52a3a77cde90..4874f22151b6 100644
--- a/connectivity/source/inc/component/CResultSet.hxx
+++ b/connectivity/source/inc/component/CResultSet.hxx
@@ -53,8 +53,8 @@ namespace connectivity::component
private:
// 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;
// XPropertySet
diff --git a/connectivity/source/inc/dbase/DResultSet.hxx b/connectivity/source/inc/dbase/DResultSet.hxx
index b469ab8c0ee8..106a63cbb842 100644
--- a/connectivity/source/inc/dbase/DResultSet.hxx
+++ b/connectivity/source/inc/dbase/DResultSet.hxx
@@ -51,8 +51,8 @@ namespace connectivity::dbase
// 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;
// XPropertySet
diff --git a/connectivity/source/inc/file/FPreparedStatement.hxx b/connectivity/source/inc/file/FPreparedStatement.hxx
index ada369d1540d..f83d74a6d065 100644
--- a/connectivity/source/inc/file/FPreparedStatement.hxx
+++ b/connectivity/source/inc/file/FPreparedStatement.hxx
@@ -75,8 +75,8 @@ namespace connectivity::file
virtual void SAL_CALL disposing() override;
//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;
diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx
index b3c3a0e02b5f..84ed7067b125 100644
--- a/connectivity/source/inc/file/FResultSet.hxx
+++ b/connectivity/source/inc/file/FResultSet.hxx
@@ -163,8 +163,8 @@ namespace connectivity::file
virtual void SAL_CALL disposing() override final;
// 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;
// XPropertySet
diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx
index 85dcec02ee56..57ce0a2fc0de 100644
--- a/connectivity/source/inc/file/FStatement.hxx
+++ b/connectivity/source/inc/file/FStatement.hxx
@@ -139,7 +139,7 @@ namespace connectivity::file
virtual void SAL_CALL disposing() override;
// XInterface
// virtual void SAL_CALL release() throw(css::uno::RuntimeException) = 0;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
//XTypeProvider
@@ -164,7 +164,7 @@ namespace connectivity::file
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XInterface
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
};
typedef ::cppu::ImplHelper2< css::sdbc::XStatement,css::lang::XServiceInfo > OStatement_XStatement;
@@ -181,8 +181,8 @@ namespace connectivity::file
DECLARE_SERVICE_INFO();
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;
// XStatement
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery( const OUString& sql ) override ;
diff --git a/connectivity/source/inc/flat/EResultSet.hxx b/connectivity/source/inc/flat/EResultSet.hxx
index dd4e4715f530..8d99ed55da04 100644
--- a/connectivity/source/inc/flat/EResultSet.hxx
+++ b/connectivity/source/inc/flat/EResultSet.hxx
@@ -49,8 +49,8 @@ namespace connectivity::flat
// 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;
// XPropertySet
diff --git a/connectivity/source/inc/java/sql/CallableStatement.hxx b/connectivity/source/inc/java/sql/CallableStatement.hxx
index df9aa389c64f..7391837741ef 100644
--- a/connectivity/source/inc/java/sql/CallableStatement.hxx
+++ b/connectivity/source/inc/java/sql/CallableStatement.hxx
@@ -47,8 +47,8 @@ namespace connectivity
java_sql_CallableStatement( JNIEnv * pEnv, java_sql_Connection& _rCon, const OUString& sql );
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;
diff --git a/connectivity/source/inc/java/sql/JStatement.hxx b/connectivity/source/inc/java/sql/JStatement.hxx
index cd47d75cd167..89a091bd96a7 100644
--- a/connectivity/source/inc/java/sql/JStatement.hxx
+++ b/connectivity/source/inc/java/sql/JStatement.hxx
@@ -162,8 +162,8 @@ namespace connectivity
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XInterface
- 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;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
//XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
@@ -222,8 +222,8 @@ namespace connectivity
java_sql_Statement( JNIEnv * pEnv, java_sql_Connection& _rCon ) : OStatement_BASE2( pEnv, _rCon){};
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;
// XBatchExecution
virtual void SAL_CALL addBatch( const OUString& sql ) override;
virtual void SAL_CALL clearBatch( ) override;
diff --git a/connectivity/source/inc/java/sql/PreparedStatement.hxx b/connectivity/source/inc/java/sql/PreparedStatement.hxx
index 8920c88e9404..711fd2d00661 100644
--- a/connectivity/source/inc/java/sql/PreparedStatement.hxx
+++ b/connectivity/source/inc/java/sql/PreparedStatement.hxx
@@ -52,8 +52,8 @@ namespace connectivity
java_sql_PreparedStatement( JNIEnv * pEnv, java_sql_Connection& _rCon,const OUString& sql );
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;
diff --git a/connectivity/source/inc/java/sql/ResultSet.hxx b/connectivity/source/inc/java/sql/ResultSet.hxx
index f46f0dca4816..183c6fa3a362 100644
--- a/connectivity/source/inc/java/sql/ResultSet.hxx
+++ b/connectivity/source/inc/java/sql/ResultSet.hxx
@@ -119,8 +119,8 @@ namespace connectivity
virtual void SAL_CALL disposing() override;
// 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;
// XPropertySet
diff --git a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
index b874ac404585..5d6982807d48 100644
--- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
@@ -122,8 +122,8 @@ namespace connectivity::odbc
virtual void SAL_CALL disposing() override;
// 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;
// XPropertySet
diff --git a/connectivity/source/inc/odbc/OPreparedStatement.hxx b/connectivity/source/inc/odbc/OPreparedStatement.hxx
index 6c8abb6abbb5..37e29db9c5a2 100644
--- a/connectivity/source/inc/odbc/OPreparedStatement.hxx
+++ b/connectivity/source/inc/odbc/OPreparedStatement.hxx
@@ -95,8 +95,8 @@ namespace connectivity::odbc
//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;
diff --git a/connectivity/source/inc/odbc/OResultSet.hxx b/connectivity/source/inc/odbc/OResultSet.hxx
index de224a50041b..6de7adc28174 100644
--- a/connectivity/source/inc/odbc/OResultSet.hxx
+++ b/connectivity/source/inc/odbc/OResultSet.hxx
@@ -247,8 +247,8 @@ namespace connectivity::odbc
virtual void SAL_CALL disposing() override;
// 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;
// XPropertySet
diff --git a/connectivity/source/inc/odbc/OStatement.hxx b/connectivity/source/inc/odbc/OStatement.hxx
index 7fa692d2a2f4..1e483108732d 100644
--- a/connectivity/source/inc/odbc/OStatement.hxx
+++ b/connectivity/source/inc/odbc/OStatement.hxx
@@ -165,8 +165,8 @@ namespace connectivity::odbc
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XInterface
- virtual void SAL_CALL release() throw() override;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL release() noexcept override;
+ virtual void SAL_CALL acquire() noexcept override;
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
//XTypeProvider
@@ -231,8 +231,8 @@ namespace connectivity::odbc
DECLARE_SERVICE_INFO();
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;
// XBatchExecution
virtual void SAL_CALL addBatch( const OUString& sql ) override;
virtual void SAL_CALL clearBatch( ) override;
diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx
index 860ead949074..c7f8e0ba9ff0 100644
--- a/connectivity/source/sdbcx/VCollection.cxx
+++ b/connectivity/source/sdbcx/VCollection.cxx
@@ -458,12 +458,12 @@ void SAL_CALL OCollection::removeContainerListener( const Reference< XContainerL
m_aContainerListeners.removeInterface(_rxListener);
}
-void SAL_CALL OCollection::acquire() throw()
+void SAL_CALL OCollection::acquire() noexcept
{
m_rParent.acquire();
}
-void SAL_CALL OCollection::release() throw()
+void SAL_CALL OCollection::release() noexcept
{
m_rParent.release();
}
diff --git a/connectivity/source/sdbcx/VColumn.cxx b/connectivity/source/sdbcx/VColumn.cxx
index 07d40bd567c0..398d64b49f57 100644
--- a/connectivity/source/sdbcx/VColumn.cxx
+++ b/connectivity/source/sdbcx/VColumn.cxx
@@ -114,12 +114,12 @@ OColumn::~OColumn()
return *OColumn_PROP::getArrayHelper(isNew() ? 1 : 0);
}
-void SAL_CALL OColumn::acquire() throw()
+void SAL_CALL OColumn::acquire() noexcept
{
OColumnDescriptor_BASE::acquire();
}
-void SAL_CALL OColumn::release() throw()
+void SAL_CALL OColumn::release() noexcept
{
OColumnDescriptor_BASE::release();
}
diff --git a/connectivity/source/sdbcx/VGroup.cxx b/connectivity/source/sdbcx/VGroup.cxx
index ed11a617526f..73f6aa79c5ab 100644
--- a/connectivity/source/sdbcx/VGroup.cxx
+++ b/connectivity/source/sdbcx/VGroup.cxx
@@ -152,12 +152,12 @@ void SAL_CALL OGroup::setName( const OUString& /*aName*/ )
}
// XInterface
-void SAL_CALL OGroup::acquire() throw()
+void SAL_CALL OGroup::acquire() noexcept
{
OGroup_BASE::acquire();
}
-void SAL_CALL OGroup::release() throw()
+void SAL_CALL OGroup::release() noexcept
{
OGroup_BASE::release();
}
diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx
index 1649ff83ad97..e04cf2527791 100644
--- a/connectivity/source/sdbcx/VIndex.cxx
+++ b/connectivity/source/sdbcx/VIndex.cxx
@@ -181,12 +181,12 @@ void SAL_CALL OIndex::setName( const OUString& /*aName*/ )
}
// XInterface
-void SAL_CALL OIndex::acquire() throw()
+void SAL_CALL OIndex::acquire() noexcept
{
ODescriptor_BASE::acquire();
}
-void SAL_CALL OIndex::release() throw()
+void SAL_CALL OIndex::release() noexcept
{
ODescriptor_BASE::release();
}
diff --git a/connectivity/source/sdbcx/VKey.cxx b/connectivity/source/sdbcx/VKey.cxx
index 33e9340b51c7..f267db161504 100644
--- a/connectivity/source/sdbcx/VKey.cxx
+++ b/connectivity/source/sdbcx/VKey.cxx
@@ -188,12 +188,12 @@ void SAL_CALL OKey::setName( const OUString& /*aName*/ )
}
// XInterface
-void SAL_CALL OKey::acquire() throw()
+void SAL_CALL OKey::acquire() noexcept
{
ODescriptor_BASE::acquire();
}
-void SAL_CALL OKey::release() throw()
+void SAL_CALL OKey::release() noexcept
{
ODescriptor_BASE::release();
}
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx
index 849ffc38b152..98e2767259f7 100644
--- a/connectivity/source/sdbcx/VTable.cxx
+++ b/connectivity/source/sdbcx/VTable.cxx
@@ -94,12 +94,12 @@ void OTable::construct()
registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE), PROPERTY_ID_TYPE, nAttrib,&m_Type, ::cppu::UnoType<OUString>::get());
}
-void SAL_CALL OTable::acquire() throw()
+void SAL_CALL OTable::acquire() noexcept
{
OTableDescriptor_BASE::acquire();
}
-void SAL_CALL OTable::release() throw()
+void SAL_CALL OTable::release() noexcept
{
OTableDescriptor_BASE::release();
}
diff --git a/connectivity/source/sdbcx/VUser.cxx b/connectivity/source/sdbcx/VUser.cxx
index 9cecd7dfdd46..a09d82183682 100644
--- a/connectivity/source/sdbcx/VUser.cxx
+++ b/connectivity/source/sdbcx/VUser.cxx
@@ -166,12 +166,12 @@ void SAL_CALL OUser::setName( const OUString& /*aName*/ )
}
// XInterface
-void SAL_CALL OUser::acquire() throw()
+void SAL_CALL OUser::acquire() noexcept
{
OUser_BASE::acquire();
}
-void SAL_CALL OUser::release() throw()
+void SAL_CALL OUser::release() noexcept
{
OUser_BASE::release();
}
diff --git a/connectivity/source/sdbcx/VView.cxx b/connectivity/source/sdbcx/VView.cxx
index 317e985b5199..b36817a40f3d 100644
--- a/connectivity/source/sdbcx/VView.cxx
+++ b/connectivity/source/sdbcx/VView.cxx
@@ -118,12 +118,12 @@ void SAL_CALL OView::setName( const OUString& )
{
}
-void SAL_CALL OView::acquire() throw()
+void SAL_CALL OView::acquire() noexcept
{
OView_BASE::acquire();
}
-void SAL_CALL OView::release() throw()
+void SAL_CALL OView::release() noexcept
{
OView_BASE::release();
}
diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx
index de640099f1dc..ebec9998d1d6 100644
--- a/cppu/qa/test_any.cxx
+++ b/cppu/qa/test_any.cxx
@@ -93,11 +93,11 @@ public:
return css::uno::Any();
}
- virtual void SAL_CALL acquire() throw () override {
+ virtual void SAL_CALL acquire() noexcept override {
Base::acquire();
}
- virtual void SAL_CALL release() throw () override {
+ virtual void SAL_CALL release() noexcept override {
Base::release();
}
};
@@ -127,11 +127,11 @@ public:
return css::uno::Any();
}
- virtual void SAL_CALL acquire() throw () override {
+ virtual void SAL_CALL acquire() noexcept override {
Base::acquire();
}
- virtual void SAL_CALL release() throw () override {
+ virtual void SAL_CALL release() noexcept override {
Base::release();
}
};
@@ -161,11 +161,11 @@ public:
return css::uno::Any();
}
- virtual void SAL_CALL acquire() throw () override {
+ virtual void SAL_CALL acquire() noexcept override {
Base::acquire();
}
- virtual void SAL_CALL release() throw () override {
+ virtual void SAL_CALL release() noexcept override {
Base::release();
}
};
diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx
index 79ff90ae4101..6ffb319077ed 100644
--- a/cppu/qa/test_reference.cxx
+++ b/cppu/qa/test_reference.cxx
@@ -60,12 +60,12 @@ public:
return Any();
}
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{
osl_atomic_increment( &m_refCount );
}
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{
if ( 0 == osl_atomic_decrement( &m_refCount ) )
delete this;
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index c88713287c38..369e2ead7be5 100644
--- a/cppuhelper/source/component.cxx
+++ b/cppuhelper/source/component.cxx
@@ -63,12 +63,12 @@ Any OComponentHelper::queryAggregation( Type const & rType )
}
return OWeakAggObject::queryAggregation( rType );
}
-void OComponentHelper::acquire() throw ()
+void OComponentHelper::acquire() noexcept
{
OWeakAggObject::acquire();
}
-void OComponentHelper::release() throw()
+void OComponentHelper::release() noexcept
{
Reference<XInterface > x( xDelegator );
if (! x.is())
diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx
index ab7ed83f53e1..1bb8bfab13b3 100644
--- a/cppuhelper/source/exc_thrower.cxx
+++ b/cppuhelper/source/exc_thrower.cxx
@@ -54,8 +54,8 @@ struct ExceptionThrower : public uno_Interface, XExceptionThrower
// XInterface
virtual Any SAL_CALL queryInterface( Type const & type ) 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;
// XExceptionThrower
virtual void SAL_CALL throwException( Any const & exc ) override;
@@ -139,11 +139,11 @@ Any ExceptionThrower::queryInterface( Type const & type )
}
-void ExceptionThrower::acquire() throw ()
+void ExceptionThrower::acquire() noexcept
{
}
-void ExceptionThrower::release() throw ()
+void ExceptionThrower::release() noexcept
{
}
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index 1d997146f099..0cad2093070d 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -255,9 +255,9 @@ public:
// XInterface
Any SAL_CALL queryInterface( const Type & rType ) override;
- void SAL_CALL acquire() throw() override
+ void SAL_CALL acquire() noexcept override
{ OComponentHelper::acquire(); }
- void SAL_CALL release() throw() override
+ void SAL_CALL release() noexcept override
{ OComponentHelper::release(); }
// XSingleServiceFactory
@@ -454,8 +454,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( Type const & type ) 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 Sequence< Type > SAL_CALL getTypes() override;
// XPropertySet
@@ -519,13 +519,13 @@ Any SAL_CALL ORegistryFactoryHelper::queryInterface(
}
-void ORegistryFactoryHelper::acquire() throw ()
+void ORegistryFactoryHelper::acquire() noexcept
{
OFactoryComponentHelper::acquire();
}
-void ORegistryFactoryHelper::release() throw ()
+void ORegistryFactoryHelper::release() noexcept
{
OFactoryComponentHelper::release();
}
diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx
index 1f00accecb27..0673ce692738 100644
--- a/cppuhelper/source/implbase.cxx
+++ b/cppuhelper/source/implbase.cxx
@@ -59,13 +59,13 @@ Any WeakComponentImplHelperBase::queryInterface( Type const & rType )
}
void WeakComponentImplHelperBase::acquire()
- throw ()
+ noexcept
{
OWeakObject::acquire();
}
void WeakComponentImplHelperBase::release()
- throw ()
+ noexcept
{
if (osl_atomic_decrement( &m_refCount ) != 0)
return;
@@ -182,13 +182,13 @@ Any WeakAggComponentImplHelperBase::queryAggregation( Type const & rType )
}
void WeakAggComponentImplHelperBase::acquire()
- throw ()
+ noexcept
{
OWeakAggObject::acquire();
}
void WeakAggComponentImplHelperBase::release()
- throw ()
+ noexcept
{
Reference<XInterface> const xDelegator_(xDelegator);
if (xDelegator_.is()) {
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index 194d746d9452..eb6d7246009e 100644
--- a/cppuhelper/source/typemanager.cxx
+++ b/cppuhelper/source/typemanager.cxx
@@ -1881,7 +1881,7 @@ cppuhelper::TypeManager::resolve(OUString const & name) {
return desc;
}
-cppuhelper::TypeManager::~TypeManager() throw () {}
+cppuhelper::TypeManager::~TypeManager() noexcept {}
void cppuhelper::TypeManager::disposing() {} //TODO
diff --git a/cppuhelper/source/typemanager.hxx b/cppuhelper/source/typemanager.hxx
index a1d6ce8cd78a..dcd415b888b1 100644
--- a/cppuhelper/source/typemanager.hxx
+++ b/cppuhelper/source/typemanager.hxx
@@ -55,7 +55,7 @@ public:
OUString const & name);
private:
- virtual ~TypeManager() throw () override;
+ virtual ~TypeManager() noexcept override;
virtual void SAL_CALL disposing() override;
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 06c6ed178def..e52dc607a0a3 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -66,8 +66,8 @@ public:
// XInterface
Any SAL_CALL queryInterface( const Type & rType ) override;
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
// XAdapter
css::uno::Reference< css::uno::XInterface > SAL_CALL queryAdapted() override;
@@ -98,7 +98,7 @@ Any SAL_CALL OWeakConnectionPoint::queryInterface( const Type & rType )
}
// XInterface
-void SAL_CALL OWeakConnectionPoint::acquire() throw()
+void SAL_CALL OWeakConnectionPoint::acquire() noexcept
{
#ifdef DBG_UTIL
// catch things early which have been deleted and then re-acquired
@@ -108,7 +108,7 @@ void SAL_CALL OWeakConnectionPoint::acquire() throw()
}
// XInterface
-void SAL_CALL OWeakConnectionPoint::release() throw()
+void SAL_CALL OWeakConnectionPoint::release() noexcept
{
if (! osl_atomic_decrement( &m_aRefCount ))
{
@@ -226,13 +226,13 @@ Any SAL_CALL OWeakObject::queryInterface( const Type & rType )
}
// XInterface
-void SAL_CALL OWeakObject::acquire() throw()
+void SAL_CALL OWeakObject::acquire() noexcept
{
osl_atomic_increment( &m_refCount );
}
// XInterface
-void SAL_CALL OWeakObject::release() throw()
+void SAL_CALL OWeakObject::release() noexcept
{
if (osl_atomic_decrement( &m_refCount ) == 0) {
// notify/clear all weak-refs before object's dtor is executed
@@ -289,7 +289,7 @@ OWeakAggObject::~OWeakAggObject()
}
// XInterface
-void OWeakAggObject::acquire() throw()
+void OWeakAggObject::acquire() noexcept
{
Reference<XInterface > x( xDelegator );
if (x.is())
@@ -299,7 +299,7 @@ void OWeakAggObject::acquire() throw()
}
// XInterface
-void OWeakAggObject::release() throw()
+void OWeakAggObject::release() noexcept
{
Reference<XInterface > x( xDelegator );
if (x.is())
@@ -352,8 +352,8 @@ public:
// XInterface
Any SAL_CALL queryInterface( const Type & rType ) override;
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
// XReference
void SAL_CALL dispose() override;
@@ -406,13 +406,13 @@ Any SAL_CALL OWeakRefListener::queryInterface( const Type & rType )
}
// XInterface
-void SAL_CALL OWeakRefListener::acquire() throw()
+void SAL_CALL OWeakRefListener::acquire() noexcept
{
osl_atomic_increment( &m_aRefCount );
}
// XInterface
-void SAL_CALL OWeakRefListener::release() throw()
+void SAL_CALL OWeakRefListener::release() noexcept
{
if( ! osl_atomic_decrement( &m_aRefCount ) )
delete this;
diff --git a/cui/source/options/sdbcdriverenum.cxx b/cui/source/options/sdbcdriverenum.cxx
index f6a0cf3ad1ee..629fb7056c1e 100644
--- a/cui/source/options/sdbcdriverenum.cxx
+++ b/cui/source/options/sdbcdriverenum.cxx
@@ -71,24 +71,24 @@ namespace offapp
}
}
- ODriverEnumeration::ODriverEnumeration() throw()
+ ODriverEnumeration::ODriverEnumeration() noexcept
:m_pImpl(new ODriverEnumerationImpl)
{
}
- ODriverEnumeration::~ODriverEnumeration() throw()
+ ODriverEnumeration::~ODriverEnumeration() noexcept
{
}
- ODriverEnumeration::const_iterator ODriverEnumeration::begin() const throw()
+ ODriverEnumeration::const_iterator ODriverEnumeration::begin() const noexcept
{
return m_pImpl->getDriverImplNames().begin();
}
- ODriverEnumeration::const_iterator ODriverEnumeration::end() const throw()
+ ODriverEnumeration::const_iterator ODriverEnumeration::end() const noexcept
{
return m_pImpl->getDriverImplNames().end();
}
diff --git a/cui/source/options/sdbcdriverenum.hxx b/cui/source/options/sdbcdriverenum.hxx
index ef25bca00430..852648893f16 100644
--- a/cui/source/options/sdbcdriverenum.hxx
+++ b/cui/source/options/sdbcdriverenum.hxx
@@ -40,12 +40,12 @@ namespace offapp
std::unique_ptr<ODriverEnumerationImpl> m_pImpl;
public:
- ODriverEnumeration() throw();
- ~ODriverEnumeration() throw();
+ ODriverEnumeration() noexcept;
+ ~ODriverEnumeration() noexcept;
typedef std::vector< OUString >::const_iterator const_iterator;
- const_iterator begin() const throw();
- const_iterator end() const throw();
+ const_iterator begin() const noexcept;
+ const_iterator end() const noexcept;
};
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index 613a69fdecb2..f7deaa0c1d5e 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -424,12 +424,12 @@ Any SAL_CALL ORowSet::queryInterface( const Type & rType )
return ORowSet_BASE1::queryInterface( rType);
}
-void SAL_CALL ORowSet::acquire() throw()
+void SAL_CALL ORowSet::acquire() noexcept
{
ORowSet_BASE1::acquire();
}
-void SAL_CALL ORowSet::release() throw()
+void SAL_CALL ORowSet::release() noexcept
{
ORowSet_BASE1::release();
}
@@ -2837,12 +2837,12 @@ Any ORowSetClone::queryInterface( const Type & rType )
return aRet;
}
-void ORowSetClone::acquire() throw()
+void ORowSetClone::acquire() noexcept
{
OSubComponent::acquire();
}
-void ORowSetClone::release() throw()
+void ORowSetClone::release() noexcept
{
OSubComponent::release();
}
diff --git a/dbaccess/source/core/api/RowSet.hxx b/dbaccess/source/core/api/RowSet.hxx
index d72fa884766a..a7d06a7a6567 100644
--- a/dbaccess/source/core/api/RowSet.hxx
+++ b/dbaccess/source/core/api/RowSet.hxx
@@ -250,8 +250,8 @@ namespace dbaccess
// css::uno::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;
// css::lang::XUnoTunnel
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
@@ -477,8 +477,8 @@ namespace dbaccess
// css::uno::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;
// css::lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx
index d4b0582db83f..6dff0b3b0964 100644
--- a/dbaccess/source/core/api/TableDeco.cxx
+++ b/dbaccess/source/core/api/TableDeco.cxx
@@ -604,12 +604,12 @@ Reference< XPropertySet > ODBTableDecorator::createColumnDescriptor()
return xRet;
}
-void SAL_CALL ODBTableDecorator::acquire() throw()
+void SAL_CALL ODBTableDecorator::acquire() noexcept
{
OTableDescriptor_BASE::acquire();
}
-void SAL_CALL ODBTableDecorator::release() throw()
+void SAL_CALL ODBTableDecorator::release() noexcept
{
OTableDescriptor_BASE::release();
}
diff --git a/dbaccess/source/core/api/callablestatement.cxx b/dbaccess/source/core/api/callablestatement.cxx
index cfddeac19139..8f864fbe04dd 100644
--- a/dbaccess/source/core/api/callablestatement.cxx
+++ b/dbaccess/source/core/api/callablestatement.cxx
@@ -58,12 +58,12 @@ Any OCallableStatement::queryInterface( const Type & rType )
return aIface;
}
-void OCallableStatement::acquire() throw ()
+void OCallableStatement::acquire() noexcept
{
OPreparedStatement::acquire();
}
-void OCallableStatement::release() throw ()
+void OCallableStatement::release() noexcept
{
OPreparedStatement::release();
}
diff --git a/dbaccess/source/core/api/datacolumn.hxx b/dbaccess/source/core/api/datacolumn.hxx
index 5b5290dfcbe6..46512d94559c 100644
--- a/dbaccess/source/core/api/datacolumn.hxx
+++ b/dbaccess/source/core/api/datacolumn.hxx
@@ -51,8 +51,8 @@ namespace dbaccess
// css::uno::XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override { OResultColumn::acquire(); }
- virtual void SAL_CALL release() throw() override { OResultColumn::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OResultColumn::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OResultColumn::release(); }
// css::lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/dbaccess/source/core/api/preparedstatement.cxx b/dbaccess/source/core/api/preparedstatement.cxx
index cdd8aa79ae1d..52f099a4c88f 100644
--- a/dbaccess/source/core/api/preparedstatement.cxx
+++ b/dbaccess/source/core/api/preparedstatement.cxx
@@ -93,12 +93,12 @@ Any OPreparedStatement::queryInterface( const Type & rType )
return aIface;
}
-void OPreparedStatement::acquire() throw ()
+void OPreparedStatement::acquire() noexcept
{
OStatementBase::acquire();
}
-void OPreparedStatement::release() throw ()
+void OPreparedStatement::release() noexcept
{
OStatementBase::release();
}
diff --git a/dbaccess/source/core/api/querycomposer.cxx b/dbaccess/source/core/api/querycomposer.cxx
index 043b0c083a17..5f33eefbd48d 100644
--- a/dbaccess/source/core/api/querycomposer.cxx
+++ b/dbaccess/source/core/api/querycomposer.cxx
@@ -250,12 +250,12 @@ Reference< XIndexAccess > SAL_CALL OQueryComposer::getParameters( )
return Reference<XParametersSupplier>(m_xComposer,UNO_QUERY_THROW)->getParameters();
}
-void SAL_CALL OQueryComposer::acquire() throw()
+void SAL_CALL OQueryComposer::acquire() noexcept
{
OSubComponent::acquire();
}
-void SAL_CALL OQueryComposer::release() throw()
+void SAL_CALL OQueryComposer::release() noexcept
{
OSubComponent::release();
}
diff --git a/dbaccess/source/core/api/resultset.cxx b/dbaccess/source/core/api/resultset.cxx
index ab3071dfbb00..922f411d794e 100644
--- a/dbaccess/source/core/api/resultset.cxx
+++ b/dbaccess/source/core/api/resultset.cxx
@@ -119,12 +119,12 @@ Any OResultSet::queryInterface( const Type & rType )
return aIface;
}
-void OResultSet::acquire() throw ()
+void OResultSet::acquire() noexcept
{
OResultSetBase::acquire();
}
-void OResultSet::release() throw ()
+void OResultSet::release() noexcept
{
OResultSetBase::release();
}
diff --git a/dbaccess/source/core/api/resultset.hxx b/dbaccess/source/core/api/resultset.hxx
index 3334d8229937..b2da0f2483e5 100644
--- a/dbaccess/source/core/api/resultset.hxx
+++ b/dbaccess/source/core/api/resultset.hxx
@@ -86,8 +86,8 @@ namespace dbaccess
// css::uno::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;
// css::lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/dbaccess/source/core/api/statement.cxx b/dbaccess/source/core/api/statement.cxx
index 812d91c64a47..631f67501142 100644
--- a/dbaccess/source/core/api/statement.cxx
+++ b/dbaccess/source/core/api/statement.cxx
@@ -106,12 +106,12 @@ Any OStatementBase::queryInterface( const Type & rType )
return aIface;
}
-void OStatementBase::acquire() throw ()
+void OStatementBase::acquire() noexcept
{
OSubComponent::acquire();
}
-void OStatementBase::release() throw ()
+void OStatementBase::release() noexcept
{
OSubComponent::release();
}
diff --git a/dbaccess/source/core/dataaccess/SharedConnection.hxx b/dbaccess/source/core/dataaccess/SharedConnection.hxx
index c0ced3f1ca40..ea6e961cf19d 100644
--- a/dbaccess/source/core/dataaccess/SharedConnection.hxx
+++ b/dbaccess/source/core/dataaccess/SharedConnection.hxx
@@ -48,8 +48,8 @@ namespace dbaccess
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
- virtual void SAL_CALL acquire() throw() override { OSharedConnection_BASE::acquire(); }
- virtual void SAL_CALL release() throw() override { OSharedConnection_BASE::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OSharedConnection_BASE::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OSharedConnection_BASE::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override
{
return ::comphelper::concatSequences(
diff --git a/dbaccess/source/core/dataaccess/bookmarkcontainer.cxx b/dbaccess/source/core/dataaccess/bookmarkcontainer.cxx
index 647aaf557f97..deb618ff9858 100644
--- a/dbaccess/source/core/dataaccess/bookmarkcontainer.cxx
+++ b/dbaccess/source/core/dataaccess/bookmarkcontainer.cxx
@@ -45,12 +45,12 @@ OBookmarkContainer::OBookmarkContainer(OWeakObject& _rParent, Mutex& _rMutex)
}
-void SAL_CALL OBookmarkContainer::acquire( ) throw()
+void SAL_CALL OBookmarkContainer::acquire( ) noexcept
{
m_rParent.acquire();
}
-void SAL_CALL OBookmarkContainer::release( ) throw()
+void SAL_CALL OBookmarkContainer::release( ) noexcept
{
m_rParent.release();
}
diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx
index f9f90b22e679..d5889255523e 100644
--- a/dbaccess/source/core/dataaccess/connection.cxx
+++ b/dbaccess/source/core/dataaccess/connection.cxx
@@ -426,13 +426,13 @@ Any OConnection::queryInterface( const Type & rType )
return aReturn;
}
-void OConnection::acquire() throw ()
+void OConnection::acquire() noexcept
{
// include this one when you want to see who calls it (call graph)
OSubComponent::acquire();
}
-void OConnection::release() throw ()
+void OConnection::release() noexcept
{
// include this one when you want to see who calls it (call graph)
OSubComponent::release();
diff --git a/dbaccess/source/core/dataaccess/connection.hxx b/dbaccess/source/core/dataaccess/connection.hxx
index 93192d7988ff..4ecfa7d709dd 100644
--- a/dbaccess/source/core/dataaccess/connection.hxx
+++ b/dbaccess/source/core/dataaccess/connection.hxx
@@ -115,8 +115,8 @@ public:
// css::uno::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;
// OComponentHelper
virtual void SAL_CALL disposing() override;
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx
index 4f13919ed091..603a0622b2ba 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.cxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.cxx
@@ -199,12 +199,12 @@ Any SAL_CALL ODatabaseDocument::queryInterface( const Type& _rType )
return aReturn;
}
-void SAL_CALL ODatabaseDocument::acquire( ) throw ()
+void SAL_CALL ODatabaseDocument::acquire( ) noexcept
{
ODatabaseDocument_OfficeDocument::acquire();
}
-void SAL_CALL ODatabaseDocument::release( ) throw ()
+void SAL_CALL ODatabaseDocument::release( ) noexcept
{
ODatabaseDocument_OfficeDocument::release();
}
diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx
index d4deb94b2186..b1bfbedc61b2 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.hxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.hxx
@@ -298,8 +298,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;
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index e4f449d8ff32..e560d75040b0 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -531,12 +531,12 @@ Any ODatabaseSource::queryInterface( const Type & rType )
return aIface;
}
-void ODatabaseSource::acquire() throw ()
+void ODatabaseSource::acquire() noexcept
{
ODatabaseSource_Base::acquire();
}
-void ODatabaseSource::release() throw ()
+void ODatabaseSource::release() noexcept
{
ODatabaseSource_Base::release();
}
diff --git a/dbaccess/source/core/dataaccess/datasource.hxx b/dbaccess/source/core/dataaccess/datasource.hxx
index 3a5c0bc3da0f..c608505381b0 100644
--- a/dbaccess/source/core/dataaccess/datasource.hxx
+++ b/dbaccess/source/core/dataaccess/datasource.hxx
@@ -121,8 +121,8 @@ public:
// css::uno::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;
// css::lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx
index 13295523ef5f..38cf0b2f11ba 100644
--- a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx
+++ b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx
@@ -68,8 +68,8 @@ namespace dbaccess
}
// IEventProcessor
- 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;
void addLegacyEventListener( const Reference< document::XEventListener >& Listener )
{
@@ -122,12 +122,12 @@ namespace dbaccess
void impl_notifyEventAsync_nothrow( const DocumentEvent& _rEvent );
};
- void SAL_CALL DocumentEventNotifier_Impl::acquire() throw ()
+ void SAL_CALL DocumentEventNotifier_Impl::acquire() noexcept
{
osl_atomic_increment( &m_refCount );
}
- void SAL_CALL DocumentEventNotifier_Impl::release() throw ()
+ void SAL_CALL DocumentEventNotifier_Impl::release() noexcept
{
if ( 0 == osl_atomic_decrement( &m_refCount ) )
delete this;
diff --git a/dbaccess/source/core/dataaccess/documentevents.cxx b/dbaccess/source/core/dataaccess/documentevents.cxx
index d3c6a03ceeec..cd4428775e03 100644
--- a/dbaccess/source/core/dataaccess/documentevents.cxx
+++ b/dbaccess/source/core/dataaccess/documentevents.cxx
@@ -113,12 +113,12 @@ namespace dbaccess
{
}
- void SAL_CALL DocumentEvents::acquire() throw()
+ void SAL_CALL DocumentEvents::acquire() noexcept
{
m_pData->rParent.acquire();
}
- void SAL_CALL DocumentEvents::release() throw()
+ void SAL_CALL DocumentEvents::release() noexcept
{
m_pData->rParent.release();
}
diff --git a/dbaccess/source/core/inc/DatabaseDataProvider.hxx b/dbaccess/source/core/inc/DatabaseDataProvider.hxx
index 5df139157d78..9131cfaf1c2b 100644
--- a/dbaccess/source/core/inc/DatabaseDataProvider.hxx
+++ b/dbaccess/source/core/inc/DatabaseDataProvider.hxx
@@ -54,9 +54,9 @@ public:
private:
// css::uno::XInterface:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) override;
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ TDatabaseDataProvider::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ TDatabaseDataProvider::release(); }
// css::lang::XServiceInfo
diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx
index 3901230e78f5..5e2cb214fb8a 100644
--- a/dbaccess/source/core/inc/TableDeco.hxx
+++ b/dbaccess/source/core/inc/TableDeco.hxx
@@ -120,8 +120,8 @@ namespace dbaccess
//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;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/dbaccess/source/core/inc/bookmarkcontainer.hxx b/dbaccess/source/core/inc/bookmarkcontainer.hxx
index 9a2d3b93d147..ebe66ed918eb 100644
--- a/dbaccess/source/core/inc/bookmarkcontainer.hxx
+++ b/dbaccess/source/core/inc/bookmarkcontainer.hxx
@@ -78,8 +78,8 @@ public:
virtual ~OBookmarkContainer() override;
// css::uno::XInterface
- 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;
// css::lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/dbaccess/source/core/inc/callablestatement.hxx b/dbaccess/source/core/inc/callablestatement.hxx
index a61973db2b9d..58e21189aa59 100644
--- a/dbaccess/source/core/inc/callablestatement.hxx
+++ b/dbaccess/source/core/inc/callablestatement.hxx
@@ -42,8 +42,8 @@ namespace dbaccess
// css::uno::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;
// css::lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/dbaccess/source/core/inc/column.hxx b/dbaccess/source/core/inc/column.hxx
index d7471cd8a867..aebc376b138d 100644
--- a/dbaccess/source/core/inc/column.hxx
+++ b/dbaccess/source/core/inc/column.hxx
@@ -67,8 +67,8 @@ namespace dbaccess
// css::uno::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;
// css::beans::XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
@@ -190,8 +190,8 @@ namespace dbaccess
//XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override { OColumns_BASE::acquire(); }
- virtual void SAL_CALL release() throw() override { OColumns_BASE::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OColumns_BASE::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OColumns_BASE::release(); }
//XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
diff --git a/dbaccess/source/core/inc/documentevents.hxx b/dbaccess/source/core/inc/documentevents.hxx
index f24fa83f2a6b..24a7dd24ca17 100644
--- a/dbaccess/source/core/inc/documentevents.hxx
+++ b/dbaccess/source/core/inc/documentevents.hxx
@@ -51,8 +51,8 @@ namespace dbaccess
static bool needsSynchronousNotification( const OUString& _rEventName );
// XInterface
- 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;
// XNameReplace
virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) override;
diff --git a/dbaccess/source/core/inc/preparedstatement.hxx b/dbaccess/source/core/inc/preparedstatement.hxx
index 5aed22dd3f78..cea06d79a81e 100644
--- a/dbaccess/source/core/inc/preparedstatement.hxx
+++ b/dbaccess/source/core/inc/preparedstatement.hxx
@@ -52,8 +52,8 @@ namespace dbaccess
// css::uno::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;
// css::lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/dbaccess/source/core/inc/querycomposer.hxx b/dbaccess/source/core/inc/querycomposer.hxx
index 7671b9a9bf7f..c5d764d98cf8 100644
--- a/dbaccess/source/core/inc/querycomposer.hxx
+++ b/dbaccess/source/core/inc/querycomposer.hxx
@@ -62,8 +62,8 @@ namespace dbaccess
// css::uno::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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
diff --git a/dbaccess/source/core/inc/statement.hxx b/dbaccess/source/core/inc/statement.hxx
index 7ddc9129538f..f437040682fb 100644
--- a/dbaccess/source/core/inc/statement.hxx
+++ b/dbaccess/source/core/inc/statement.hxx
@@ -70,8 +70,8 @@ public:
// css::uno::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;
// OComponentHelper
virtual void SAL_CALL disposing() override;
diff --git a/dbaccess/source/core/inc/tablecontainer.hxx b/dbaccess/source/core/inc/tablecontainer.hxx
index c60be3b5ce00..44358e4e20e2 100644
--- a/dbaccess/source/core/inc/tablecontainer.hxx
+++ b/dbaccess/source/core/inc/tablecontainer.hxx
@@ -68,8 +68,8 @@ namespace dbaccess
virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) override;
public:
- virtual void SAL_CALL acquire() throw() override { OFilteredContainer::acquire();}
- virtual void SAL_CALL release() throw() override { OFilteredContainer::release();}
+ virtual void SAL_CALL acquire() noexcept override { OFilteredContainer::acquire();}
+ virtual void SAL_CALL release() noexcept override { OFilteredContainer::release();}
/** ctor of the container. The parent has to support the <type scope="css::sdbc">XConnection</type>
interface.<BR>
diff --git a/dbaccess/source/core/inc/viewcontainer.hxx b/dbaccess/source/core/inc/viewcontainer.hxx
index 371b739b364f..2f7f48cec155 100644
--- a/dbaccess/source/core/inc/viewcontainer.hxx
+++ b/dbaccess/source/core/inc/viewcontainer.hxx
@@ -67,8 +67,8 @@ namespace dbaccess
virtual OUString getTableTypeRestriction() const override;
private:
- virtual void SAL_CALL acquire() throw() override { OFilteredContainer::acquire();}
- virtual void SAL_CALL release() throw() override { OFilteredContainer::release();}
+ virtual void SAL_CALL acquire() noexcept override { OFilteredContainer::acquire();}
+ virtual void SAL_CALL release() noexcept override { OFilteredContainer::release();}
// css::lang::XServiceInfo
DECLARE_SERVICE_INFO();
diff --git a/dbaccess/source/core/misc/apitools.cxx b/dbaccess/source/core/misc/apitools.cxx
index c080979ba042..efec92cf5a63 100644
--- a/dbaccess/source/core/misc/apitools.cxx
+++ b/dbaccess/source/core/misc/apitools.cxx
@@ -53,7 +53,7 @@ Sequence< Type > OSubComponent::getTypes()
// XInterface
-void OSubComponent::release() throw ( )
+void OSubComponent::release() noexcept
{
Reference< XInterface > x( xDelegator );
if (! x.is())
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index ccc4b83d4ebc..88765c186961 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -188,7 +188,7 @@ ODBFilter::ODBFilter( const uno::Reference< XComponentContext >& _rxContext )
}
-ODBFilter::~ODBFilter() throw()
+ODBFilter::~ODBFilter() noexcept
{
}
diff --git a/dbaccess/source/filter/xml/xmlfilter.hxx b/dbaccess/source/filter/xml/xmlfilter.hxx
index c3e5623906eb..ec776cd75f87 100644
--- a/dbaccess/source/filter/xml/xmlfilter.hxx
+++ b/dbaccess/source/filter/xml/xmlfilter.hxx
@@ -79,7 +79,7 @@ protected:
virtual SvXMLImportContext *CreateFastContext(sal_Int32 Element,
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ) override;
- virtual ~ODBFilter() throw() override;
+ virtual ~ODBFilter() noexcept override;
public:
explicit ODBFilter( const Reference< XComponentContext >& _rxContext );
diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx
index d8e2be8cec8f..654ed00573c2 100644
--- a/dbaccess/source/inc/apitools.hxx
+++ b/dbaccess/source/inc/apitools.hxx
@@ -48,7 +48,7 @@ public:
// css::uno::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;
operator css::uno::Reference< css::uno::XInterface > () const
{ return static_cast<css::uno::XWeak *>(const_cast<OSubComponent *>(this)); }
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index fa4f932654cb..7d0d326605b0 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -268,12 +268,12 @@ void SAL_CALL OGenericUnoController::initialize( const Sequence< Any >& aArgumen
}
}
-void SAL_CALL OGenericUnoController::acquire( ) throw ()
+void SAL_CALL OGenericUnoController::acquire( ) noexcept
{
OGenericUnoController_Base::acquire();
}
-void SAL_CALL OGenericUnoController::release( ) throw ()
+void SAL_CALL OGenericUnoController::release( ) noexcept
{
OGenericUnoController_Base::release();
}
diff --git a/dbaccess/source/ui/inc/ConnectionLineAccess.hxx b/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
index 83c01baadb1f..1652b8b0b53c 100644
--- a/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
+++ b/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
@@ -47,11 +47,11 @@ namespace dbaui
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ // here inline is allowed because we do not use this class outside this dll
VCLXAccessibleComponent::acquire( );
}
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ // here inline is allowed because we do not use this class outside this dll
VCLXAccessibleComponent::release( );
}
diff --git a/dbaccess/source/ui/inc/JoinExchange.hxx b/dbaccess/source/ui/inc/JoinExchange.hxx
index aec5fcfd8abd..73f9ea884540 100644
--- a/dbaccess/source/ui/inc/JoinExchange.hxx
+++ b/dbaccess/source/ui/inc/JoinExchange.hxx
@@ -43,8 +43,8 @@ namespace dbaui
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XUnoTunnel
static css::uno::Sequence< sal_Int8 > getUnoTunnelId();
diff --git a/dbaccess/source/ui/inc/TableWindowAccess.hxx b/dbaccess/source/ui/inc/TableWindowAccess.hxx
index f9b534073bb8..b51e4c80f4b8 100644
--- a/dbaccess/source/ui/inc/TableWindowAccess.hxx
+++ b/dbaccess/source/ui/inc/TableWindowAccess.hxx
@@ -50,11 +50,11 @@ namespace dbaui
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ // here inline is allowed because we do not use this class outside this dll
VCLXAccessibleComponent::acquire( );
}
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ // here inline is allowed because we do not use this class outside this dll
VCLXAccessibleComponent::release( );
}
diff --git a/dbaccess/source/ui/inc/sbagrid.hxx b/dbaccess/source/ui/inc/sbagrid.hxx
index 14e39e9581ef..afde7e7bed59 100644
--- a/dbaccess/source/ui/inc/sbagrid.hxx
+++ b/dbaccess/source/ui/inc/sbagrid.hxx
@@ -100,8 +100,8 @@ namespace dbaui
virtual ~SbaXGridPeer() override;
// UNO
- virtual void SAL_CALL acquire() throw() override { FmXGridPeer::acquire(); }
- virtual void SAL_CALL release() throw() override { FmXGridPeer::release(); }
+ virtual void SAL_CALL acquire() noexcept override { FmXGridPeer::acquire(); }
+ virtual void SAL_CALL release() noexcept override { FmXGridPeer::release(); }
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) override;
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/dbaccess/source/ui/inc/sbamultiplex.hxx b/dbaccess/source/ui/inc/sbamultiplex.hxx
index 52b103291c4f..a61aa79e9793 100644
--- a/dbaccess/source/ui/inc/sbamultiplex.hxx
+++ b/dbaccess/source/ui/inc/sbamultiplex.hxx
@@ -47,8 +47,8 @@ namespace dbaui
public:
OSbaWeakSubObject(::cppu::OWeakObject& rParent) : m_rParent(rParent) { }
- virtual void SAL_CALL acquire() throw() override { m_rParent.acquire(); }
- virtual void SAL_CALL release() throw() override { m_rParent.release(); }
+ virtual void SAL_CALL acquire() noexcept override { m_rParent.acquire(); }
+ virtual void SAL_CALL release() noexcept override { m_rParent.release(); }
};
// declaration of a listener multiplexer class
diff --git a/dbaccess/source/ui/misc/dbaundomanager.cxx b/dbaccess/source/ui/misc/dbaundomanager.cxx
index d8659ce6157d..4bf73c2b2e81 100644
--- a/dbaccess/source/ui/misc/dbaundomanager.cxx
+++ b/dbaccess/source/ui/misc/dbaundomanager.cxx
@@ -166,12 +166,12 @@ namespace dbaui
return m_xImpl->aUndoManager;
}
- void SAL_CALL UndoManager::acquire( ) throw ()
+ void SAL_CALL UndoManager::acquire( ) noexcept
{
m_xImpl->rParent.acquire();
}
- void SAL_CALL UndoManager::release( ) throw ()
+ void SAL_CALL UndoManager::release( ) noexcept
{
m_xImpl->rParent.release();
}
diff --git a/dbaccess/source/ui/querydesign/JoinExchange.cxx b/dbaccess/source/ui/querydesign/JoinExchange.cxx
index 65e883d8d901..2fda531e716c 100644
--- a/dbaccess/source/ui/querydesign/JoinExchange.cxx
+++ b/dbaccess/source/ui/querydesign/JoinExchange.cxx
@@ -104,12 +104,12 @@ namespace dbaui
return aReturn;
}
- void SAL_CALL OJoinExchObj::acquire( ) throw()
+ void SAL_CALL OJoinExchObj::acquire( ) noexcept
{
TransferDataContainer::acquire( );
}
- void SAL_CALL OJoinExchObj::release( ) throw()
+ void SAL_CALL OJoinExchObj::release( ) noexcept
{
TransferDataContainer::release( );
}
diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
index af8f5983da24..f499135080b2 100644
--- a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
+++ b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
@@ -198,12 +198,12 @@ uno::Any SAL_CALL LimitBoxController::queryInterface( const uno::Type& aType )
return ::cppu::queryInterface( aType, static_cast< lang::XServiceInfo* >( this ));
}
-void SAL_CALL LimitBoxController::acquire() throw ()
+void SAL_CALL LimitBoxController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL LimitBoxController::release() throw ()
+void SAL_CALL LimitBoxController::release() noexcept
{
ToolboxController::release();
}
diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.hxx b/dbaccess/source/ui/querydesign/limitboxcontroller.hxx
index 0304a2b9d337..af1e5a666882 100644
--- a/dbaccess/source/ui/querydesign/limitboxcontroller.hxx
+++ b/dbaccess/source/ui/querydesign/limitboxcontroller.hxx
@@ -34,8 +34,8 @@ class LimitBoxController: public svt::ToolboxController,
/// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
/// XServiceInfo
DECLARE_SERVICE_INFO();
diff --git a/desktop/source/deployment/misc/dp_interact.cxx b/desktop/source/deployment/misc/dp_interact.cxx
index 6bb4e7e3c1fa..27a2fc075664 100644
--- a/desktop/source/deployment/misc/dp_interact.cxx
+++ b/desktop/source/deployment/misc/dp_interact.cxx
@@ -48,8 +48,8 @@ public:
cppu::UnoType<task::XInteractionContinuation>::get().isAssignableFrom(m_type) ); }
// XInterface
- 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;
virtual Any SAL_CALL queryInterface( Type const & type ) override;
// XInteractionContinuation
@@ -58,13 +58,13 @@ public:
// XInterface
-void InteractionContinuationImpl::acquire() throw ()
+void InteractionContinuationImpl::acquire() noexcept
{
OWeakObject::acquire();
}
-void InteractionContinuationImpl::release() throw ()
+void InteractionContinuationImpl::release() noexcept
{
OWeakObject::release();
}
diff --git a/editeng/inc/unopracc.hxx b/editeng/inc/unopracc.hxx
index d6b8b8235762..03fd268e7789 100644
--- a/editeng/inc/unopracc.hxx
+++ b/editeng/inc/unopracc.hxx
@@ -35,14 +35,14 @@ class SvxAccessibleTextPropertySet final : public SvxUnoTextRangeBase,
{
public:
SvxAccessibleTextPropertySet(const SvxEditSource*, const SvxItemPropertySet*);
- virtual ~SvxAccessibleTextPropertySet() throw() override;
+ virtual ~SvxAccessibleTextPropertySet() noexcept override;
// XTextRange
virtual css::uno::Reference<css::text::XText> SAL_CALL getText() 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;
// lang::XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
diff --git a/editeng/source/misc/SvXMLAutoCorrectImport.cxx b/editeng/source/misc/SvXMLAutoCorrectImport.cxx
index b2a9e51d9823..957cb708562c 100644
--- a/editeng/source/misc/SvXMLAutoCorrectImport.cxx
+++ b/editeng/source/misc/SvXMLAutoCorrectImport.cxx
@@ -35,7 +35,7 @@ SvXMLAutoCorrectImport::SvXMLAutoCorrectImport(
{
}
-SvXMLAutoCorrectImport::~SvXMLAutoCorrectImport() throw ()
+SvXMLAutoCorrectImport::~SvXMLAutoCorrectImport() noexcept
{
}
@@ -108,7 +108,7 @@ SvXMLExceptionListImport::SvXMLExceptionListImport(
{
}
-SvXMLExceptionListImport::~SvXMLExceptionListImport() throw ()
+SvXMLExceptionListImport::~SvXMLExceptionListImport() noexcept
{
}
diff --git a/editeng/source/misc/SvXMLAutoCorrectImport.hxx b/editeng/source/misc/SvXMLAutoCorrectImport.hxx
index 364b30a37062..4b4b819c0711 100644
--- a/editeng/source/misc/SvXMLAutoCorrectImport.hxx
+++ b/editeng/source/misc/SvXMLAutoCorrectImport.hxx
@@ -43,7 +43,7 @@ public:
SvxAutoCorrect &rNewAutoCorrect,
const css::uno::Reference < css::embed::XStorage >& rNewStorage);
- virtual ~SvXMLAutoCorrectImport() throw () override;
+ virtual ~SvXMLAutoCorrectImport() noexcept override;
};
class SvXMLWordListContext : public SvXMLImportContext
@@ -84,7 +84,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext > & xContext,
SvStringsISortDtor & rNewList );
- virtual ~SvXMLExceptionListImport() throw () override;
+ virtual ~SvXMLExceptionListImport() noexcept override;
};
class SvXMLExceptionListContext : public SvXMLImportContext
diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx
index 389856b4a5ef..c2b0aa5bdd8d 100644
--- a/editeng/source/uno/unofield.cxx
+++ b/editeng/source/uno/unofield.cxx
@@ -229,7 +229,7 @@ static tools::Time setTime( util::DateTime const & rDate )
-const css::uno::Sequence< sal_Int8 > & SvxUnoTextField::getUnoTunnelId() throw()
+const css::uno::Sequence< sal_Int8 > & SvxUnoTextField::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSvxUnoTextFieldUnoTunnelId;
return theSvxUnoTextFieldUnoTunnelId.getSeq();
@@ -244,7 +244,7 @@ sal_Int64 SAL_CALL SvxUnoTextField::getSomething( const css::uno::Sequence< sal_
return 0;
}
-SvxUnoTextField::SvxUnoTextField( sal_Int32 nServiceId ) throw()
+SvxUnoTextField::SvxUnoTextField( sal_Int32 nServiceId ) noexcept
: OComponentHelper( m_aMutex )
, mpPropSet(nullptr)
, mnServiceId(nServiceId)
@@ -310,7 +310,7 @@ SvxUnoTextField::SvxUnoTextField( sal_Int32 nServiceId ) throw()
}
}
-SvxUnoTextField::SvxUnoTextField( uno::Reference< text::XTextRange > const & xAnchor, const OUString& rPresentation, const SvxFieldData* pData ) throw()
+SvxUnoTextField::SvxUnoTextField( uno::Reference< text::XTextRange > const & xAnchor, const OUString& rPresentation, const SvxFieldData* pData ) noexcept
: OComponentHelper( m_aMutex )
, mxAnchor( xAnchor )
, mpPropSet(nullptr)
@@ -402,11 +402,11 @@ SvxUnoTextField::SvxUnoTextField( uno::Reference< text::XTextRange > const & xAn
mpPropSet = ImplGetFieldItemPropertySet(mnServiceId);
}
-SvxUnoTextField::~SvxUnoTextField() throw()
+SvxUnoTextField::~SvxUnoTextField() noexcept
{
}
-std::unique_ptr<SvxFieldData> SvxUnoTextField::CreateFieldData() const throw()
+std::unique_ptr<SvxFieldData> SvxUnoTextField::CreateFieldData() const noexcept
{
std::unique_ptr<SvxFieldData> pData;
@@ -591,12 +591,12 @@ uno::Any SAL_CALL SvxUnoTextField::queryInterface( const uno::Type & rType )
return OComponentHelper::queryInterface(rType);
}
-void SAL_CALL SvxUnoTextField::acquire() throw( )
+void SAL_CALL SvxUnoTextField::acquire() noexcept
{
OComponentHelper::acquire();
}
-void SAL_CALL SvxUnoTextField::release() throw( )
+void SAL_CALL SvxUnoTextField::release() noexcept
{
OComponentHelper::release();
}
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index 9b7e24e18c5f..8a4ad0c29bac 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -261,7 +261,7 @@ uno::Reference< beans::XPropertySetInfo > const & SvxItemPropertySet::getProper
/** converts the given any with a metric to 100th/mm if needed */
-void SvxUnoConvertToMM( const MapUnit eSourceMapUnit, uno::Any & rMetric ) throw()
+void SvxUnoConvertToMM( const MapUnit eSourceMapUnit, uno::Any & rMetric ) noexcept
{
// map the metric of the itempool to 100th mm
switch(eSourceMapUnit)
@@ -300,7 +300,7 @@ void SvxUnoConvertToMM( const MapUnit eSourceMapUnit, uno::Any & rMetric ) throw
/** converts the given any with a metric from 100th/mm to the given metric if needed */
-void SvxUnoConvertFromMM( const MapUnit eDestinationMapUnit, uno::Any & rMetric ) throw()
+void SvxUnoConvertFromMM( const MapUnit eDestinationMapUnit, uno::Any & rMetric ) noexcept
{
switch(eDestinationMapUnit)
{
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx
index 4e81037a36ae..5180f9d60fdf 100644
--- a/editeng/source/uno/unonrule.cxx
+++ b/editeng/source/uno/unonrule.cxx
@@ -96,7 +96,7 @@ SvxUnoNumberingRules::SvxUnoNumberingRules(const SvxNumRule& rRule)
{
}
-SvxUnoNumberingRules::~SvxUnoNumberingRules() throw()
+SvxUnoNumberingRules::~SvxUnoNumberingRules() noexcept
{
}
@@ -546,7 +546,7 @@ sal_Int16 SvxUnoNumberingRules::Compare( const Any& Any1, const Any& Any2 )
return -1;
}
-Reference< XAnyCompare > SvxCreateNumRuleCompare() throw()
+Reference< XAnyCompare > SvxCreateNumRuleCompare() noexcept
{
return new SvxUnoNumberingRulesCompare;
}
diff --git a/editeng/source/uno/unopracc.cxx b/editeng/source/uno/unopracc.cxx
index 2262bdd9fcab..c36fc152e24b 100644
--- a/editeng/source/uno/unopracc.cxx
+++ b/editeng/source/uno/unopracc.cxx
@@ -33,7 +33,7 @@ SvxAccessibleTextPropertySet::SvxAccessibleTextPropertySet( const SvxEditSource*
{
}
-SvxAccessibleTextPropertySet::~SvxAccessibleTextPropertySet() throw()
+SvxAccessibleTextPropertySet::~SvxAccessibleTextPropertySet() noexcept
{
}
@@ -49,13 +49,13 @@ uno::Any SAL_CALL SvxAccessibleTextPropertySet::queryInterface( const uno::Type
}
void SAL_CALL SvxAccessibleTextPropertySet::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL SvxAccessibleTextPropertySet::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index d688e5701503..09351574a13e 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -134,7 +134,7 @@ static const SfxItemPropertySet* ImplGetSvxUnoOutlinerTextCursorSfxPropertySet()
// helper for Item/Property conversion
-void GetSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) throw()
+void GetSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) noexcept
{
DBG_ASSERT( pForwarder, "I need a valid SvxTextForwarder!" );
if( pForwarder )
@@ -147,7 +147,7 @@ void GetSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder
}
}
-void CheckSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) throw()
+void CheckSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) noexcept
{
DBG_ASSERT( pForwarder, "I need a valid SvxTextForwarder!" );
if( !pForwarder )
@@ -196,7 +196,7 @@ void CheckSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarde
}
}
-static void CheckSelection( struct ESelection& rSel, SvxEditSource *pEdit ) throw()
+static void CheckSelection( struct ESelection& rSel, SvxEditSource *pEdit ) noexcept
{
if (!pEdit)
return;
@@ -259,13 +259,13 @@ SvxUnoTextRangeBase::SvxUnoTextRangeBase(const SvxUnoTextRangeBase& rRange)
mpEditSource->addRange( this );
}
-SvxUnoTextRangeBase::~SvxUnoTextRangeBase() throw()
+SvxUnoTextRangeBase::~SvxUnoTextRangeBase() noexcept
{
if( mpEditSource )
mpEditSource->removeRange( this );
}
-void SvxUnoTextRangeBase::SetEditSource( SvxEditSource* pSource ) throw()
+void SvxUnoTextRangeBase::SetEditSource( SvxEditSource* pSource ) noexcept
{
DBG_ASSERT(pSource,"SvxUnoTextRangeBase: I need a valid SvxEditSource!");
DBG_ASSERT(mpEditSource==nullptr,"SvxUnoTextRangeBase::SetEditSource called while SvxEditSource already set" );
@@ -280,7 +280,7 @@ void SvxUnoTextRangeBase::SetEditSource( SvxEditSource* pSource ) throw()
/** puts a field item with a copy of the given FieldData into the itemset
corresponding with this range */
-void SvxUnoTextRangeBase::attachField( std::unique_ptr<SvxFieldData> pData ) throw()
+void SvxUnoTextRangeBase::attachField( std::unique_ptr<SvxFieldData> pData ) noexcept
{
SolarMutexGuard aGuard;
@@ -292,7 +292,7 @@ void SvxUnoTextRangeBase::attachField( std::unique_ptr<SvxFieldData> pData ) thr
}
}
-void SvxUnoTextRangeBase::SetSelection( const ESelection& rSelection ) throw()
+void SvxUnoTextRangeBase::SetSelection( const ESelection& rSelection ) noexcept
{
SolarMutexGuard aGuard;
@@ -1297,7 +1297,7 @@ uno::Sequence< uno::Any > SAL_CALL SvxUnoTextRangeBase::getPropertyDefaults( con
}
// internal
-void SvxUnoTextRangeBase::CollapseToStart() throw()
+void SvxUnoTextRangeBase::CollapseToStart() noexcept
{
CheckSelection( maSelection, mpEditSource.get() );
@@ -1305,7 +1305,7 @@ void SvxUnoTextRangeBase::CollapseToStart() throw()
maSelection.nEndPos = maSelection.nStartPos;
}
-void SvxUnoTextRangeBase::CollapseToEnd() throw()
+void SvxUnoTextRangeBase::CollapseToEnd() noexcept
{
CheckSelection( maSelection, mpEditSource.get() );
@@ -1313,7 +1313,7 @@ void SvxUnoTextRangeBase::CollapseToEnd() throw()
maSelection.nStartPos = maSelection.nEndPos;
}
-bool SvxUnoTextRangeBase::IsCollapsed() throw()
+bool SvxUnoTextRangeBase::IsCollapsed() noexcept
{
CheckSelection( maSelection, mpEditSource.get() );
@@ -1321,7 +1321,7 @@ bool SvxUnoTextRangeBase::IsCollapsed() throw()
maSelection.nStartPos == maSelection.nEndPos );
}
-bool SvxUnoTextRangeBase::GoLeft(sal_Int16 nCount, bool Expand) throw()
+bool SvxUnoTextRangeBase::GoLeft(sal_Int16 nCount, bool Expand) noexcept
{
CheckSelection( maSelection, mpEditSource.get() );
@@ -1359,7 +1359,7 @@ bool SvxUnoTextRangeBase::GoLeft(sal_Int16 nCount, bool Expand) throw()
return bOk;
}
-bool SvxUnoTextRangeBase::GoRight(sal_Int16 nCount, bool Expand) throw()
+bool SvxUnoTextRangeBase::GoRight(sal_Int16 nCount, bool Expand) noexcept
{
SvxTextForwarder* pForwarder = mpEditSource ? mpEditSource->GetTextForwarder() : nullptr;
if( pForwarder )
@@ -1398,7 +1398,7 @@ bool SvxUnoTextRangeBase::GoRight(sal_Int16 nCount, bool Expand) throw()
return false;
}
-void SvxUnoTextRangeBase::GotoStart(bool Expand) throw()
+void SvxUnoTextRangeBase::GotoStart(bool Expand) noexcept
{
maSelection.nStartPara = 0;
maSelection.nStartPos = 0;
@@ -1407,7 +1407,7 @@ void SvxUnoTextRangeBase::GotoStart(bool Expand) throw()
CollapseToStart();
}
-void SvxUnoTextRangeBase::GotoEnd(bool Expand) throw()
+void SvxUnoTextRangeBase::GotoEnd(bool Expand) noexcept
{
CheckSelection( maSelection, mpEditSource.get() );
@@ -1500,7 +1500,7 @@ SvxUnoTextRange::SvxUnoTextRange(const SvxUnoTextBase& rParent, bool bPortion /*
xParentText = static_cast<text::XText*>(const_cast<SvxUnoTextBase *>(&rParent));
}
-SvxUnoTextRange::~SvxUnoTextRange() throw()
+SvxUnoTextRange::~SvxUnoTextRange() noexcept
{
}
@@ -1528,13 +1528,13 @@ uno::Any SAL_CALL SvxUnoTextRange::queryInterface( const uno::Type & rType )
}
void SAL_CALL SvxUnoTextRange::acquire()
- throw( )
+ noexcept
{
OWeakAggObject::acquire();
}
void SAL_CALL SvxUnoTextRange::release()
- throw( )
+ noexcept
{
OWeakAggObject::release();
}
@@ -1618,7 +1618,7 @@ SvxUnoTextBase::SvxUnoTextBase(const SvxUnoTextBase& rText)
xParentText = rText.xParentText;
}
-SvxUnoTextBase::~SvxUnoTextBase() throw()
+SvxUnoTextBase::~SvxUnoTextBase() noexcept
{
}
@@ -2161,7 +2161,7 @@ uno::Sequence< OUString > SAL_CALL SvxUnoTextBase::getSupportedServiceNames_Stat
std::initializer_list<std::u16string_view>{ u"com.sun.star.text.Text" });
}
-const uno::Sequence< sal_Int8 > & SvxUnoTextBase::getUnoTunnelId() throw()
+const uno::Sequence< sal_Int8 > & SvxUnoTextBase::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSvxUnoTextBaseUnoTunnelId;
return theSvxUnoTextBaseUnoTunnelId.getSeq();
@@ -2179,23 +2179,23 @@ sal_Int64 SAL_CALL SvxUnoTextBase::getSomething( const uno::Sequence< sal_Int8 >
}
}
-SvxUnoText::SvxUnoText( const SvxItemPropertySet* _pSet ) throw()
+SvxUnoText::SvxUnoText( const SvxItemPropertySet* _pSet ) noexcept
: SvxUnoTextBase( _pSet )
{
}
-SvxUnoText::SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, uno::Reference < text::XText > const & xParent ) throw()
+SvxUnoText::SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, uno::Reference < text::XText > const & xParent ) noexcept
: SvxUnoTextBase( pSource, _pSet, xParent )
{
}
-SvxUnoText::SvxUnoText( const SvxUnoText& rText ) throw()
+SvxUnoText::SvxUnoText( const SvxUnoText& rText ) noexcept
: SvxUnoTextBase( rText )
, cppu::OWeakAggObject()
{
}
-SvxUnoText::~SvxUnoText() throw()
+SvxUnoText::~SvxUnoText() noexcept
{
}
@@ -2214,12 +2214,12 @@ uno::Any SAL_CALL SvxUnoText::queryInterface( const uno::Type & rType )
return OWeakAggObject::queryInterface( rType );
}
-void SAL_CALL SvxUnoText::acquire() throw( )
+void SAL_CALL SvxUnoText::acquire() noexcept
{
OWeakAggObject::acquire();
}
-void SAL_CALL SvxUnoText::release() throw( )
+void SAL_CALL SvxUnoText::release() noexcept
{
OWeakAggObject::release();
}
@@ -2235,7 +2235,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SvxUnoText::getImplementationId( )
return css::uno::Sequence<sal_Int8>();
}
-const uno::Sequence< sal_Int8 > & SvxUnoText::getUnoTunnelId() throw()
+const uno::Sequence< sal_Int8 > & SvxUnoText::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSvxUnoTextUnoTunnelId;
return theSvxUnoTextUnoTunnelId.getSeq();
diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx
index d88bb55daa9d..f7a2d462e3b3 100644
--- a/editeng/source/uno/unotext2.cxx
+++ b/editeng/source/uno/unotext2.cxx
@@ -41,7 +41,7 @@ using namespace ::com::sun::star;
// SvxUnoTextContentEnumeration
-SvxUnoTextContentEnumeration::SvxUnoTextContentEnumeration( const SvxUnoTextBase& rText, const ESelection& rSel ) throw()
+SvxUnoTextContentEnumeration::SvxUnoTextContentEnumeration( const SvxUnoTextBase& rText, const ESelection& rSel ) noexcept
{
mxParentText = const_cast<SvxUnoTextBase*>(&rText);
if( rText.GetEditSource() )
@@ -86,7 +86,7 @@ SvxUnoTextContentEnumeration::SvxUnoTextContentEnumeration( const SvxUnoTextBase
}
}
-SvxUnoTextContentEnumeration::~SvxUnoTextContentEnumeration() throw()
+SvxUnoTextContentEnumeration::~SvxUnoTextContentEnumeration() noexcept
{
}
@@ -115,7 +115,7 @@ uno::Any SvxUnoTextContentEnumeration::nextElement()
-SvxUnoTextContent::SvxUnoTextContent( const SvxUnoTextBase& rText, sal_Int32 nPara ) throw()
+SvxUnoTextContent::SvxUnoTextContent( const SvxUnoTextBase& rText, sal_Int32 nPara ) noexcept
: SvxUnoTextRangeBase(rText)
, mnParagraph(nPara)
, mrParentText(rText)
@@ -125,7 +125,7 @@ SvxUnoTextContent::SvxUnoTextContent( const SvxUnoTextBase& rText, sal_Int32 nPa
mxParentText = const_cast<SvxUnoTextBase*>(&rText);
}
-SvxUnoTextContent::SvxUnoTextContent( const SvxUnoTextContent& rContent ) throw()
+SvxUnoTextContent::SvxUnoTextContent( const SvxUnoTextContent& rContent ) noexcept
: SvxUnoTextRangeBase(rContent)
, text::XTextContent()
, container::XEnumerationAccess()
@@ -140,7 +140,7 @@ SvxUnoTextContent::SvxUnoTextContent( const SvxUnoTextContent& rContent ) throw(
SetSelection( rContent.GetSelection() );
}
-SvxUnoTextContent::~SvxUnoTextContent() throw()
+SvxUnoTextContent::~SvxUnoTextContent() noexcept
{
}
@@ -169,12 +169,12 @@ uno::Any SAL_CALL SvxUnoTextContent::queryInterface( const uno::Type & rType )
return OWeakAggObject::queryInterface(rType);
}
-void SAL_CALL SvxUnoTextContent::acquire() throw( )
+void SAL_CALL SvxUnoTextContent::acquire() noexcept
{
OWeakAggObject::acquire();
}
-void SAL_CALL SvxUnoTextContent::release() throw( )
+void SAL_CALL SvxUnoTextContent::release() noexcept
{
OWeakAggObject::release();
}
@@ -422,7 +422,7 @@ SvxUnoTextRangeEnumeration::SvxUnoTextRangeEnumeration(const SvxUnoTextBase& rPa
}
}
-SvxUnoTextRangeEnumeration::~SvxUnoTextRangeEnumeration() throw()
+SvxUnoTextRangeEnumeration::~SvxUnoTextRangeEnumeration() noexcept
{
}
@@ -447,13 +447,13 @@ uno::Any SAL_CALL SvxUnoTextRangeEnumeration::nextElement()
return uno::makeAny( xRange );
}
-SvxUnoTextCursor::SvxUnoTextCursor( const SvxUnoTextBase& rText ) throw()
+SvxUnoTextCursor::SvxUnoTextCursor( const SvxUnoTextBase& rText ) noexcept
: SvxUnoTextRangeBase(rText),
mxParentText( const_cast<SvxUnoTextBase*>(&rText) )
{
}
-SvxUnoTextCursor::SvxUnoTextCursor( const SvxUnoTextCursor& rCursor ) throw()
+SvxUnoTextCursor::SvxUnoTextCursor( const SvxUnoTextCursor& rCursor ) noexcept
: SvxUnoTextRangeBase(rCursor)
, text::XTextCursor()
, lang::XTypeProvider()
@@ -462,7 +462,7 @@ SvxUnoTextCursor::SvxUnoTextCursor( const SvxUnoTextCursor& rCursor ) throw()
{
}
-SvxUnoTextCursor::~SvxUnoTextCursor() throw()
+SvxUnoTextCursor::~SvxUnoTextCursor() noexcept
{
}
@@ -491,12 +491,12 @@ uno::Any SAL_CALL SvxUnoTextCursor::queryInterface( const uno::Type & rType )
return OWeakAggObject::queryInterface(rType);
}
-void SAL_CALL SvxUnoTextCursor::acquire() throw ( )
+void SAL_CALL SvxUnoTextCursor::acquire() noexcept
{
OWeakAggObject::acquire();
}
-void SAL_CALL SvxUnoTextCursor::release() throw ( )
+void SAL_CALL SvxUnoTextCursor::release() noexcept
{
OWeakAggObject::release();
}
diff --git a/embeddedobj/source/commonembedding/miscobj.cxx b/embeddedobj/source/commonembedding/miscobj.cxx
index 7336df5455e3..ab9f2b53c0ff 100644
--- a/embeddedobj/source/commonembedding/miscobj.cxx
+++ b/embeddedobj/source/commonembedding/miscobj.cxx
@@ -424,14 +424,14 @@ uno::Any SAL_CALL OCommonEmbeddedObject::queryInterface( const uno::Type& rType
void SAL_CALL OCommonEmbeddedObject::acquire()
- throw()
+ noexcept
{
::cppu::OWeakObject::acquire() ;
}
void SAL_CALL OCommonEmbeddedObject::release()
- throw()
+ noexcept
{
::cppu::OWeakObject::release() ;
}
diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx
index 1cae4845745a..b055adc4a9f1 100644
--- a/embeddedobj/source/inc/commonembobj.hxx
+++ b/embeddedobj/source/inc/commonembobj.hxx
@@ -259,10 +259,10 @@ public:
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override ;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XEmbeddedObject
diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx
index bc75a5af9c4c..7eea3d407e7d 100644
--- a/embeddedobj/source/inc/oleembobj.hxx
+++ b/embeddedobj/source/inc/oleembobj.hxx
@@ -270,7 +270,7 @@ protected:
css::uno::Reference< css::io::XStream > TryToRetrieveCachedVisualRepresentation_Impl(
const css::uno::Reference< css::io::XStream >& xStream,
bool bAllowRepair50 = false )
- throw ();
+ noexcept;
#ifdef _WIN32
bool SaveObject_Impl();
bool OnShowWindow_Impl( bool bShow );
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index c4d80bb404fd..0ef23a096af4 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -601,7 +601,7 @@ bool OleEmbeddedObject::HasVisReplInStream()
uno::Reference< io::XStream > OleEmbeddedObject::TryToRetrieveCachedVisualRepresentation_Impl(
const uno::Reference< io::XStream >& xStream,
bool bAllowToRepair50 )
- throw ()
+ noexcept
{
uno::Reference< io::XStream > xResult;
diff --git a/extensions/source/abpilot/unodialogabp.cxx b/extensions/source/abpilot/unodialogabp.cxx
index 812773213daa..a9836d910535 100644
--- a/extensions/source/abpilot/unodialogabp.cxx
+++ b/extensions/source/abpilot/unodialogabp.cxx
@@ -48,12 +48,12 @@ namespace abp
return aReturn.hasValue() ? aReturn : OABSPilotUno_JBase::queryInterface( aType );
}
- void SAL_CALL OABSPilotUno::acquire( ) throw ()
+ void SAL_CALL OABSPilotUno::acquire( ) noexcept
{
svt::OGenericUnoDialog::acquire();
}
- void SAL_CALL OABSPilotUno::release( ) throw ()
+ void SAL_CALL OABSPilotUno::release( ) noexcept
{
svt::OGenericUnoDialog::release();
}
diff --git a/extensions/source/abpilot/unodialogabp.hxx b/extensions/source/abpilot/unodialogabp.hxx
index cf3aaa6f5101..b8bd940afa04 100644
--- a/extensions/source/abpilot/unodialogabp.hxx
+++ b/extensions/source/abpilot/unodialogabp.hxx
@@ -44,8 +44,8 @@ namespace abp
private:
// XInterface (disambiguation)
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
diff --git a/extensions/source/bibliography/loadlisteneradapter.cxx b/extensions/source/bibliography/loadlisteneradapter.cxx
index fecce24ae7b7..27f4ea2e5099 100644
--- a/extensions/source/bibliography/loadlisteneradapter.cxx
+++ b/extensions/source/bibliography/loadlisteneradapter.cxx
@@ -120,13 +120,13 @@ namespace bib
}
- void SAL_CALL OLoadListenerAdapter::acquire( ) throw ()
+ void SAL_CALL OLoadListenerAdapter::acquire( ) noexcept
{
OLoadListenerAdapter_Base::acquire();
}
- void SAL_CALL OLoadListenerAdapter::release( ) throw ()
+ void SAL_CALL OLoadListenerAdapter::release( ) noexcept
{
OLoadListenerAdapter_Base::release();
}
diff --git a/extensions/source/bibliography/loadlisteneradapter.hxx b/extensions/source/bibliography/loadlisteneradapter.hxx
index 0cb3fae9ccf3..1031dedca35a 100644
--- a/extensions/source/bibliography/loadlisteneradapter.hxx
+++ b/extensions/source/bibliography/loadlisteneradapter.hxx
@@ -85,8 +85,8 @@ namespace bib
void Init( OComponentListener* _pListener );
// base for ref-counting, implemented by OComponentAdapter
- virtual void SAL_CALL acquire( ) throw () = 0;
- virtual void SAL_CALL release( ) throw () = 0;
+ virtual void SAL_CALL acquire( ) noexcept = 0;
+ virtual void SAL_CALL release( ) noexcept = 0;
/// dispose the object - stop listening and such
void dispose();
@@ -129,8 +129,8 @@ namespace bib
);
- 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:
// XEventListener
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index 8f164a249802..04e9e44b388d 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -152,8 +152,8 @@ namespace pcr
*/
void setNotificationMode( NotificationMode _eMode );
- 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:
virtual ~PropertyControlContext_Impl() override;
@@ -251,12 +251,12 @@ namespace pcr
impl_notify_throw( CurrentControl, ACTIVATE_NEXT );
}
- void SAL_CALL PropertyControlContext_Impl::acquire() throw()
+ void SAL_CALL PropertyControlContext_Impl::acquire() noexcept
{
PropertyControlContext_Impl_Base::acquire();
}
- void SAL_CALL PropertyControlContext_Impl::release() throw()
+ void SAL_CALL PropertyControlContext_Impl::release() noexcept
{
PropertyControlContext_Impl_Base::release();
}
diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx
index 282ecc8a3128..0372087036ce 100644
--- a/extensions/source/propctrlr/formgeometryhandler.cxx
+++ b/extensions/source/propctrlr/formgeometryhandler.cxx
@@ -161,12 +161,12 @@ namespace pcr
}
// XInterface
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{
m_rParent.acquire();
}
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{
m_rParent.release();
}
diff --git a/filter/qa/cppunit/xslt-test.cxx b/filter/qa/cppunit/xslt-test.cxx
index 8ff8dbc6ef55..528e34c2916d 100644
--- a/filter/qa/cppunit/xslt-test.cxx
+++ b/filter/qa/cppunit/xslt-test.cxx
@@ -67,10 +67,10 @@ private:
std::condition_variable m_cond;
bool m_bDone;
- virtual void SAL_CALL disposing(const lang::EventObject&) throw() override {}
- virtual void SAL_CALL started() throw() override {}
- virtual void SAL_CALL closed() throw() override { notifyDone(); }
- virtual void SAL_CALL terminated() throw() override { notifyDone(); }
+ virtual void SAL_CALL disposing(const lang::EventObject&) noexcept override {}
+ virtual void SAL_CALL started() noexcept override {}
+ virtual void SAL_CALL closed() noexcept override { notifyDone(); }
+ virtual void SAL_CALL terminated() noexcept override { notifyDone(); }
virtual void SAL_CALL error(const uno::Any& e) override
{
notifyDone(); // set on error too, otherwise main thread waits forever
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index f0b1c74cbc62..abc33c5536de 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -316,7 +316,7 @@ void PDFExportStreamDoc::write( const Reference< XOutputStream >& xStream )
static OUString getMimetypeForDocument( const Reference< XComponentContext >& xContext,
- const Reference< XComponent >& xDoc ) throw()
+ const Reference< XComponent >& xDoc ) noexcept
{
OUString aDocMimetype;
try
diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
index f53697c93a19..ec7b04b964fd 100644
--- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
+++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
@@ -65,8 +65,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const Type& aType ) override;
virtual Any SAL_CALL queryAggregation( Type const & 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:
// XTypeProvider
@@ -145,13 +145,13 @@ Any SAL_CALL XMLFilterDialogComponent::queryAggregation( Type const & rType )
}
-void SAL_CALL XMLFilterDialogComponent::acquire() throw ()
+void SAL_CALL XMLFilterDialogComponent::acquire() noexcept
{
OComponentHelper::acquire();
}
-void SAL_CALL XMLFilterDialogComponent::release() throw ()
+void SAL_CALL XMLFilterDialogComponent::release() noexcept
{
OComponentHelper::release();
}
diff --git a/forms/source/component/imgprod.hxx b/forms/source/component/imgprod.hxx
index 45a0fa89baa7..0e746eb6bd5d 100644
--- a/forms/source/component/imgprod.hxx
+++ b/forms/source/component/imgprod.hxx
@@ -70,8 +70,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// MT: ???
void setImage( css::uno::Reference< css::io::XInputStream > const & rStmRef );
diff --git a/forms/source/richtext/richtextunowrapper.cxx b/forms/source/richtext/richtextunowrapper.cxx
index 25eb28742bfb..5f7a6353ea78 100644
--- a/forms/source/richtext/richtextunowrapper.cxx
+++ b/forms/source/richtext/richtextunowrapper.cxx
@@ -65,7 +65,7 @@ namespace frm
}
- ORichTextUnoWrapper::~ORichTextUnoWrapper() throw()
+ ORichTextUnoWrapper::~ORichTextUnoWrapper() noexcept
{
}
diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx
index 33651f563538..0acb3c53d3e3 100644
--- a/forms/source/richtext/richtextunowrapper.hxx
+++ b/forms/source/richtext/richtextunowrapper.hxx
@@ -42,7 +42,7 @@ namespace frm
ORichTextUnoWrapper( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener );
protected:
- virtual ~ORichTextUnoWrapper() throw() override;
+ virtual ~ORichTextUnoWrapper() noexcept override;
private:
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index 994a415bb8f4..b82b0fc9de80 100644
--- a/forms/source/xforms/model.cxx
+++ b/forms/source/xforms/model.cxx
@@ -104,7 +104,7 @@ Model::Model() :
DBG_INVARIANT();
}
-Model::~Model() throw()
+Model::~Model() noexcept
{
}
diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx
index af543dd139bf..9deb8a834ae5 100644
--- a/forms/source/xforms/model.hxx
+++ b/forms/source/xforms/model.hxx
@@ -110,7 +110,7 @@ public:
/// create a new model with an empty, default instance
Model();
- virtual ~Model() throw() override;
+ virtual ~Model() noexcept override;
xforms::EvaluationContext getEvaluationContext();
diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx
index af59247c8668..1acfe50e87d2 100644
--- a/forms/source/xforms/submission.cxx
+++ b/forms/source/xforms/submission.cxx
@@ -90,7 +90,7 @@ Submission::Submission() :
initializePropertySet();
}
-Submission::~Submission() throw()
+Submission::~Submission() noexcept
{
}
diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx
index 09983d28b1c6..1e7f17e4cfc7 100644
--- a/forms/source/xforms/submission.hxx
+++ b/forms/source/xforms/submission.hxx
@@ -89,7 +89,7 @@ private:
public:
Submission();
- virtual ~Submission() throw() override;
+ virtual ~Submission() noexcept override;
// property methods: get/set value
diff --git a/framework/inc/classes/actiontriggercontainer.hxx b/framework/inc/classes/actiontriggercontainer.hxx
index 6297ce82c91f..785fa2511943 100644
--- a/framework/inc/classes/actiontriggercontainer.hxx
+++ b/framework/inc/classes/actiontriggercontainer.hxx
@@ -41,8 +41,8 @@ class ActionTriggerContainer final : public PropertySetContainer,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XMultiServiceFactory
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) override;
diff --git a/framework/inc/classes/actiontriggerpropertyset.hxx b/framework/inc/classes/actiontriggerpropertyset.hxx
index ee4d6e902381..59c883cf8841 100644
--- a/framework/inc/classes/actiontriggerpropertyset.hxx
+++ b/framework/inc/classes/actiontriggerpropertyset.hxx
@@ -47,8 +47,8 @@ class ActionTriggerPropertySet final : private cppu::BaseMutex,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
index 6fae5595f3a8..198fa2f8393c 100644
--- a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
+++ b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
@@ -45,8 +45,8 @@ class ActionTriggerSeparatorPropertySet final : private cppu::BaseMutex,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/framework/inc/classes/rootactiontriggercontainer.hxx b/framework/inc/classes/rootactiontriggercontainer.hxx
index 2b3088e7793d..601d7c6bcc09 100644
--- a/framework/inc/classes/rootactiontriggercontainer.hxx
+++ b/framework/inc/classes/rootactiontriggercontainer.hxx
@@ -45,8 +45,8 @@ class RootActionTriggerContainer final : public PropertySetContainer,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XMultiServiceFactory
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) override;
diff --git a/framework/inc/helper/propertysetcontainer.hxx b/framework/inc/helper/propertysetcontainer.hxx
index ba1c7110d1b6..f943a112a7ac 100644
--- a/framework/inc/helper/propertysetcontainer.hxx
+++ b/framework/inc/helper/propertysetcontainer.hxx
@@ -39,8 +39,8 @@ class PropertySetContainer : public css::container::XIndexContainer ,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XIndexContainer
virtual void SAL_CALL insertByIndex( sal_Int32 Index, const css::uno::Any& Element ) override;
diff --git a/framework/inc/helper/uiconfigelementwrapperbase.hxx b/framework/inc/helper/uiconfigelementwrapperbase.hxx
index 3b594c876be3..a58c187c0945 100644
--- a/framework/inc/helper/uiconfigelementwrapperbase.hxx
+++ b/framework/inc/helper/uiconfigelementwrapperbase.hxx
@@ -59,9 +59,9 @@ class UIConfigElementWrapperBase : private cppu::BaseMutex,
virtual ~UIConfigElementWrapperBase() override;
// XInterface
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) override;
diff --git a/framework/inc/helper/uielementwrapperbase.hxx b/framework/inc/helper/uielementwrapperbase.hxx
index 664000b67fa8..71fc8d0784ae 100644
--- a/framework/inc/helper/uielementwrapperbase.hxx
+++ b/framework/inc/helper/uielementwrapperbase.hxx
@@ -53,9 +53,9 @@ class UIElementWrapperBase : private cppu::BaseMutex,
virtual ~UIElementWrapperBase() override;
// XInterface
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) override;
diff --git a/framework/inc/uielement/buttontoolbarcontroller.hxx b/framework/inc/uielement/buttontoolbarcontroller.hxx
index f80b0cacb511..d35b3d7f2c75 100644
--- a/framework/inc/uielement/buttontoolbarcontroller.hxx
+++ b/framework/inc/uielement/buttontoolbarcontroller.hxx
@@ -52,8 +52,8 @@ class ButtonToolbarController final : public css::frame::XStatusListener,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XInitialization
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
diff --git a/framework/inc/uielement/constitemcontainer.hxx b/framework/inc/uielement/constitemcontainer.hxx
index 53a0711404df..e25edc57fc7a 100644
--- a/framework/inc/uielement/constitemcontainer.hxx
+++ b/framework/inc/uielement/constitemcontainer.hxx
@@ -52,7 +52,7 @@ class ConstItemContainer final : public ::cppu::WeakImplHelper<
virtual ~ConstItemContainer() override;
// XUnoTunnel
- static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() noexcept;
sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) override;
// XIndexAccess
diff --git a/framework/inc/uielement/itemcontainer.hxx b/framework/inc/uielement/itemcontainer.hxx
index a53bcfa8f3c2..5d5bc9c85c41 100644
--- a/framework/inc/uielement/itemcontainer.hxx
+++ b/framework/inc/uielement/itemcontainer.hxx
@@ -44,7 +44,7 @@ class ItemContainer final : public ::cppu::WeakImplHelper< css::container::XInde
// XInterface, XTypeProvider
// XUnoTunnel
- static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() noexcept;
// XIndexContainer
virtual void SAL_CALL insertByIndex( sal_Int32 Index, const css::uno::Any& Element ) override;
diff --git a/framework/inc/uielement/menubarwrapper.hxx b/framework/inc/uielement/menubarwrapper.hxx
index b2a7f6cb3297..66a5716a8f0d 100644
--- a/framework/inc/uielement/menubarwrapper.hxx
+++ b/framework/inc/uielement/menubarwrapper.hxx
@@ -39,8 +39,8 @@ class MenuBarWrapper final : public UIConfigElementWrapperBase,
// XInterface, XTypeProvider
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx
index c9987d858ac9..cdfc82fada3e 100644
--- a/framework/inc/uielement/rootitemcontainer.hxx
+++ b/framework/inc/uielement/rootitemcontainer.hxx
@@ -56,9 +56,9 @@ class RootItemContainer final : private cppu::BaseMutex,
virtual ~RootItemContainer() override;
// XInterface
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) override;
@@ -66,7 +66,7 @@ class RootItemContainer final : private cppu::BaseMutex,
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
// XUnoTunnel
- static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() noexcept;
sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) override;
// XIndexContainer
diff --git a/framework/inc/uielement/toolbarwrapper.hxx b/framework/inc/uielement/toolbarwrapper.hxx
index 904dfa6c7019..55142f98d500 100644
--- a/framework/inc/uielement/toolbarwrapper.hxx
+++ b/framework/inc/uielement/toolbarwrapper.hxx
@@ -44,8 +44,8 @@ class ToolBarWrapper final : public css::ui::XUIFunctionListener,
virtual ~ToolBarWrapper() override;
// XInterface
- 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;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
// XComponent
diff --git a/framework/source/fwe/classes/actiontriggercontainer.cxx b/framework/source/fwe/classes/actiontriggercontainer.cxx
index 331eb5cb935e..c21dbcbbd94d 100644
--- a/framework/source/fwe/classes/actiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/actiontriggercontainer.cxx
@@ -58,12 +58,12 @@ Any SAL_CALL ActionTriggerContainer::queryInterface( const Type& aType )
return PropertySetContainer::queryInterface( aType );
}
-void ActionTriggerContainer::acquire() throw()
+void ActionTriggerContainer::acquire() noexcept
{
PropertySetContainer::acquire();
}
-void ActionTriggerContainer::release() throw()
+void ActionTriggerContainer::release() noexcept
{
PropertySetContainer::release();
}
diff --git a/framework/source/fwe/classes/actiontriggerpropertyset.cxx b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
index 128f5815bb1a..404e7f00a6bf 100644
--- a/framework/source/fwe/classes/actiontriggerpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
@@ -87,12 +87,12 @@ Any SAL_CALL ActionTriggerPropertySet::queryInterface( const Type& aType )
return OWeakObject::queryInterface( aType );
}
-void SAL_CALL ActionTriggerPropertySet::acquire() throw ()
+void SAL_CALL ActionTriggerPropertySet::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL ActionTriggerPropertySet::release() throw ()
+void SAL_CALL ActionTriggerPropertySet::release() noexcept
{
OWeakObject::release();
}
diff --git a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
index eb9d6d2ec71f..4d090384194c 100644
--- a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
@@ -82,12 +82,12 @@ Any SAL_CALL ActionTriggerSeparatorPropertySet::queryInterface( const Type& aTyp
return OWeakObject::queryInterface( aType );
}
-void ActionTriggerSeparatorPropertySet::acquire() throw()
+void ActionTriggerSeparatorPropertySet::acquire() noexcept
{
OWeakObject::acquire();
}
-void ActionTriggerSeparatorPropertySet::release() throw()
+void ActionTriggerSeparatorPropertySet::release() noexcept
{
OWeakObject::release();
}
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
index 4181011db25a..8a59027aae1b 100644
--- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
@@ -74,12 +74,12 @@ Any SAL_CALL RootActionTriggerContainer::queryInterface( const Type& aType )
return PropertySetContainer::queryInterface( aType );
}
-void SAL_CALL RootActionTriggerContainer::acquire() throw ()
+void SAL_CALL RootActionTriggerContainer::acquire() noexcept
{
PropertySetContainer::acquire();
}
-void SAL_CALL RootActionTriggerContainer::release() throw ()
+void SAL_CALL RootActionTriggerContainer::release() noexcept
{
PropertySetContainer::release();
}
diff --git a/framework/source/fwe/helper/propertysetcontainer.cxx b/framework/source/fwe/helper/propertysetcontainer.cxx
index 5d129d36b01a..e2c304ce4808 100644
--- a/framework/source/fwe/helper/propertysetcontainer.cxx
+++ b/framework/source/fwe/helper/propertysetcontainer.cxx
@@ -45,12 +45,12 @@ PropertySetContainer::~PropertySetContainer()
}
// XInterface
-void SAL_CALL PropertySetContainer::acquire() throw ()
+void SAL_CALL PropertySetContainer::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL PropertySetContainer::release() throw ()
+void SAL_CALL PropertySetContainer::release() noexcept
{
OWeakObject::release();
}
diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx
index 4aaaefc5d158..a137a5f8c6b1 100644
--- a/framework/source/fwi/uielement/constitemcontainer.cxx
+++ b/framework/source/fwi/uielement/constitemcontainer.cxx
@@ -169,7 +169,7 @@ sal_Int64 ConstItemContainer::getSomething( const css::uno::Sequence< sal_Int8 >
return 0;
}
-const Sequence< sal_Int8 >& ConstItemContainer::getUnoTunnelId() throw()
+const Sequence< sal_Int8 >& ConstItemContainer::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theConstItemContainerUnoTunnelId;
return theConstItemContainerUnoTunnelId.getSeq();
diff --git a/framework/source/fwi/uielement/itemcontainer.cxx b/framework/source/fwi/uielement/itemcontainer.cxx
index 131ddf1a7cbe..b30791b3067f 100644
--- a/framework/source/fwi/uielement/itemcontainer.cxx
+++ b/framework/source/fwi/uielement/itemcontainer.cxx
@@ -134,7 +134,7 @@ Reference< XIndexAccess > ItemContainer::deepCopyContainer( const Reference< XIn
return xReturn;
}
-const Sequence< sal_Int8 >& ItemContainer::getUnoTunnelId() throw()
+const Sequence< sal_Int8 >& ItemContainer::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theItemContainerUnoTunnelId;
return theItemContainerUnoTunnelId.getSeq();
diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx
index 6dc1f1587452..af754788de8a 100644
--- a/framework/source/fwi/uielement/rootitemcontainer.cxx
+++ b/framework/source/fwi/uielement/rootitemcontainer.cxx
@@ -146,7 +146,7 @@ sal_Int64 RootItemContainer::getSomething( const css::uno::Sequence< sal_Int8 >&
return 0;
}
-const Sequence< sal_Int8 >& RootItemContainer::getUnoTunnelId() throw()
+const Sequence< sal_Int8 >& RootItemContainer::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theRootItemContainerUnoTunnelId;
return theRootItemContainerUnoTunnelId.getSeq();
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 9f79f0ac7a14..a994cf36f292 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -79,12 +79,12 @@ ToolbarLayoutManager::~ToolbarLayoutManager()
// XInterface
-void SAL_CALL ToolbarLayoutManager::acquire() throw()
+void SAL_CALL ToolbarLayoutManager::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL ToolbarLayoutManager::release() throw()
+void SAL_CALL ToolbarLayoutManager::release() noexcept
{
OWeakObject::release();
}
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
index 71b00310151e..3741875c1d3f 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
@@ -120,8 +120,8 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< css::awt::XDockableW
// XInterface
- 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;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
// XEventListener
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 3fdf6c0af01c..495d22cee201 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -467,9 +467,9 @@ public:
}
// XInterface
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) override;
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index b58091294231..6dcef5a80061 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -191,9 +191,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) override;
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
diff --git a/framework/source/uielement/buttontoolbarcontroller.cxx b/framework/source/uielement/buttontoolbarcontroller.cxx
index 6c5c3fdeb88c..a3ccbc0cd38d 100644
--- a/framework/source/uielement/buttontoolbarcontroller.cxx
+++ b/framework/source/uielement/buttontoolbarcontroller.cxx
@@ -75,12 +75,12 @@ uno::Any SAL_CALL ButtonToolbarController::queryInterface( const uno::Type& rTyp
return cppu::OWeakObject::queryInterface( rType );
}
-void SAL_CALL ButtonToolbarController::acquire() throw ()
+void SAL_CALL ButtonToolbarController::acquire() noexcept
{
cppu::OWeakObject::acquire();
}
-void SAL_CALL ButtonToolbarController::release() throw ()
+void SAL_CALL ButtonToolbarController::release() noexcept
{
cppu::OWeakObject::release();
}
diff --git a/framework/source/uielement/menubarwrapper.cxx b/framework/source/uielement/menubarwrapper.cxx
index 9d39e2623dce..a8bf9a845f6c 100644
--- a/framework/source/uielement/menubarwrapper.cxx
+++ b/framework/source/uielement/menubarwrapper.cxx
@@ -44,13 +44,13 @@ using namespace ::com::sun::star::ui;
namespace framework
{
-void SAL_CALL MenuBarWrapper::acquire() throw() \
+void SAL_CALL MenuBarWrapper::acquire() noexcept \
{ \
/* Don't use mutex in methods of XInterface! */ \
UIConfigElementWrapperBase::acquire(); \
} \
\
-void SAL_CALL MenuBarWrapper::release() throw() \
+void SAL_CALL MenuBarWrapper::release() noexcept \
{ \
/* Don't use mutex in methods of XInterface! */ \
UIConfigElementWrapperBase::release(); \
diff --git a/framework/source/uielement/toolbarwrapper.cxx b/framework/source/uielement/toolbarwrapper.cxx
index 1199cd7ca51a..0928c5a4702a 100644
--- a/framework/source/uielement/toolbarwrapper.cxx
+++ b/framework/source/uielement/toolbarwrapper.cxx
@@ -56,12 +56,12 @@ ToolBarWrapper::~ToolBarWrapper()
}
// XInterface
-void SAL_CALL ToolBarWrapper::acquire() throw()
+void SAL_CALL ToolBarWrapper::acquire() noexcept
{
UIConfigElementWrapperBase::acquire();
}
-void SAL_CALL ToolBarWrapper::release() throw()
+void SAL_CALL ToolBarWrapper::release() noexcept
{
UIConfigElementWrapperBase::release();
}
diff --git a/include/codemaker/global.hxx b/include/codemaker/global.hxx
index c3bb22942cf7..3fff70f9988f 100644
--- a/include/codemaker/global.hxx
+++ b/include/codemaker/global.hxx
@@ -82,7 +82,7 @@ class CannotDumpException final {
public:
CannotDumpException(OUString const & message): message_(message) {}
- ~CannotDumpException() throw ();
+ ~CannotDumpException() noexcept;
const OUString& getMessage() const { return message_; }
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx
index 829b1a2d9fb6..fb4fbd744d9a 100644
--- a/include/comphelper/ChainablePropertySet.hxx
+++ b/include/comphelper/ChainablePropertySet.hxx
@@ -109,15 +109,15 @@ namespace comphelper
public:
ChainablePropertySet( comphelper::ChainablePropertySetInfo* pInfo, SolarMutex* pMutex )
- throw();
+ noexcept;
virtual ~ChainablePropertySet()
- throw() override;
+ noexcept override;
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override
{ return ChainablePropertySetBase::queryInterface( aType ); }
- void SAL_CALL acquire( ) throw () override
+ void SAL_CALL acquire( ) noexcept override
{ ChainablePropertySetBase::acquire( ); }
- void SAL_CALL release( ) throw () override
+ void SAL_CALL release( ) noexcept override
{ ChainablePropertySetBase::release( ); }
// XPropertySet
diff --git a/include/comphelper/ChainablePropertySetInfo.hxx b/include/comphelper/ChainablePropertySetInfo.hxx
index e35c534e7b0c..5ece0701c308 100644
--- a/include/comphelper/ChainablePropertySetInfo.hxx
+++ b/include/comphelper/ChainablePropertySetInfo.hxx
@@ -45,7 +45,7 @@ namespace comphelper
private:
virtual ~ChainablePropertySetInfo()
- throw() override;
+ noexcept override;
// XPropertySetInfo
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override;
diff --git a/include/comphelper/MasterPropertySet.hxx b/include/comphelper/MasterPropertySet.hxx
index 6276f9008e52..acd9ce9c4af6 100644
--- a/include/comphelper/MasterPropertySet.hxx
+++ b/include/comphelper/MasterPropertySet.hxx
@@ -101,11 +101,11 @@ namespace comphelper
public:
MasterPropertySet( comphelper::MasterPropertySetInfo* pInfo, SolarMutex* pMutex )
- throw();
+ noexcept;
virtual ~MasterPropertySet()
- throw();
+ noexcept;
void registerSlave ( ChainablePropertySet *pNewSet )
- throw();
+ noexcept;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
diff --git a/include/comphelper/MasterPropertySetInfo.hxx b/include/comphelper/MasterPropertySetInfo.hxx
index 3293ee76483a..0e50cc457380 100644
--- a/include/comphelper/MasterPropertySetInfo.hxx
+++ b/include/comphelper/MasterPropertySetInfo.hxx
@@ -36,7 +36,7 @@ namespace comphelper
private:
virtual ~MasterPropertySetInfo()
- throw() override;
+ noexcept override;
void add( PropertyInfoHash &rHash, sal_uInt8 nMapId );
diff --git a/include/comphelper/asyncnotification.hxx b/include/comphelper/asyncnotification.hxx
index 2daac286bf09..891495319c27 100644
--- a/include/comphelper/asyncnotification.hxx
+++ b/include/comphelper/asyncnotification.hxx
@@ -67,8 +67,8 @@ namespace comphelper
*/
virtual void processEvent( const AnyEvent& _rEvent ) = 0;
- virtual void SAL_CALL acquire() throw () = 0;
- virtual void SAL_CALL release() throw () = 0;
+ virtual void SAL_CALL acquire() noexcept = 0;
+ virtual void SAL_CALL release() noexcept = 0;
protected:
~IEventProcessor() {}
diff --git a/include/comphelper/newarray.hxx b/include/comphelper/newarray.hxx
index a904f7d1ed0d..6764cb3bfe3b 100644
--- a/include/comphelper/newarray.hxx
+++ b/include/comphelper/newarray.hxx
@@ -27,7 +27,7 @@
namespace comphelper {
template<typename T> T *
-newArray_null(size_t const n) throw()
+newArray_null(size_t const n) noexcept
{
if ((::std::numeric_limits<size_t>::max() / sizeof(T)) <= n) {
return 0;
diff --git a/include/comphelper/propertysethelper.hxx b/include/comphelper/propertysethelper.hxx
index 33321e2cc994..131465dc0f46 100644
--- a/include/comphelper/propertysethelper.hxx
+++ b/include/comphelper/propertysethelper.hxx
@@ -62,8 +62,8 @@ protected:
virtual css::uno::Any _getPropertyDefault( const comphelper::PropertyMapEntry* pEntry );
public:
- PropertySetHelper( rtl::Reference<comphelper::PropertySetInfo> const & xInfo ) throw();
- virtual ~PropertySetHelper() throw();
+ PropertySetHelper( rtl::Reference<comphelper::PropertySetInfo> const & xInfo ) noexcept;
+ virtual ~PropertySetHelper() noexcept;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
diff --git a/include/comphelper/propertysetinfo.hxx b/include/comphelper/propertysetinfo.hxx
index aaf8484ad879..518b83375a3f 100644
--- a/include/comphelper/propertysetinfo.hxx
+++ b/include/comphelper/propertysetinfo.hxx
@@ -93,23 +93,23 @@ class COMPHELPER_DLLPUBLIC PropertySetInfo final
private:
std::unique_ptr<PropertyMapImpl> mpImpl;
public:
- PropertySetInfo() throw();
- PropertySetInfo( PropertyMapEntry const * pMap ) throw();
- PropertySetInfo(css::uno::Sequence<css::beans::Property> const &) throw();
- virtual ~PropertySetInfo() throw() override;
+ PropertySetInfo() noexcept;
+ PropertySetInfo( PropertyMapEntry const * pMap ) noexcept;
+ PropertySetInfo(css::uno::Sequence<css::beans::Property> const &) noexcept;
+ virtual ~PropertySetInfo() noexcept override;
/** returns a stl map with all PropertyMapEntry pointer.<p>
The key is the property name.
*/
- const PropertyMap& getPropertyMap() const throw();
+ const PropertyMap& getPropertyMap() const noexcept;
/** adds an array of PropertyMapEntry to this instance.<p>
The end is marked with a PropertyMapEntry where mpName equals NULL</p>
*/
- void add( PropertyMapEntry const * pMap ) throw();
+ void add( PropertyMapEntry const * pMap ) noexcept;
/** removes an already added PropertyMapEntry which string in mpName equals to aName */
- void remove( const OUString& aName ) throw();
+ void remove( const OUString& aName ) noexcept;
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override;
virtual css::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) override;
diff --git a/include/comphelper/servicehelper.hxx b/include/comphelper/servicehelper.hxx
index 2fe01bc5255c..8be9ee975178 100644
--- a/include/comphelper/servicehelper.hxx
+++ b/include/comphelper/servicehelper.hxx
@@ -73,11 +73,11 @@ inline bool isUnoTunnelId(const css::uno::Sequence< sal_Int8 >& rId)
done by this macro.
*/
#define UNO3_GETIMPLEMENTATION_DECL( classname ) \
- 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;
#define UNO3_GETIMPLEMENTATION_BASE_IMPL( classname ) \
-const css::uno::Sequence< sal_Int8 > & classname::getUnoTunnelId() throw() \
+const css::uno::Sequence< sal_Int8 > & classname::getUnoTunnelId() noexcept \
{ \
static const UnoTunnelIdInit aId; \
return aId.getSeq(); \
diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx
index 36044ecd3114..97e4cea0a170 100644
--- a/include/comphelper/uno3.hxx
+++ b/include/comphelper/uno3.hxx
@@ -29,15 +29,15 @@ namespace comphelper
/** used for declaring UNO3-Defaults, i.e. acquire/release
*/
#define DECLARE_UNO3_DEFAULTS(classname, baseclass) \
- virtual void SAL_CALL acquire() throw() override { baseclass::acquire(); } \
- virtual void SAL_CALL release() throw() override { baseclass::release(); }
+ virtual void SAL_CALL acquire() noexcept override { baseclass::acquire(); } \
+ virtual void SAL_CALL release() noexcept override { baseclass::release(); }
/** used for declaring UNO3-Defaults, i.e. acquire/release if you want to forward all queryInterfaces to the base class,
(e.g. if you override queryAggregation)
*/
#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass) \
- virtual void SAL_CALL acquire() throw() override { baseclass::acquire(); } \
- virtual void SAL_CALL release() throw() override { baseclass::release(); } \
+ virtual void SAL_CALL acquire() noexcept override { baseclass::acquire(); } \
+ virtual void SAL_CALL release() noexcept override { baseclass::release(); } \
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) override \
{ return baseclass::queryInterface(_rType); }
@@ -64,8 +64,8 @@ namespace comphelper
that would be ::cppu::WeakComponentImplHelperBase
*/
#define DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS(classname, baseclass, implhelper) \
- virtual void SAL_CALL acquire() throw() override { baseclass::acquire(); } \
- virtual void SAL_CALL release() throw() override { baseclass::release(); } \
+ virtual void SAL_CALL acquire() noexcept override { baseclass::acquire(); } \
+ virtual void SAL_CALL release() noexcept override { baseclass::release(); } \
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) override \
{ return baseclass::queryInterface(_rType); } \
virtual void SAL_CALL dispose() override \
@@ -89,12 +89,12 @@ namespace comphelper
#define DECLARE_XINTERFACE( ) \
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
#define IMPLEMENT_FORWARD_REFCOUNT( classname, refcountbase ) \
- void SAL_CALL classname::acquire() throw() { refcountbase::acquire(); } \
- void SAL_CALL classname::release() throw() { refcountbase::release(); }
+ void SAL_CALL classname::acquire() noexcept { refcountbase::acquire(); } \
+ void SAL_CALL classname::release() noexcept { refcountbase::release(); }
#define IMPLEMENT_FORWARD_XINTERFACE2( classname, refcountbase, baseclass2 ) \
IMPLEMENT_FORWARD_REFCOUNT( classname, refcountbase ) \
diff --git a/include/comphelper/weak.hxx b/include/comphelper/weak.hxx
index f53ea8d7f562..28a23445dd53 100644
--- a/include/comphelper/weak.hxx
+++ b/include/comphelper/weak.hxx
@@ -46,9 +46,9 @@ public:
OWeakTypeObject & operator =(OWeakTypeObject &&) = default;
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
{ ::cppu::OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ ::cppu::OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
diff --git a/include/connectivity/sdbcx/VCollection.hxx b/include/connectivity/sdbcx/VCollection.hxx
index 9e94d83cb964..ab0dd3bcc828 100644
--- a/include/connectivity/sdbcx/VCollection.hxx
+++ b/include/connectivity/sdbcx/VCollection.hxx
@@ -176,8 +176,8 @@ namespace connectivity::sdbcx
// only the name is identical to ::cppu::OComponentHelper
virtual void disposing();
// dispatch the refcounting to the parent
- 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;
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
diff --git a/include/connectivity/sdbcx/VColumn.hxx b/include/connectivity/sdbcx/VColumn.hxx
index e80e2da5e272..579611cdf63a 100644
--- a/include/connectivity/sdbcx/VColumn.hxx
+++ b/include/connectivity/sdbcx/VColumn.hxx
@@ -71,8 +71,8 @@ namespace connectivity::sdbcx
virtual ~OColumn() override;
public:
- 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;
OColumn( bool _bCase);
OColumn( const OUString& Name,
diff --git a/include/connectivity/sdbcx/VTable.hxx b/include/connectivity/sdbcx/VTable.hxx
index 47cb6d672998..919626681064 100644
--- a/include/connectivity/sdbcx/VTable.hxx
+++ b/include/connectivity/sdbcx/VTable.hxx
@@ -99,8 +99,8 @@ namespace connectivity::sdbcx
DECLARE_SERVICE_INFO();
//XInterface
- 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;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
//XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
diff --git a/include/connectivity/sdbcx/VView.hxx b/include/connectivity/sdbcx/VView.hxx
index 192eb8a79734..3a7714f95f11 100644
--- a/include/connectivity/sdbcx/VView.hxx
+++ b/include/connectivity/sdbcx/VView.hxx
@@ -75,8 +75,8 @@ namespace connectivity::sdbcx
// 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;
// XPropertySet
diff --git a/include/cppuhelper/compbase.hxx b/include/cppuhelper/compbase.hxx
index 8e00da57bfdc..d647efc6018a 100644
--- a/include/cppuhelper/compbase.hxx
+++ b/include/cppuhelper/compbase.hxx
@@ -73,16 +73,16 @@ class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE PartialWeakComponentImplHelper:
{};
public:
- PartialWeakComponentImplHelper(osl::Mutex & mutex) throw ():
+ PartialWeakComponentImplHelper(osl::Mutex & mutex) SAL_NOEXCEPT:
WeakComponentImplHelperBase(mutex) {}
css::uno::Any SAL_CALL queryInterface(css::uno::Type const & aType) SAL_OVERRIDE
{ return WeakComponentImplHelper_query(aType, cd::get(), this, this); }
- void SAL_CALL acquire() throw () SAL_OVERRIDE
+ void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- void SAL_CALL release() throw () SAL_OVERRIDE
+ void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
void SAL_CALL dispose()
@@ -112,7 +112,7 @@ class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakComponentImplHelper:
public PartialWeakComponentImplHelper<Ifc...>
{
public:
- WeakComponentImplHelper(osl::Mutex & mutex) throw ():
+ WeakComponentImplHelper(osl::Mutex & mutex) SAL_NOEXCEPT:
PartialWeakComponentImplHelper<Ifc...>(mutex) {}
void SAL_CALL addEventListener(
diff --git a/include/cppuhelper/compbase12.hxx b/include/cppuhelper/compbase12.hxx
index 99bc704b2f53..c5dd62158d5e 100644
--- a/include/cppuhelper/compbase12.hxx
+++ b/include/cppuhelper/compbase12.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
public:
- WeakComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper12( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, PartialWeakComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
public:
- PartialWeakComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper12( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakAggComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
public:
- WeakAggComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper12( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase2.hxx b/include/cppuhelper/compbase2.hxx
index a417f76ba398..ed74588f694b 100644
--- a/include/cppuhelper/compbase2.hxx
+++ b/include/cppuhelper/compbase2.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, WeakComponentImplHelper2<Ifc1, Ifc2> > > {};
public:
- WeakComponentImplHelper2( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper2( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, PartialWeakComponentImplHelper2<Ifc1, Ifc2> > > {};
public:
- PartialWeakComponentImplHelper2( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper2( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -130,16 +130,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, WeakAggComponentImplHelper2<Ifc1, Ifc2> > > {};
public:
- WeakAggComponentImplHelper2( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper2( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase3.hxx b/include/cppuhelper/compbase3.hxx
index 997da6ee6ee0..10681422bcd1 100644
--- a/include/cppuhelper/compbase3.hxx
+++ b/include/cppuhelper/compbase3.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, WeakComponentImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
public:
- WeakComponentImplHelper3( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper3( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, PartialWeakComponentImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
public:
- PartialWeakComponentImplHelper3( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper3( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, WeakAggComponentImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
public:
- WeakAggComponentImplHelper3( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper3( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase4.hxx b/include/cppuhelper/compbase4.hxx
index 2482b8499710..04a8cdd88e68 100644
--- a/include/cppuhelper/compbase4.hxx
+++ b/include/cppuhelper/compbase4.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, WeakComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
public:
- WeakComponentImplHelper4( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper4( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, PartialWeakComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
public:
- PartialWeakComponentImplHelper4( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper4( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, WeakAggComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
public:
- WeakAggComponentImplHelper4( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper4( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase5.hxx b/include/cppuhelper/compbase5.hxx
index f11dd1b7340d..f48a2f21e681 100644
--- a/include/cppuhelper/compbase5.hxx
+++ b/include/cppuhelper/compbase5.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakComponentImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
public:
- WeakComponentImplHelper5( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper5( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, PartialWeakComponentImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
public:
- PartialWeakComponentImplHelper5( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper5( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakAggComponentImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
public:
- WeakAggComponentImplHelper5( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper5( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase6.hxx b/include/cppuhelper/compbase6.hxx
index 79f95d016975..971a1e4c5663 100644
--- a/include/cppuhelper/compbase6.hxx
+++ b/include/cppuhelper/compbase6.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakComponentImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
public:
- WeakComponentImplHelper6( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper6( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, PartialWeakComponentImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
public:
- PartialWeakComponentImplHelper6( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper6( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakAggComponentImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
public:
- WeakAggComponentImplHelper6( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper6( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase7.hxx b/include/cppuhelper/compbase7.hxx
index d2432391fa5f..c6176e185487 100644
--- a/include/cppuhelper/compbase7.hxx
+++ b/include/cppuhelper/compbase7.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
public:
- WeakComponentImplHelper7( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper7( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, PartialWeakComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
public:
- PartialWeakComponentImplHelper7( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper7( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakAggComponentImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
public:
- WeakAggComponentImplHelper7( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper7( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase8.hxx b/include/cppuhelper/compbase8.hxx
index 5cb239746569..c70e26f7f5c9 100644
--- a/include/cppuhelper/compbase8.hxx
+++ b/include/cppuhelper/compbase8.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, WeakComponentImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
public:
- WeakComponentImplHelper8( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper8( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, PartialWeakComponentImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
public:
- PartialWeakComponentImplHelper8( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper8( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -129,16 +129,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, WeakAggComponentImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
public:
- WeakAggComponentImplHelper8( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper8( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase9.hxx b/include/cppuhelper/compbase9.hxx
index 791611d2bb06..e1f28d53686b 100644
--- a/include/cppuhelper/compbase9.hxx
+++ b/include/cppuhelper/compbase9.hxx
@@ -51,14 +51,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
public:
- WeakComponentImplHelper9( ::osl::Mutex & rMutex ) throw ()
+ WeakComponentImplHelper9( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual void SAL_CALL dispose() SAL_OVERRIDE
{ WeakComponentImplHelperBase::dispose(); }
@@ -89,14 +89,14 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, PartialWeakComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
public:
- PartialWeakComponentImplHelper9( ::osl::Mutex & rMutex ) throw ()
+ PartialWeakComponentImplHelper9( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakComponentImplHelper_query( rType, cd::get(), this, static_cast<WeakComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakComponentImplHelper_getTypes( cd::get() ); }
@@ -128,16 +128,16 @@ namespace cppu
{
struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakAggComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
public:
- WeakAggComponentImplHelper9( ::osl::Mutex & rMutex ) throw ()
+ WeakAggComponentImplHelper9( ::osl::Mutex & rMutex ) SAL_NOEXCEPT
: WeakAggComponentImplHelperBase( rMutex )
{}
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelperBase::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, static_cast<WeakAggComponentImplHelperBase *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ WeakAggComponentImplHelperBase::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggComponentImplHelper_getTypes( cd::get() ); }
diff --git a/include/cppuhelper/compbase_ex.hxx b/include/cppuhelper/compbase_ex.hxx
index ee22613e56ea..3976c3afbb57 100644
--- a/include/cppuhelper/compbase_ex.hxx
+++ b/include/cppuhelper/compbase_ex.hxx
@@ -76,9 +76,9 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
css::uno::Type const & rType ) SAL_OVERRIDE;
virtual void SAL_CALL acquire()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL release()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL dispose() SAL_OVERRIDE;
virtual void SAL_CALL addEventListener(
css::uno::Reference< css::lang::XEventListener > const & xListener ) SAL_OVERRIDE;
@@ -119,9 +119,9 @@ public:
virtual css::uno::Any SAL_CALL queryAggregation(
css::uno::Type const & rType ) SAL_OVERRIDE;
virtual void SAL_CALL acquire()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL release()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL dispose() SAL_OVERRIDE;
virtual void SAL_CALL addEventListener(
css::uno::Reference< css::lang::XEventListener > const & xListener ) SAL_OVERRIDE;
diff --git a/include/cppuhelper/component.hxx b/include/cppuhelper/component.hxx
index 02c9baf3d834..e59e1b9d450a 100644
--- a/include/cppuhelper/component.hxx
+++ b/include/cppuhelper/component.hxx
@@ -68,9 +68,9 @@ public:
virtual css::uno::Any SAL_CALL queryAggregation(
css::uno::Type const & rType ) SAL_OVERRIDE;
virtual void SAL_CALL acquire()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
virtual void SAL_CALL release()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
/** @attention
XTypeProvider::getImplementationId() has to be implemented separately!
diff --git a/include/cppuhelper/implbase.hxx b/include/cppuhelper/implbase.hxx
index 95c2b0fc74f6..f2f08650ea1c 100644
--- a/include/cppuhelper/implbase.hxx
+++ b/include/cppuhelper/implbase.hxx
@@ -110,9 +110,9 @@ public:
css::uno::Any SAL_CALL queryInterface(css::uno::Type const & aType) override
{ return WeakImplHelper_query(aType, cd::get(), this, this); }
- void SAL_CALL acquire() throw () override { OWeakObject::acquire(); }
+ void SAL_CALL acquire() SAL_NOEXCEPT override { OWeakObject::acquire(); }
- void SAL_CALL release() throw () override { OWeakObject::release(); }
+ void SAL_CALL release() SAL_NOEXCEPT override { OWeakObject::release(); }
css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override
{ return WeakImplHelper_getTypes(cd::get()); }
@@ -166,9 +166,9 @@ public:
return ret.hasValue() ? ret : BaseClass::queryInterface(aType);
}
- void SAL_CALL acquire() throw () override { BaseClass::acquire(); }
+ void SAL_CALL acquire() SAL_NOEXCEPT override { BaseClass::acquire(); }
- void SAL_CALL release() throw () override { BaseClass::release(); }
+ void SAL_CALL release() SAL_NOEXCEPT override { BaseClass::release(); }
css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override
{ return ImplInhHelper_getTypes(cd::get(), BaseClass::getTypes()); }
diff --git a/include/cppuhelper/implbase1.hxx b/include/cppuhelper/implbase1.hxx
index f8be6a9e9722..dc82a730886a 100644
--- a/include/cppuhelper/implbase1.hxx
+++ b/include/cppuhelper/implbase1.hxx
@@ -97,7 +97,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper1() throw () {}
+ ~ImplHelper1() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -124,9 +124,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -158,9 +158,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -225,9 +225,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -295,9 +295,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase10.hxx b/include/cppuhelper/implbase10.hxx
index b4685b23df63..e3938563dce8 100644
--- a/include/cppuhelper/implbase10.hxx
+++ b/include/cppuhelper/implbase10.hxx
@@ -107,7 +107,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper10() throw () {}
+ ~ImplHelper10() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -130,9 +130,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -164,9 +164,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -231,9 +231,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -301,9 +301,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase12.hxx b/include/cppuhelper/implbase12.hxx
index 1bef4b22a31b..df90f2b645fe 100644
--- a/include/cppuhelper/implbase12.hxx
+++ b/include/cppuhelper/implbase12.hxx
@@ -109,7 +109,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper12() throw () {}
+ ~ImplHelper12() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -132,9 +132,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -166,9 +166,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -233,9 +233,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -303,9 +303,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase13.hxx b/include/cppuhelper/implbase13.hxx
index 77bd5357f2c3..5ed1245976bf 100644
--- a/include/cppuhelper/implbase13.hxx
+++ b/include/cppuhelper/implbase13.hxx
@@ -110,7 +110,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper13() throw () {}
+ ~ImplHelper13() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -133,9 +133,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -167,9 +167,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -234,9 +234,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -304,9 +304,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase2.hxx b/include/cppuhelper/implbase2.hxx
index 8ef067862c22..d6b326122ec5 100644
--- a/include/cppuhelper/implbase2.hxx
+++ b/include/cppuhelper/implbase2.hxx
@@ -98,7 +98,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper2() throw () {}
+ ~ImplHelper2() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -121,9 +121,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -155,9 +155,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -222,9 +222,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -292,9 +292,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase3.hxx b/include/cppuhelper/implbase3.hxx
index 3c72339f6389..7c95ef596daa 100644
--- a/include/cppuhelper/implbase3.hxx
+++ b/include/cppuhelper/implbase3.hxx
@@ -99,7 +99,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper3() throw () {}
+ ~ImplHelper3() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -122,9 +122,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -156,9 +156,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -224,9 +224,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -294,9 +294,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase4.hxx b/include/cppuhelper/implbase4.hxx
index a4b62bd50660..61bce672200e 100644
--- a/include/cppuhelper/implbase4.hxx
+++ b/include/cppuhelper/implbase4.hxx
@@ -101,7 +101,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper4() throw () {}
+ ~ImplHelper4() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -124,9 +124,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -158,9 +158,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -225,9 +225,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -295,9 +295,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase5.hxx b/include/cppuhelper/implbase5.hxx
index 3724aa2c8684..993c71a174c0 100644
--- a/include/cppuhelper/implbase5.hxx
+++ b/include/cppuhelper/implbase5.hxx
@@ -102,7 +102,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper5() throw () {}
+ ~ImplHelper5() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -125,9 +125,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -159,9 +159,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -226,9 +226,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -296,9 +296,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase6.hxx b/include/cppuhelper/implbase6.hxx
index c87d9184b1e4..8adb7549d3de 100644
--- a/include/cppuhelper/implbase6.hxx
+++ b/include/cppuhelper/implbase6.hxx
@@ -103,7 +103,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper6() throw () {}
+ ~ImplHelper6() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -126,9 +126,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -160,9 +160,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -227,9 +227,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -297,9 +297,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase7.hxx b/include/cppuhelper/implbase7.hxx
index d2a6bd93c944..305c94d4ba60 100644
--- a/include/cppuhelper/implbase7.hxx
+++ b/include/cppuhelper/implbase7.hxx
@@ -104,7 +104,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper7() throw () {}
+ ~ImplHelper7() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -127,9 +127,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -161,9 +161,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -228,9 +228,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -298,9 +298,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase8.hxx b/include/cppuhelper/implbase8.hxx
index 962db775ccfa..a0903f1b539d 100644
--- a/include/cppuhelper/implbase8.hxx
+++ b/include/cppuhelper/implbase8.hxx
@@ -105,7 +105,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper8() throw () {}
+ ~ImplHelper8() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -128,9 +128,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -162,9 +162,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -229,9 +229,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -299,9 +299,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/implbase9.hxx b/include/cppuhelper/implbase9.hxx
index 5bf0fab14053..75840ec8045b 100644
--- a/include/cppuhelper/implbase9.hxx
+++ b/include/cppuhelper/implbase9.hxx
@@ -106,7 +106,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper9() throw () {}
+ ~ImplHelper9() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -129,9 +129,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -163,9 +163,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -230,9 +230,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -300,9 +300,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
diff --git a/include/cppuhelper/weak.hxx b/include/cppuhelper/weak.hxx
index f72484253033..ef9ed7ffa807 100644
--- a/include/cppuhelper/weak.hxx
+++ b/include/cppuhelper/weak.hxx
@@ -135,11 +135,11 @@ public:
/** increasing m_refCount
*/
virtual void SAL_CALL acquire()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
/** decreasing m_refCount
*/
virtual void SAL_CALL release()
- throw () SAL_OVERRIDE;
+ SAL_NOEXCEPT SAL_OVERRIDE;
/** XWeak::queryAdapter() implementation
diff --git a/include/cppuhelper/weakagg.hxx b/include/cppuhelper/weakagg.hxx
index e44dba554d46..0b770a42842b 100644
--- a/include/cppuhelper/weakagg.hxx
+++ b/include/cppuhelper/weakagg.hxx
@@ -55,11 +55,11 @@ public:
/** If a delegator is set, then the delegators gets acquired. Otherwise call is delegated to
base class ::cppu::OWeakObject.
*/
- virtual void SAL_CALL acquire() throw() SAL_OVERRIDE;
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE;
/** If a delegator is set, then the delegators gets released. Otherwise call is delegated to
base class ::cppu::OWeakObject.
*/
- virtual void SAL_CALL release() throw() SAL_OVERRIDE;
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE;
/** If a delegator is set, then the delegator is queried for the demanded interface. If the
delegator cannot provide the demanded interface, it calls queryAggregation() on its
aggregated objects.
diff --git a/include/dbaccess/IController.hxx b/include/dbaccess/IController.hxx
index fd1b2df8b485..c7374eb80a14 100644
--- a/include/dbaccess/IController.hxx
+++ b/include/dbaccess/IController.hxx
@@ -108,8 +108,8 @@ namespace dbaui
*/
virtual bool interceptUserInput( const NotifyEvent& _rEvent ) = 0;
- virtual void SAL_CALL acquire( ) throw () = 0;
- virtual void SAL_CALL release( ) throw () = 0;
+ virtual void SAL_CALL acquire( ) noexcept = 0;
+ virtual void SAL_CALL release( ) noexcept = 0;
protected:
~IController() {}
diff --git a/include/dbaccess/dbaundomanager.hxx b/include/dbaccess/dbaundomanager.hxx
index f6f75c063cc5..364b91d6c79a 100644
--- a/include/dbaccess/dbaundomanager.hxx
+++ b/include/dbaccess/dbaundomanager.hxx
@@ -64,8 +64,8 @@ namespace dbaui
SfxUndoManager& GetSfxUndoManager() const;
// XInterface
- 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;
// XComponent equivalents
void disposing();
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index 4ce04f913381..b38e51aea5ff 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -429,8 +429,8 @@ namespace dbaui
virtual void SAL_CALL modified(const css::lang::EventObject& aEvent) override;
// XInterface
- 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;
// css::frame::XController2
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow() override;
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 870719fb89ce..08ebce36e2da 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -374,7 +374,7 @@ public:
virtual vcl::Window* GetEditWindowForActiveOLEObj() const = 0;
protected:
- ~OutlinerViewShell() throw () {}
+ ~OutlinerViewShell() noexcept {}
};
// some thesaurus functionality to avoid code duplication in different projects...
diff --git a/include/editeng/unofield.hxx b/include/editeng/unofield.hxx
index 173bb4b11121..3c0d1650f6cc 100644
--- a/include/editeng/unofield.hxx
+++ b/include/editeng/unofield.hxx
@@ -55,21 +55,21 @@ class EDITENG_DLLPUBLIC SvxUnoTextField final : public cppu::BaseMutex,
css::uno::Sequence< css::uno::Type > maTypeSequence;
public:
- SvxUnoTextField( sal_Int32 nServiceId ) throw();
- SvxUnoTextField( css::uno::Reference< css::text::XTextRange > const & xAnchor, const OUString& rPresentation, const SvxFieldData* pFieldData ) throw();
- virtual ~SvxUnoTextField() throw() override;
+ SvxUnoTextField( sal_Int32 nServiceId ) noexcept;
+ SvxUnoTextField( css::uno::Reference< css::text::XTextRange > const & xAnchor, const OUString& rPresentation, const SvxFieldData* pFieldData ) noexcept;
+ virtual ~SvxUnoTextField() noexcept override;
// Internal
- std::unique_ptr<SvxFieldData> CreateFieldData() const throw();
+ std::unique_ptr<SvxFieldData> CreateFieldData() const noexcept;
- 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;
// css::uno::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;
// css::lang::XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
diff --git a/include/editeng/unoipset.hxx b/include/editeng/unoipset.hxx
index e510462b4dc9..10a0030aa75b 100644
--- a/include/editeng/unoipset.hxx
+++ b/include/editeng/unoipset.hxx
@@ -63,10 +63,10 @@ public:
};
/** converts the given any with a metric to 100th/mm if needed */
-EDITENG_DLLPUBLIC void SvxUnoConvertToMM( const MapUnit eSourceMapUnit, css::uno::Any & rMetric ) throw();
+EDITENG_DLLPUBLIC void SvxUnoConvertToMM( const MapUnit eSourceMapUnit, css::uno::Any & rMetric ) noexcept;
/** converts the given any with a metric from 100th/mm to the given metric if needed */
-EDITENG_DLLPUBLIC void SvxUnoConvertFromMM( const MapUnit eDestinationMapUnit, css::uno::Any & rMetric ) throw();
+EDITENG_DLLPUBLIC void SvxUnoConvertFromMM( const MapUnit eDestinationMapUnit, css::uno::Any & rMetric ) noexcept;
#endif // INCLUDED_EDITENG_UNOIPSET_HXX
diff --git a/include/editeng/unonrule.hxx b/include/editeng/unonrule.hxx
index 87d1ed12a656..5b84f31c980f 100644
--- a/include/editeng/unonrule.hxx
+++ b/include/editeng/unonrule.hxx
@@ -36,7 +36,7 @@ EDITENG_DLLPUBLIC css::uno::Reference< css::container::XIndexReplace > SvxCreate
css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule();
/// @throws css::lang::IllegalArgumentException
const SvxNumRule& SvxGetNumRule( css::uno::Reference< css::container::XIndexReplace > const & xRule );
-EDITENG_DLLPUBLIC css::uno::Reference< css::ucb::XAnyCompare > SvxCreateNumRuleCompare() throw();
+EDITENG_DLLPUBLIC css::uno::Reference< css::ucb::XAnyCompare > SvxCreateNumRuleCompare() noexcept;
class SvxUnoNumberingRules final : public ::cppu::WeakAggImplHelper5< css::container::XIndexReplace, css::ucb::XAnyCompare,
css::lang::XUnoTunnel, css::util::XCloneable, css::lang::XServiceInfo >
@@ -45,7 +45,7 @@ private:
SvxNumRule maRule;
public:
SvxUnoNumberingRules(const SvxNumRule& rRule);
- virtual ~SvxUnoNumberingRules() throw() override;
+ virtual ~SvxUnoNumberingRules() noexcept override;
UNO3_GETIMPLEMENTATION_DECL( SvxUnoNumberingRules )
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index 069e7e06789d..8a5c31101fe0 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -152,8 +152,8 @@ struct SfxItemPropertySimpleEntry;
class SvxFieldItem;
class SvxFieldData;
-EDITENG_DLLPUBLIC void GetSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) throw();
-EDITENG_DLLPUBLIC void CheckSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) throw();
+EDITENG_DLLPUBLIC void GetSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) noexcept;
+EDITENG_DLLPUBLIC void CheckSelection( struct ESelection& rSel, SvxTextForwarder const * pForwarder ) noexcept;
// This class implements a SvxEditSource and SvxTextForwarder and does
@@ -287,7 +287,7 @@ protected:
/// @throws css::beans::UnknownPropertyException
/// @throws css::uno::RuntimeException
void _setPropertyToDefault( SvxTextForwarder* pForwarder, const SfxItemPropertyMapEntry* pMap, sal_Int32 nPara );
- void SetEditSource( SvxEditSource* _pEditSource ) throw();
+ void SetEditSource( SvxEditSource* _pEditSource ) noexcept;
/// @throws css::beans::UnknownPropertyException
/// @throws css::uno::RuntimeException
@@ -299,35 +299,35 @@ protected:
SvxUnoTextRangeBase(const SvxItemPropertySet* _pSet);
SvxUnoTextRangeBase(const SvxEditSource* pSource, const SvxItemPropertySet* _pSet);
SvxUnoTextRangeBase(const SvxUnoTextRangeBase& rRange);
- virtual ~SvxUnoTextRangeBase() throw();
+ virtual ~SvxUnoTextRangeBase() noexcept;
public:
// Internal
- const ESelection& GetSelection() const throw()
+ const ESelection& GetSelection() const noexcept
{
const SvxTextForwarder* pForwarder = mpEditSource ? mpEditSource->GetTextForwarder() : nullptr;
CheckSelection(const_cast<SvxUnoTextRangeBase*>(this)->maSelection, pForwarder);
return maSelection;
}
- void SetSelection( const ESelection& rSelection ) throw();
+ void SetSelection( const ESelection& rSelection ) noexcept;
- void CollapseToStart() throw();
- void CollapseToEnd() throw();
- bool IsCollapsed() throw();
- bool GoLeft(sal_Int16 nCount, bool Expand) throw();
- bool GoRight(sal_Int16 nCount, bool Expand) throw();
- void GotoStart(bool Expand) throw();
- void GotoEnd(bool Expand) throw();
+ void CollapseToStart() noexcept;
+ void CollapseToEnd() noexcept;
+ bool IsCollapsed() noexcept;
+ bool GoLeft(sal_Int16 nCount, bool Expand) noexcept;
+ bool GoRight(sal_Int16 nCount, bool Expand) noexcept;
+ void GotoStart(bool Expand) noexcept;
+ void GotoEnd(bool Expand) noexcept;
//const SfxItemPropertyMapEntry* getPropertyMapEntries() const throw() { return maPropSet.getPropertyMapEntries(); }
- const SvxItemPropertySet* getPropertySet() const throw() { return mpPropSet; }
- SvxEditSource* GetEditSource() const throw() { return mpEditSource.get(); }
+ const SvxItemPropertySet* getPropertySet() const noexcept { return mpPropSet; }
+ SvxEditSource* GetEditSource() const noexcept { return mpEditSource.get(); }
static bool SetPropertyValueHelper( const SfxItemPropertyMapEntry* pMap, const css::uno::Any& aValue, SfxItemSet& rNewSet, const ESelection* pSelection = nullptr, SvxEditSource* pEditSource = nullptr );
/// @throws css::uno::RuntimeException
static bool GetPropertyValueHelper( SfxItemSet const & rSet, const SfxItemPropertyMapEntry* pMap, css::uno::Any& aAny, const ESelection* pSelection = nullptr, SvxEditSource* pEditSource = nullptr );
- void attachField( std::unique_ptr<SvxFieldData> pData ) throw();
+ void attachField( std::unique_ptr<SvxFieldData> pData ) noexcept;
UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextRangeBase )
@@ -388,13 +388,13 @@ private:
public:
SvxUnoTextRange(const SvxUnoTextBase& rParent, bool bPortion = false);
- virtual ~SvxUnoTextRange() throw() override;
+ virtual ~SvxUnoTextRange() noexcept override;
// css::uno::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;
// css::text::XTextRange
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
@@ -420,7 +420,7 @@ protected:
SvxUnoTextBase(const SvxItemPropertySet* _pSet);
SvxUnoTextBase(const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent);
SvxUnoTextBase(const SvxUnoTextBase& rText);
- virtual ~SvxUnoTextBase() throw() override;
+ virtual ~SvxUnoTextBase() noexcept override;
public:
UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextBase )
@@ -485,20 +485,20 @@ class EDITENG_DLLPUBLIC SvxUnoText : public SvxUnoTextBase,
public ::cppu::OWeakAggObject
{
public:
- SvxUnoText( const SvxItemPropertySet* _pSet ) throw();
- SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent ) throw();
- SvxUnoText( const SvxUnoText& rText ) throw();
- virtual ~SvxUnoText() throw() override;
+ SvxUnoText( const SvxItemPropertySet* _pSet ) noexcept;
+ SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent ) noexcept;
+ SvxUnoText( const SvxUnoText& rText ) noexcept;
+ virtual ~SvxUnoText() noexcept override;
// Internal
- 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;
// css::uno::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;
// css::lang::XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
@@ -528,15 +528,15 @@ protected:
using SvxUnoTextRangeBase::getPropertyValue;
public:
- SvxUnoTextContent( const SvxUnoTextBase& rText, sal_Int32 nPara ) throw();
- SvxUnoTextContent( const SvxUnoTextContent& rContent ) throw();
- virtual ~SvxUnoTextContent() throw() override;
+ SvxUnoTextContent( const SvxUnoTextBase& rText, sal_Int32 nPara ) noexcept;
+ SvxUnoTextContent( const SvxUnoTextContent& rContent ) noexcept;
+ virtual ~SvxUnoTextContent() noexcept override;
// css::uno::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;
// css::text::XTextRange
virtual css::uno::Reference< css::text::XText > SAL_CALL getText( ) override;
@@ -589,8 +589,8 @@ private:
std::vector< rtl::Reference<SvxUnoTextContent> > maContents;
public:
- SvxUnoTextContentEnumeration( const SvxUnoTextBase& _rText, const ESelection& rSel ) throw();
- virtual ~SvxUnoTextContentEnumeration() throw() override;
+ SvxUnoTextContentEnumeration( const SvxUnoTextBase& _rText, const ESelection& rSel ) noexcept;
+ virtual ~SvxUnoTextContentEnumeration() noexcept override;
// css::container::XEnumeration
virtual sal_Bool SAL_CALL hasMoreElements( ) override;
@@ -608,7 +608,7 @@ private:
public:
SvxUnoTextRangeEnumeration(const SvxUnoTextBase& rText, sal_Int32 nPara, const ESelection& rSel);
- virtual ~SvxUnoTextRangeEnumeration() throw() override;
+ virtual ~SvxUnoTextRangeEnumeration() noexcept override;
// css::container::XEnumeration
virtual sal_Bool SAL_CALL hasMoreElements( ) override;
@@ -625,15 +625,15 @@ private:
css::uno::Reference< css::text::XText > mxParentText;
public:
- SvxUnoTextCursor( const SvxUnoTextBase& rText ) throw();
- SvxUnoTextCursor( const SvxUnoTextCursor& rCursor ) throw();
- virtual ~SvxUnoTextCursor() throw() override;
+ SvxUnoTextCursor( const SvxUnoTextBase& rText ) noexcept;
+ SvxUnoTextCursor( const SvxUnoTextCursor& rCursor ) noexcept;
+ virtual ~SvxUnoTextCursor() noexcept override;
// css::uno::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;
// css::text::XTextRange
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
diff --git a/include/framework/desktop.hxx b/include/framework/desktop.hxx
index 3bc6a08edea2..254a1520bb3e 100644
--- a/include/framework/desktop.hxx
+++ b/include/framework/desktop.hxx
@@ -122,9 +122,9 @@ class FWK_DLLPUBLIC Desktop final : private cppu::BaseMutex,
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
// XInterface
- virtual void SAL_CALL acquire() throw () override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) override;
diff --git a/include/oox/core/contexthandler2.hxx b/include/oox/core/contexthandler2.hxx
index 13b732dec7e5..4e256089ac8e 100644
--- a/include/oox/core/contexthandler2.hxx
+++ b/include/oox/core/contexthandler2.hxx
@@ -77,8 +77,8 @@ public:
virtual ~ContextHandler2Helper();
// allow instances to be stored in ::rtl::Reference
- virtual void SAL_CALL acquire() throw() = 0;
- virtual void SAL_CALL release() throw() = 0;
+ virtual void SAL_CALL acquire() noexcept = 0;
+ virtual void SAL_CALL release() noexcept = 0;
// interface --------------------------------------------------------------
@@ -231,8 +231,8 @@ public:
ContextHandler2 & operator =(ContextHandler2 &&) = delete; // due to ContextHandler
// resolve ambiguity from base classes
- virtual void SAL_CALL acquire() throw() override { ContextHandler::acquire(); }
- virtual void SAL_CALL release() throw() override { ContextHandler::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ContextHandler::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ContextHandler::release(); }
// com.sun.star.xml.sax.XFastContextHandler interface ---------------------
diff --git a/include/oox/core/fragmenthandler2.hxx b/include/oox/core/fragmenthandler2.hxx
index d5d449847c17..86d1453f13a1 100644
--- a/include/oox/core/fragmenthandler2.hxx
+++ b/include/oox/core/fragmenthandler2.hxx
@@ -71,8 +71,8 @@ public:
FragmentHandler2 & operator =(FragmentHandler2 &&) = delete; // due to FragmentHandler
// resolve ambiguity from base classes
- virtual void SAL_CALL acquire() throw() override { FragmentHandler::acquire(); }
- virtual void SAL_CALL release() throw() override { FragmentHandler::release(); }
+ virtual void SAL_CALL acquire() noexcept override { FragmentHandler::acquire(); }
+ virtual void SAL_CALL release() noexcept override { FragmentHandler::release(); }
// com.sun.star.xml.sax.XFastContextHandler interface ---------------------
diff --git a/include/oox/ppt/pptimport.hxx b/include/oox/ppt/pptimport.hxx
index e96f04b70374..eafb114b47fd 100644
--- a/include/oox/ppt/pptimport.hxx
+++ b/include/oox/ppt/pptimport.hxx
@@ -59,7 +59,7 @@ public:
// from FilterBase
virtual bool importDocument() override;
- virtual bool exportDocument() throw() override;
+ virtual bool exportDocument() noexcept override;
virtual const ::oox::drawingml::Theme* getCurrentTheme() const override;
virtual ::oox::vml::Drawing* getVmlDrawing() override;
diff --git a/include/oox/ppt/presentationfragmenthandler.hxx b/include/oox/ppt/presentationfragmenthandler.hxx
index 4ec27efe28bf..bc68b738b5dd 100644
--- a/include/oox/ppt/presentationfragmenthandler.hxx
+++ b/include/oox/ppt/presentationfragmenthandler.hxx
@@ -42,7 +42,7 @@ class PresentationFragmentHandler final : public ::oox::core::FragmentHandler2
{
public:
PresentationFragmentHandler(::oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath);
- virtual ~PresentationFragmentHandler() throw() override;
+ virtual ~PresentationFragmentHandler() noexcept override;
virtual void finalizeImport() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/slidetimingcontext.hxx b/include/oox/ppt/slidetimingcontext.hxx
index 6b32b2e23c9a..7b147ab85610 100644
--- a/include/oox/ppt/slidetimingcontext.hxx
+++ b/include/oox/ppt/slidetimingcontext.hxx
@@ -32,8 +32,8 @@ namespace oox::ppt {
class SlideTimingContext final : public ::oox::core::FragmentHandler2
{
public:
- SlideTimingContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aTimeNodeList ) throw();
- virtual ~SlideTimingContext() throw() override;
+ SlideTimingContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aTimeNodeList ) noexcept;
+ virtual ~SlideTimingContext() noexcept override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/slidetransitioncontext.hxx b/include/oox/ppt/slidetransitioncontext.hxx
index 1c0755ab171b..f28b763c6b0d 100644
--- a/include/oox/ppt/slidetransitioncontext.hxx
+++ b/include/oox/ppt/slidetransitioncontext.hxx
@@ -37,8 +37,8 @@ namespace oox::ppt {
public:
SlideTransitionContext( ::oox::core::FragmentHandler2 const & rParent,
const AttributeList& rAttributes,
- PropertyMap & aProperties ) throw();
- virtual ~SlideTransitionContext() throw() override;
+ PropertyMap & aProperties ) noexcept;
+ virtual ~SlideTransitionContext() noexcept override;
virtual void onEndElement() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/soundactioncontext.hxx b/include/oox/ppt/soundactioncontext.hxx
index 81e7e81510b1..4bf66a5f713d 100644
--- a/include/oox/ppt/soundactioncontext.hxx
+++ b/include/oox/ppt/soundactioncontext.hxx
@@ -36,8 +36,8 @@ namespace oox::ppt {
class SoundActionContext final : public ::oox::core::FragmentHandler2
{
public:
- SoundActionContext( ::oox::core::FragmentHandler2 const & rParent, PropertyMap & aProperties ) throw();
- virtual ~SoundActionContext() throw() override;
+ SoundActionContext( ::oox::core::FragmentHandler2 const & rParent, PropertyMap & aProperties ) noexcept;
+ virtual ~SoundActionContext() noexcept override;
virtual void onEndElement() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/timenodelistcontext.hxx b/include/oox/ppt/timenodelistcontext.hxx
index cd98d06b15fd..82e7e67b9038 100644
--- a/include/oox/ppt/timenodelistcontext.hxx
+++ b/include/oox/ppt/timenodelistcontext.hxx
@@ -38,12 +38,12 @@ namespace oox::ppt {
class TimeNodeContext : public ::oox::core::FragmentHandler2
{
public:
- virtual ~TimeNodeContext() throw() override;
+ virtual ~TimeNodeContext() noexcept override;
static rtl::Reference<TimeNodeContext> makeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode );
protected:
- TimeNodeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const TimeNodePtr & pNode ) throw();
+ TimeNodeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const TimeNodePtr & pNode ) noexcept;
sal_Int32 mnElement;
TimeNodePtr mpNode;
@@ -54,9 +54,9 @@ namespace oox::ppt {
class TimeNodeListContext final : public ::oox::core::FragmentHandler2
{
public:
- TimeNodeListContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aList ) throw();
+ TimeNodeListContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aList ) noexcept;
- virtual ~TimeNodeListContext() throw() override;
+ virtual ~TimeNodeListContext() noexcept override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/osl/thread.hxx b/include/osl/thread.hxx
index 9db8ce3f9220..dd3a4cbd3184 100644
--- a/include/osl/thread.hxx
+++ b/include/osl/thread.hxx
@@ -152,7 +152,7 @@ public:
osl_yieldThread();
}
- static void setName(char const * name) throw () {
+ static void setName(char const * name) SAL_NOEXCEPT {
osl_setThreadName(name);
}
diff --git a/include/sfx2/sfxbasemodel.hxx b/include/sfx2/sfxbasemodel.hxx
index d2b50b6aa9be..b55705b57e1d 100644
--- a/include/sfx2/sfxbasemodel.hxx
+++ b/include/sfx2/sfxbasemodel.hxx
@@ -191,7 +191,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override
+ virtual void SAL_CALL acquire() noexcept override
{ OWeakObject::acquire(); }
/**___________________________________________________________________________________________________
@@ -201,7 +201,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index a77dc04333b7..dc3cd7497bb4 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -64,8 +64,8 @@ class SFX2_DLLPUBLIC SfxStatusBarControl: public svt::StatusbarController
public:
// new controller API
// XInterface
- 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:
// XEventListener
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx
index 0bc96f9ebf0f..7be78d1a0330 100644
--- a/include/svl/itemprop.hxx
+++ b/include/svl/itemprop.hxx
@@ -172,7 +172,7 @@ public:
getPropertyState(const OUString& rName, const SfxItemSet& rSet)const;
css::beans::PropertyState
getPropertyState(const SfxItemPropertyMapEntry& rEntry, const SfxItemSet& rSet) const
- throw();
+ noexcept;
css::uno::Reference<css::beans::XPropertySetInfo> const &
getPropertySetInfo() const;
diff --git a/include/svtools/embedhlp.hxx b/include/svtools/embedhlp.hxx
index 79b09cf9c2da..43d0b64461dd 100644
--- a/include/svtools/embedhlp.hxx
+++ b/include/svtools/embedhlp.hxx
@@ -64,7 +64,7 @@ public:
sal_Int64 nViewAspect,
const css::uno::Reference < css::embed::XEmbeddedObject >&,
OUString* pMediaType )
- throw();
+ noexcept;
static bool IsChart(const css::uno::Reference < css::embed::XEmbeddedObject >& xObj);
diff --git a/include/svtools/framestatuslistener.hxx b/include/svtools/framestatuslistener.hxx
index 77cc12f9e100..6b49200399d8 100644
--- a/include/svtools/framestatuslistener.hxx
+++ b/include/svtools/framestatuslistener.hxx
@@ -50,8 +50,8 @@ class FrameStatusListener : public css::frame::XStatusListener,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XComponent
virtual void SAL_CALL dispose() override;
diff --git a/include/svtools/javacontext.hxx b/include/svtools/javacontext.hxx
index 2784075ee041..124b191fd540 100644
--- a/include/svtools/javacontext.hxx
+++ b/include/svtools/javacontext.hxx
@@ -49,9 +49,9 @@ namespace svt
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) 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;
// XCurrentContext
virtual css::uno::Any SAL_CALL getValueByName( const OUString& Name ) override;
diff --git a/include/svtools/javainteractionhandler.hxx b/include/svtools/javainteractionhandler.hxx
index aafbf6b1db71..09bf4c6cc4b5 100644
--- a/include/svtools/javainteractionhandler.hxx
+++ b/include/svtools/javainteractionhandler.hxx
@@ -44,9 +44,9 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) 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;
// XCurrentContext
virtual void SAL_CALL handle( const css::uno::Reference< css::task::XInteractionRequest >& Request ) override;
diff --git a/include/svtools/statusbarcontroller.hxx b/include/svtools/statusbarcontroller.hxx
index e784dad4dc99..f62feabc0e01 100644
--- a/include/svtools/statusbarcontroller.hxx
+++ b/include/svtools/statusbarcontroller.hxx
@@ -58,8 +58,8 @@ class SVT_DLLPUBLIC StatusbarController :
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XInitialization
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
diff --git a/include/svtools/toolboxcontroller.hxx b/include/svtools/toolboxcontroller.hxx
index ef15f70c263b..c8d0e8c8e7de 100644
--- a/include/svtools/toolboxcontroller.hxx
+++ b/include/svtools/toolboxcontroller.hxx
@@ -84,8 +84,8 @@ class SVT_DLLPUBLIC ToolboxController :
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
virtual css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override;
// XInitialization
diff --git a/include/svx/AccessibleGraphicShape.hxx b/include/svx/AccessibleGraphicShape.hxx
index fcffbdd39df3..a81aa130bb52 100644
--- a/include/svx/AccessibleGraphicShape.hxx
+++ b/include/svx/AccessibleGraphicShape.hxx
@@ -66,11 +66,11 @@ public:
virtual void SAL_CALL
acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw () override;
+ noexcept override;
//===== XServiceInfo ====================================================
diff --git a/include/svx/AccessibleOLEShape.hxx b/include/svx/AccessibleOLEShape.hxx
index 5119da01635b..5816de24502f 100644
--- a/include/svx/AccessibleOLEShape.hxx
+++ b/include/svx/AccessibleOLEShape.hxx
@@ -74,11 +74,11 @@ public:
virtual void SAL_CALL
acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw () override;
+ noexcept override;
//===== XServiceInfo ====================================================
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index 046463e666c0..509bee235298 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -288,11 +288,11 @@ public:
virtual void SAL_CALL
acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw () override;
+ noexcept override;
//===== XServiceInfo ====================================================
diff --git a/include/svx/ChildrenManager.hxx b/include/svx/ChildrenManager.hxx
index feed19117895..0498b43fdff0 100644
--- a/include/svx/ChildrenManager.hxx
+++ b/include/svx/ChildrenManager.hxx
@@ -118,7 +118,7 @@ public:
@return
If there are no children a 0 is returned.
*/
- tools::Long GetChildCount() const throw();
+ tools::Long GetChildCount() const noexcept;
/** Return the requested accessible child or throw and
IndexOutOfBoundsException if the given index is invalid.
diff --git a/include/svx/DiagramDataInterface.hxx b/include/svx/DiagramDataInterface.hxx
index 7279ec882675..f2c7d1df7c66 100644
--- a/include/svx/DiagramDataInterface.hxx
+++ b/include/svx/DiagramDataInterface.hxx
@@ -44,7 +44,7 @@ public:
virtual bool removeNode(const OUString& rNodeId) = 0;
protected:
- ~DiagramDataInterface() throw() {}
+ ~DiagramDataInterface() noexcept {}
};
#endif // INCLUDED_SVX_DIAGRAMDATAINTERFACE_HXX
diff --git a/include/svx/ParaSpacingControl.hxx b/include/svx/ParaSpacingControl.hxx
index 877ab9abd52e..c6d7af27fa49 100644
--- a/include/svx/ParaSpacingControl.hxx
+++ b/include/svx/ParaSpacingControl.hxx
@@ -85,11 +85,11 @@ public:
virtual ::css::uno::Any SAL_CALL queryInterface(const ::css::uno::Type& aType) override;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
virtual void SAL_CALL disposing(const ::css::lang::EventObject&) override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
private:
css::uno::Reference<css::ui::XContextChangeEventMultiplexer> m_xMultiplexer;
diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx
index e1bfb4089f8e..ae864e611528 100644
--- a/include/svx/fmdpage.hxx
+++ b/include/svx/fmdpage.hxx
@@ -42,7 +42,7 @@ protected:
public:
SvxFmDrawPage( SdrPage* pPage );
- virtual ~SvxFmDrawPage() throw () override;
+ virtual ~SvxFmDrawPage() noexcept override;
// UNO binding
DECLARE_UNO3_AGG_DEFAULTS(SvxFmDrawPage, SvxDrawPage)
diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx
index 8db610a77414..3e0808dd9160 100644
--- a/include/svx/fmgridif.hxx
+++ b/include/svx/fmgridif.hxx
@@ -64,8 +64,8 @@ protected:
public:
OWeakSubObject(::cppu::OWeakObject& rParent) : m_rParent(rParent) { }
- virtual void SAL_CALL acquire() throw() override { m_rParent.acquire(); }
- virtual void SAL_CALL release() throw() override { m_rParent.release(); }
+ virtual void SAL_CALL acquire() noexcept override { m_rParent.acquire(); }
+ virtual void SAL_CALL release() noexcept override { m_rParent.release(); }
};
diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx
index 3297eeaf6bba..e4886d316350 100644
--- a/include/svx/unoapi.hxx
+++ b/include/svx/unoapi.hxx
@@ -44,34 +44,34 @@ enum class SdrInventor : sal_uInt32;
SVXCORE_DLLPUBLIC rtl::Reference<SvxShape> CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, SdrInventor nInventor, OUString const & referer);
/** Returns a StarOffice API wrapper for the given SdrObject */
-SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XShape > GetXShapeForSdrObject( SdrObject* pObj ) throw ();
+SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XShape > GetXShapeForSdrObject( SdrObject* pObj ) noexcept;
/** Returns the SdrObject from the given StarOffice API wrapper */
-SVXCORE_DLLPUBLIC SdrObject* GetSdrObjectFromXShape( const css::uno::Reference< css::drawing::XShape >& xShape ) throw() ;
+SVXCORE_DLLPUBLIC SdrObject* GetSdrObjectFromXShape( const css::uno::Reference< css::drawing::XShape >& xShape ) noexcept ;
/** Returns a StarOffice API wrapper for the given SdrPage */
-SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > GetXDrawPageForSdrPage( SdrPage* pPage ) throw ();
+SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > GetXDrawPageForSdrPage( SdrPage* pPage ) noexcept;
/** Returns the SdrPage from the given StarOffice API wrapper */
-SVXCORE_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage ) throw() ;
+SVXCORE_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage ) noexcept ;
/**
* Maps the vcl MapUnit enum to an API constant MeasureUnit.
* Returns false if conversion is not supported.
*/
-SVXCORE_DLLPUBLIC bool SvxMapUnitToMeasureUnit( const MapUnit nVcl, short& eApi ) throw();
+SVXCORE_DLLPUBLIC bool SvxMapUnitToMeasureUnit( const MapUnit nVcl, short& eApi ) noexcept;
/**
* Maps the API constant MeasureUnit to a vcl MapUnit enum.
* Returns false if conversion is not supported.
*/
-SVXCORE_DLLPUBLIC bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& nVcl ) throw();
+SVXCORE_DLLPUBLIC bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& nVcl ) noexcept;
/**
* Maps the vcl MapUnit enum to an API constant MeasureUnit.
* Returns false if conversion is not supported.
*/
-SVXCORE_DLLPUBLIC bool SvxFieldUnitToMeasureUnit( const FieldUnit nVcl, short& eApi ) throw();
+SVXCORE_DLLPUBLIC bool SvxFieldUnitToMeasureUnit( const FieldUnit nVcl, short& eApi ) noexcept;
/**
* If the given name is a predefined name for the current language it is replaced by
diff --git a/include/svx/unomod.hxx b/include/svx/unomod.hxx
index 35730594c1aa..dcdbfa8358d5 100644
--- a/include/svx/unomod.hxx
+++ b/include/svx/unomod.hxx
@@ -41,7 +41,7 @@ protected:
virtual SdrModel& getSdrModelFromUnoModel() const = 0; //TTTT make reference return
public:
- SvxUnoDrawMSFactory() throw() {};
+ SvxUnoDrawMSFactory() noexcept {};
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments( const OUString& ServiceSpecifier, const css::uno::Sequence< css::uno::Any >& Arguments ) override;
diff --git a/include/svx/unomodel.hxx b/include/svx/unomodel.hxx
index 08b910ca83ec..87ccd82b0884 100644
--- a/include/svx/unomodel.hxx
+++ b/include/svx/unomodel.hxx
@@ -60,16 +60,16 @@ protected:
virtual SdrModel& getSdrModelFromUnoModel() const override;
public:
- SvxUnoDrawingModel( SdrModel* pDoc ) throw();
- virtual ~SvxUnoDrawingModel() throw() override;
+ SvxUnoDrawingModel( SdrModel* pDoc ) noexcept;
+ virtual ~SvxUnoDrawingModel() noexcept override;
SdrModel* GetDoc() const { return mpDoc; }
// 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 acquire() noexcept override
{ SfxBaseModel::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SfxBaseModel::release(); }
// XModel
diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx
index 2308eb93ad06..4b00244a7b17 100644
--- a/include/svx/unopage.hxx
+++ b/include/svx/unopage.hxx
@@ -64,23 +64,23 @@ class SVXCORE_DLLPUBLIC SvxDrawPage : protected cppu::BaseMutex,
SdrModel* mpModel; // TTTT probably not needed -> use from SdrPage
std::unique_ptr<SdrView> mpView;
- void SelectObjectsInView( const css::uno::Reference< css::drawing::XShapes >& aShapes, SdrPageView* pPageView ) throw ();
- void SelectObjectInView( const css::uno::Reference< css::drawing::XShape >& xShape, SdrPageView* pPageView ) throw();
+ void SelectObjectsInView( const css::uno::Reference< css::drawing::XShapes >& aShapes, SdrPageView* pPageView ) noexcept;
+ void SelectObjectInView( const css::uno::Reference< css::drawing::XShape >& xShape, SdrPageView* pPageView ) noexcept;
- virtual void disposing() throw();
+ virtual void disposing() noexcept;
public:
SvxDrawPage(SdrPage* pPage);
- virtual ~SvxDrawPage() throw() override;
+ virtual ~SvxDrawPage() noexcept override;
// Internals
SdrPage* GetSdrPage() const { return mpPage; }
// Creation of a SdrObject and insertion into the SdrPage
- SdrObject *CreateSdrObject( const css::uno::Reference< css::drawing::XShape >& xShape, bool bBeginning = false ) throw();
+ SdrObject *CreateSdrObject( const css::uno::Reference< css::drawing::XShape >& xShape, bool bBeginning = false ) noexcept;
// Determine Type and Inventor
- static void GetTypeAndInventor( SdrObjKind& rType, SdrInventor& rInventor, const OUString& aName ) throw();
+ static void GetTypeAndInventor( SdrObjKind& rType, SdrInventor& rInventor, const OUString& aName ) noexcept;
// Creating a SdrObject using it's Description.
// Can be used by derived classes to support their owen Shapes (e.g. Controls).
@@ -98,7 +98,7 @@ class SVXCORE_DLLPUBLIC SvxDrawPage : protected cppu::BaseMutex,
UNO3_GETIMPLEMENTATION_DECL( SvxDrawPage )
// XInterface
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XShapes
virtual void SAL_CALL add( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
diff --git a/include/svx/unopool.hxx b/include/svx/unopool.hxx
index b8cc1c7d41f3..ff6c83472b98 100644
--- a/include/svx/unopool.hxx
+++ b/include/svx/unopool.hxx
@@ -45,12 +45,12 @@ public:
/** deprecated */
SvxUnoDrawPool(SdrModel* pModel);
- virtual ~SvxUnoDrawPool() throw() override;
+ virtual ~SvxUnoDrawPool() noexcept override;
/** This returns the item pool from the given model, or the default pool if there is no model and bReadOnly is true.
If bReadOnly is false and there is no model the default implementation returns NULL.
*/
- virtual SfxItemPool* getModelPool( bool bReadOnly ) throw();
+ virtual SfxItemPool* getModelPool( bool bReadOnly ) noexcept;
// overridden helpers from comphelper::PropertySetHelper
virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const css::uno::Any* pValues ) override;
@@ -63,9 +63,9 @@ 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 acquire() noexcept override
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakAggObject::release(); }
// XTypeProvider
diff --git a/include/svx/unoprov.hxx b/include/svx/unoprov.hxx
index 7292bb1d5fdd..0b03c7732bbc 100644
--- a/include/svx/unoprov.hxx
+++ b/include/svx/unoprov.hxx
@@ -111,7 +111,7 @@ namespace comphelper { class PropertySetInfo; }
class SvxPropertySetInfoPool
{
public:
- UNLESS_MERGELIBS(SVXCORE_DLLPUBLIC) static rtl::Reference<comphelper::PropertySetInfo> const & getOrCreate( sal_Int32 nServiceId ) throw();
+ UNLESS_MERGELIBS(SVXCORE_DLLPUBLIC) static rtl::Reference<comphelper::PropertySetInfo> const & getOrCreate( sal_Int32 nServiceId ) noexcept;
private:
static rtl::Reference<comphelper::PropertySetInfo> mxInfos[SVXUNO_SERVICEID_LASTID+1];
diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index 44ffc43e4f3b..75c152e76744 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -132,20 +132,20 @@ private:
protected:
// translations for writer, which works in TWIPS
- void ForceMetricToItemPoolMetric(Pair& rPoint) const throw();
- void ForceMetricToItemPoolMetric(Point& rPoint) const throw() { ForceMetricToItemPoolMetric(rPoint.toPair()); }
- void ForceMetricToItemPoolMetric(Size& rPoint) const throw() { ForceMetricToItemPoolMetric(rPoint.toPair()); }
- void ForceMetricTo100th_mm(Pair& rPoint) const throw();
- void ForceMetricTo100th_mm(Point& rPoint) const throw() { ForceMetricTo100th_mm(rPoint.toPair()); }
- void ForceMetricTo100th_mm(Size& rPoint) const throw() { ForceMetricTo100th_mm(rPoint.toPair()); }
+ void ForceMetricToItemPoolMetric(Pair& rPoint) const noexcept;
+ void ForceMetricToItemPoolMetric(Point& rPoint) const noexcept { ForceMetricToItemPoolMetric(rPoint.toPair()); }
+ void ForceMetricToItemPoolMetric(Size& rPoint) const noexcept { ForceMetricToItemPoolMetric(rPoint.toPair()); }
+ void ForceMetricTo100th_mm(Pair& rPoint) const noexcept;
+ void ForceMetricTo100th_mm(Point& rPoint) const noexcept { ForceMetricTo100th_mm(rPoint.toPair()); }
+ void ForceMetricTo100th_mm(Size& rPoint) const noexcept { ForceMetricTo100th_mm(rPoint.toPair()); }
// version for basegfx::B2DPolyPolygon
- void ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const throw();
- void ForceMetricTo100th_mm(basegfx::B2DPolyPolygon& rPolyPolygon) const throw();
+ void ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept;
+ void ForceMetricTo100th_mm(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept;
// tdf#117145 version for basegfx::B2DHomMatrix
- void ForceMetricToItemPoolMetric(basegfx::B2DHomMatrix& rB2DHomMatrix) const throw();
- void ForceMetricTo100th_mm(basegfx::B2DHomMatrix& rB2DHomMatrix) const throw();
+ void ForceMetricToItemPoolMetric(basegfx::B2DHomMatrix& rB2DHomMatrix) const noexcept;
+ void ForceMetricTo100th_mm(basegfx::B2DHomMatrix& rB2DHomMatrix) const noexcept;
css::uno::Any GetAnyForItem( SfxItemSet const & aSet, const SfxItemPropertyMapEntry* pMap ) const;
@@ -188,7 +188,7 @@ public:
SvxShape( SdrObject* pObj );
/// @throws css::uno::RuntimeException
SvxShape( SdrObject* pObject, const SfxItemPropertyMapEntry* pEntries, const SvxItemPropertySet* pPropertySet );
- virtual ~SvxShape() throw () override;
+ virtual ~SvxShape() noexcept override;
// Internals
void ObtainSettingsFromPropertySet(const SvxItemPropertySet& rPropSet);
@@ -262,7 +262,7 @@ public:
void setMaster( SvxShapeMaster* pMaster );
// SfxListener
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) throw () override;
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) noexcept override;
// XAggregation
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& aType ) override;
@@ -367,16 +367,16 @@ protected:
public:
SvxShapeText(SdrObject* pObj);
SvxShapeText(SdrObject* pObject, const SfxItemPropertyMapEntry* pPropertyMap, const SvxItemPropertySet* pPropertySet);
- virtual ~SvxShapeText() throw () override;
+ virtual ~SvxShapeText() noexcept override;
virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// 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 acquire() noexcept override
{ SvxShape::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShape::release(); }
// XServiceInfo
@@ -402,14 +402,14 @@ class SvxShapeRect final : public SvxShapeText
{
public:
SvxShapeRect(SdrObject* pObj);
- virtual ~SvxShapeRect() throw () override;
+ virtual ~SvxShapeRect() noexcept override;
// 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 acquire() noexcept override
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakAggObject::release(); }
// XServiceInfo
@@ -431,16 +431,16 @@ private:
public:
SvxShapeGroup(SdrObject* pObj,SvxDrawPage* pDrawPage);
- virtual ~SvxShapeGroup() throw () override;
+ virtual ~SvxShapeGroup() noexcept override;
virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// 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 acquire() noexcept override
{ SvxShape::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShape::release(); }
// XShapes
@@ -484,14 +484,14 @@ class SvxShapeConnector : public css::drawing::XConnectorShape,
{
public:
SvxShapeConnector(SdrObject* pObj);
- virtual ~SvxShapeConnector() throw() override;
+ virtual ~SvxShapeConnector() noexcept override;
// 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 acquire() noexcept override
{ SvxShapeText::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShapeText::release(); }
// XShapeDescriptor
@@ -525,14 +525,14 @@ protected:
public:
SvxShapeControl(SdrObject* pObj);
- virtual ~SvxShapeControl() throw() override;
+ virtual ~SvxShapeControl() noexcept override;
// 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 acquire() noexcept override
{ SvxShapeText::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShapeText::release(); }
// XPropertySet
@@ -569,7 +569,7 @@ class SvxShapeDimensioning final : public SvxShapeText
{
public:
SvxShapeDimensioning(SdrObject* pObj);
- virtual ~SvxShapeDimensioning() throw() override;
+ virtual ~SvxShapeDimensioning() noexcept override;
};
/***********************************************************************
@@ -579,7 +579,7 @@ class SvxShapeCircle final : public SvxShapeText
{
public:
SvxShapeCircle(SdrObject* pObj);
- virtual ~SvxShapeCircle() throw () override;
+ virtual ~SvxShapeCircle() noexcept override;
};
/***********************************************************************
@@ -600,7 +600,7 @@ protected:
public:
SvxOle2Shape(SdrObject* pObj);
SvxOle2Shape(SdrObject* pObject, const SfxItemPropertyMapEntry* pPropertyMap, const SvxItemPropertySet* pPropertySet);
- virtual ~SvxOle2Shape() throw() override;
+ virtual ~SvxOle2Shape() noexcept override;
bool createObject( const SvGlobalName &aClassName );
@@ -627,12 +627,12 @@ public:
/// @throws css::lang::IllegalArgumentException
/// @throws css::beans::PropertyVetoException
SvxShapePolyPolygon( SdrObject* pObj );
- virtual ~SvxShapePolyPolygon() throw() override;
+ virtual ~SvxShapePolyPolygon() noexcept override;
// Local support functions
/// @throws css::uno::RuntimeException
void SetPolygon(const basegfx::B2DPolyPolygon& rNew);
- basegfx::B2DPolyPolygon GetPolygon() const throw();
+ basegfx::B2DPolyPolygon GetPolygon() const noexcept;
};
/***********************************************************************
@@ -650,7 +650,7 @@ class SvxGraphicObject final : public SvxShapeText
public:
SvxGraphicObject(SdrObject* pObj);
- virtual ~SvxGraphicObject() throw() override;
+ virtual ~SvxGraphicObject() noexcept override;
};
/***********************************************************************
@@ -672,16 +672,16 @@ public:
virtual bool getPropertyValueImpl(const OUString& rName, const SfxItemPropertyMapEntry* pProperty,
css::uno::Any& rValue ) override;
- virtual ~Svx3DSceneObject() throw() override;
+ virtual ~Svx3DSceneObject() noexcept override;
virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// 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 acquire() noexcept override
{ SvxShape::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShape::release(); }
// XShapes
@@ -714,7 +714,7 @@ class Svx3DCubeObject final : public SvxShape
public:
Svx3DCubeObject(SdrObject* pObj);
- virtual ~Svx3DCubeObject() throw() override;
+ virtual ~Svx3DCubeObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -732,7 +732,7 @@ private:
virtual bool setPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, const css::uno::Any& rValue ) override;
virtual bool getPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, css::uno::Any& rValue ) override;
- virtual ~Svx3DSphereObject() throw() override;
+ virtual ~Svx3DSphereObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -749,7 +749,7 @@ class Svx3DLatheObject final : public SvxShape
public:
Svx3DLatheObject(SdrObject* pObj);
- virtual ~Svx3DLatheObject() throw() override;
+ virtual ~Svx3DLatheObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -767,7 +767,7 @@ private:
virtual bool setPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, const css::uno::Any& rValue ) override;
virtual bool getPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, css::uno::Any& rValue ) override;
- virtual ~Svx3DExtrudeObject() throw() override;
+ virtual ~Svx3DExtrudeObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -784,7 +784,7 @@ class Svx3DPolygonObject final : public SvxShape
public:
Svx3DPolygonObject(SdrObject* pObj);
- virtual ~Svx3DPolygonObject() throw() override;
+ virtual ~Svx3DPolygonObject() noexcept override;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
@@ -805,14 +805,14 @@ public:
virtual bool getPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, css::uno::Any& rValue ) override;
- virtual ~SvxCustomShape() throw () override;
+ virtual ~SvxCustomShape() noexcept override;
// 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 acquire() noexcept override
{ SvxShapeText::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ SvxShapeText::release(); }
// XShape
@@ -836,7 +836,7 @@ class SvxMediaShape final : public SvxShape
{
public:
SvxMediaShape(SdrObject* pObj, OUString const & referer);
- virtual ~SvxMediaShape() throw() override;
+ virtual ~SvxMediaShape() noexcept override;
private:
// override these for special property handling in subcasses. Return true if property is handled
diff --git a/include/toolkit/awt/vclxmenu.hxx b/include/toolkit/awt/vclxmenu.hxx
index 5232ee699efa..73e8e3acb451 100644
--- a/include/toolkit/awt/vclxmenu.hxx
+++ b/include/toolkit/awt/vclxmenu.hxx
@@ -84,8 +84,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XUnoTunnel
UNO3_GETIMPLEMENTATION_DECL(VCLXMenu)
diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx
index c3e71d97900d..38c3a1a4a268 100644
--- a/include/toolkit/awt/vclxwindows.hxx
+++ b/include/toolkit/awt/vclxwindows.hxx
@@ -146,8 +146,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -204,8 +204,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -259,8 +259,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XComponent
void SAL_CALL dispose( ) override;
@@ -306,8 +306,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -344,8 +344,8 @@ public:
VCLXScrollBar();
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -414,8 +414,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/include/toolkit/controls/unocontrolmodel.hxx b/include/toolkit/controls/unocontrolmodel.hxx
index 9f82bb9e4a79..fb22dc3e4383 100644
--- a/include/toolkit/controls/unocontrolmodel.hxx
+++ b/include/toolkit/controls/unocontrolmodel.hxx
@@ -124,14 +124,14 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return OWeakAggObject::queryInterface(rType); }
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
// css::uno::XAggregation
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
// css::lang::XUnoTunnel
- static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() noexcept;
sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) override;
// css::util::XCloneable
diff --git a/include/toolkit/controls/unocontrols.hxx b/include/toolkit/controls/unocontrols.hxx
index eb75d36b6e97..06b127b32f80 100644
--- a/include/toolkit/controls/unocontrols.hxx
+++ b/include/toolkit/controls/unocontrols.hxx
@@ -577,8 +577,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoControlBase::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
void SAL_CALL dispose( ) override;
@@ -646,8 +646,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoControlBase::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -944,8 +944,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoEditControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
@@ -1002,8 +1002,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoEditControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -1065,8 +1065,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -1141,8 +1141,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -1215,8 +1215,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
@@ -1291,8 +1291,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
@@ -1365,8 +1365,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoSpinFieldControl::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -1422,8 +1422,8 @@ public:
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoControlBase::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/include/toolkit/helper/listenermultiplexer.hxx b/include/toolkit/helper/listenermultiplexer.hxx
index a837aeb83de3..d1fb0215f6c9 100644
--- a/include/toolkit/helper/listenermultiplexer.hxx
+++ b/include/toolkit/helper/listenermultiplexer.hxx
@@ -68,8 +68,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { mrContext.acquire(); }
- void SAL_CALL release() throw() override { mrContext.release(); }
+ void SAL_CALL acquire() noexcept override { mrContext.acquire(); }
+ void SAL_CALL release() noexcept override { mrContext.release(); }
};
diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx
index 1bfd46b1bd7e..cd121bc0998d 100644
--- a/include/toolkit/helper/macros.hxx
+++ b/include/toolkit/helper/macros.hxx
@@ -37,8 +37,8 @@ class ClassName final : public ListenerMultiplexerBase, public InterfaceName \
public: \
ClassName( ::cppu::OWeakObject& rSource ); \
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; \
- void SAL_CALL acquire() throw() override; \
- void SAL_CALL release() throw() override; \
+ void SAL_CALL acquire() noexcept override; \
+ void SAL_CALL release() noexcept override; \
void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
@@ -48,8 +48,8 @@ class TOOLKIT_DLLPUBLIC ClassName final : public ListenerMultiplexerBase, public
public: \
ClassName( ::cppu::OWeakObject& rSource ); \
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; \
- void SAL_CALL acquire() throw() override; \
- void SAL_CALL release() throw() override; \
+ void SAL_CALL acquire() noexcept override; \
+ void SAL_CALL release() noexcept override; \
void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
@@ -62,8 +62,8 @@ ClassName::ClassName( ::cppu::OWeakObject& rSource ) \
: ListenerMultiplexerBase( rSource ) \
{ \
} \
-void SAL_CALL ClassName::acquire() throw() { ListenerMultiplexerBase::acquire(); } \
-void SAL_CALL ClassName::release() throw() { ListenerMultiplexerBase::release(); } \
+void SAL_CALL ClassName::acquire() noexcept { ListenerMultiplexerBase::acquire(); } \
+void SAL_CALL ClassName::release() noexcept { ListenerMultiplexerBase::release(); } \
css::uno::Any ClassName::queryInterface( const css::uno::Type & rType ) \
{ \
css::uno::Any aRet = ::cppu::queryInterface( rType, \
diff --git a/include/ucbhelper/contenthelper.hxx b/include/ucbhelper/contenthelper.hxx
index afa1328cc493..3f269e475d4a 100644
--- a/include/ucbhelper/contenthelper.hxx
+++ b/include/ucbhelper/contenthelper.hxx
@@ -308,9 +308,9 @@ 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 acquire() noexcept override
{ cppu::OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx
index fa4185e2ad1b..78fc31f7a23b 100644
--- a/include/ucbhelper/interactionrequest.hxx
+++ b/include/ucbhelper/interactionrequest.hxx
@@ -167,9 +167,9 @@ 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 acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -200,9 +200,9 @@ 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 acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -233,9 +233,9 @@ 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 acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -266,9 +266,9 @@ 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 acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -358,9 +358,9 @@ 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 acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -495,9 +495,9 @@ 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 acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XTypeProvider
@@ -523,9 +523,9 @@ 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 acquire() noexcept override
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override
+ virtual void SAL_CALL release() noexcept override
{ OWeakObject::release(); }
// XInteractionContinuation
diff --git a/include/unoidl/unoidl.hxx b/include/unoidl/unoidl.hxx
index 9f61b68a4b7e..7196a4b14c70 100644
--- a/include/unoidl/unoidl.hxx
+++ b/include/unoidl/unoidl.hxx
@@ -31,7 +31,7 @@ public:
SAL_DLLPRIVATE NoSuchFileException(NoSuchFileException const & other):
uri_(other.uri_) {}
- SAL_DLLPRIVATE ~NoSuchFileException() throw ();
+ SAL_DLLPRIVATE ~NoSuchFileException() noexcept;
const OUString& getUri() const { return uri_; }
@@ -52,7 +52,7 @@ public:
uri_(other.uri_), detail_(other.detail_)
{}
- SAL_DLLPRIVATE ~FileFormatException() throw ();
+ SAL_DLLPRIVATE ~FileFormatException() noexcept;
const OUString& getUri() const { return uri_; }
@@ -92,7 +92,7 @@ public:
protected:
explicit SAL_DLLPRIVATE Entity(Sort sort): sort_(sort) {}
- virtual SAL_DLLPRIVATE ~Entity() throw () override;
+ virtual SAL_DLLPRIVATE ~Entity() noexcept override;
private:
Sort sort_;
@@ -106,7 +106,7 @@ public:
protected:
SAL_DLLPRIVATE MapCursor() {}
- virtual SAL_DLLPRIVATE ~MapCursor() throw() override;
+ virtual SAL_DLLPRIVATE ~MapCursor() noexcept override;
};
class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ModuleEntity: public Entity {
@@ -120,7 +120,7 @@ public:
protected:
SAL_DLLPRIVATE ModuleEntity(): Entity(SORT_MODULE) {}
- virtual SAL_DLLPRIVATE ~ModuleEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~ModuleEntity() noexcept override;
};
class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL PublishableEntity: public Entity {
@@ -137,7 +137,7 @@ protected:
Entity(sort), published_(published), annotations_(annotations)
{}
- virtual SAL_DLLPRIVATE ~PublishableEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~PublishableEntity() noexcept override;
private:
bool published_;
@@ -171,7 +171,7 @@ public:
std::vector< Member > const & getMembers() const { return members_; }
private:
- virtual SAL_DLLPRIVATE ~EnumTypeEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~EnumTypeEntity() noexcept override;
std::vector< Member > members_;
};
@@ -205,7 +205,7 @@ public:
{ return directMembers_; }
private:
- virtual SAL_DLLPRIVATE ~PlainStructTypeEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~PlainStructTypeEntity() noexcept override;
OUString directBase_;
std::vector< Member > directMembers_;
@@ -248,7 +248,7 @@ public:
std::vector< Member > const & getMembers() const { return members_; }
private:
- virtual SAL_DLLPRIVATE ~PolymorphicStructTypeTemplateEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~PolymorphicStructTypeTemplateEntity() noexcept override;
std::vector< OUString > typeParameters_;
std::vector< Member > members_;
@@ -284,7 +284,7 @@ public:
{ return directMembers_; }
private:
- virtual SAL_DLLPRIVATE ~ExceptionTypeEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~ExceptionTypeEntity() noexcept override;
OUString directBase_;
std::vector< Member > directMembers_;
@@ -382,7 +382,7 @@ public:
{ return directMethods_; }
private:
- virtual SAL_DLLPRIVATE ~InterfaceTypeEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~InterfaceTypeEntity() noexcept override;
std::vector< AnnotatedReference > directMandatoryBases_;
std::vector< AnnotatedReference > directOptionalBases_;
@@ -401,7 +401,7 @@ public:
const OUString& getType() const { return type_; }
private:
- virtual SAL_DLLPRIVATE ~TypedefEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~TypedefEntity() noexcept override;
OUString type_;
};
@@ -480,7 +480,7 @@ public:
std::vector< Member > const & getMembers() const { return members_; }
private:
- virtual SAL_DLLPRIVATE ~ConstantGroupEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~ConstantGroupEntity() noexcept override;
std::vector< Member > members_;
};
@@ -542,7 +542,7 @@ public:
{ return constructors_; }
private:
- virtual SAL_DLLPRIVATE ~SingleInterfaceBasedServiceEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~SingleInterfaceBasedServiceEntity() noexcept override;
OUString base_;
std::vector< Constructor > constructors_;
@@ -619,7 +619,7 @@ public:
{ return directProperties_; }
private:
- virtual SAL_DLLPRIVATE ~AccumulationBasedServiceEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~AccumulationBasedServiceEntity() noexcept override;
std::vector< AnnotatedReference > directMandatoryBaseServices_;
std::vector< AnnotatedReference > directOptionalBaseServices_;
@@ -643,7 +643,7 @@ public:
const OUString& getBase() const { return base_; }
private:
- virtual SAL_DLLPRIVATE ~InterfaceBasedSingletonEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~InterfaceBasedSingletonEntity() noexcept override;
OUString base_;
};
@@ -661,7 +661,7 @@ public:
const OUString& getBase() const { return base_; }
private:
- virtual SAL_DLLPRIVATE ~ServiceBasedSingletonEntity() throw () override;
+ virtual SAL_DLLPRIVATE ~ServiceBasedSingletonEntity() noexcept override;
OUString base_;
};
@@ -678,7 +678,7 @@ public:
protected:
SAL_DLLPRIVATE Provider() {}
- virtual SAL_DLLPRIVATE ~Provider() throw () override;
+ virtual SAL_DLLPRIVATE ~Provider() noexcept override;
};
class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL Manager final : public salhelper::SimpleReferenceObject {
@@ -695,7 +695,7 @@ public:
rtl::Reference< MapCursor > createCursor(OUString const & name) const;
private:
- virtual SAL_DLLPRIVATE ~Manager() throw () override;
+ virtual SAL_DLLPRIVATE ~Manager() noexcept override;
SAL_DLLPRIVATE rtl::Reference< Provider > loadProvider(
OUString const & uri);
diff --git a/include/unotools/confignode.hxx b/include/unotools/confignode.hxx
index ae967660e4cb..6ed3cd7d7e69 100644
--- a/include/unotools/confignode.hxx
+++ b/include/unotools/confignode.hxx
@@ -50,7 +50,7 @@ namespace utl
m_xContainerAccess; /// modifying set nodes (optional interface of our UNO object)
bool m_bEscapeNames; /// escape names before accessing children ?
- OConfigurationNode insertNode(const OUString& _rName,const css::uno::Reference< css::uno::XInterface >& _xNode) const throw();
+ OConfigurationNode insertNode(const OUString& _rName,const css::uno::Reference< css::uno::XInterface >& _xNode) const noexcept;
protected:
/// constructs a node object with an interface representing a node
@@ -79,7 +79,7 @@ namespace utl
/** open a sub node
@param _rPath access path of the to-be-opened sub node. May be a hierarchical path.
*/
- OConfigurationNode openNode(const OUString& _rPath) const throw();
+ OConfigurationNode openNode(const OUString& _rPath) const noexcept;
OConfigurationNode openNode( const char* _pAsciiPath ) const
{
@@ -94,14 +94,14 @@ namespace utl
becomes a part of its hierarchy, no explicit insertion is necessary.
@param _rName name for the new child. Must be level-1-depth.
*/
- OConfigurationNode createNode(const OUString& _rName) const throw();
+ OConfigurationNode createNode(const OUString& _rName) const noexcept;
/** remove an existent child nod
If the object represents a set node, this method may be used to delete an existent child. For non-set-nodes,
the method will fail.
*/
- bool removeNode(const OUString& _rName) const throw();
+ bool removeNode(const OUString& _rName) const noexcept;
/** retrieves the content of a descendant
@@ -110,7 +110,7 @@ namespace utl
Unfortunately, this implies that if a void value is returned, you won't have a clue if this means
"the path does not exist" (besides the assertion made :), or if the value is really void.
*/
- css::uno::Any getNodeValue(const OUString& _rPath) const throw();
+ css::uno::Any getNodeValue(const OUString& _rPath) const noexcept;
css::uno::Any getNodeValue( const char* _pAsciiPath ) const
{
@@ -123,7 +123,7 @@ namespace utl
node.
@return sal_True if and only if the write was successful.
*/
- bool setNodeValue(const OUString& _rPath, const css::uno::Any& _rValue) const throw();
+ bool setNodeValue(const OUString& _rPath, const css::uno::Any& _rValue) const noexcept;
bool setNodeValue( const char* _pAsciiPath, const css::uno::Any& _rValue ) const
{
@@ -132,10 +132,10 @@ namespace utl
/// return the names of the existing children
css::uno::Sequence< OUString >
- getNodeNames() const throw();
+ getNodeNames() const noexcept;
/// invalidate the object
- virtual void clear() throw();
+ virtual void clear() noexcept;
// meta information about the node
@@ -143,10 +143,10 @@ namespace utl
bool isSetNode() const;
/// checks whether or not a direct child with a given name exists
- bool hasByName(const OUString& _rName) const throw();
+ bool hasByName(const OUString& _rName) const noexcept;
/// checks whether or not a descendent (no matter if direct or indirect) with the given name exists
- bool hasByHierarchicalName( const OUString& _rName ) const throw();
+ bool hasByHierarchicalName( const OUString& _rName ) const noexcept;
/// check if the objects represents a valid configuration node
bool isValid() const { return m_xHierarchyAccess.is(); }
@@ -259,10 +259,10 @@ namespace utl
object are committed when calling this method.
@return sal_True if and only if the commit was successful
*/
- bool commit() const throw();
+ bool commit() const noexcept;
/// invalidate the object
- virtual void clear() throw() override;
+ virtual void clear() noexcept override;
};
} // namespace utl
diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx
index 363c0d69dcea..2e83c63bbdbf 100644
--- a/include/unotools/streamwrap.hxx
+++ b/include/unotools/streamwrap.hxx
@@ -134,9 +134,9 @@ private:
// disambiguate 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 acquire( ) noexcept override
{ OOutputStreamWrapper::acquire(); }
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ OOutputStreamWrapper::release(); }
// XSeekable
diff --git a/include/unotools/ucbhelper.hxx b/include/unotools/ucbhelper.hxx
index b00248011ed9..ed833580f9ba 100644
--- a/include/unotools/ucbhelper.hxx
+++ b/include/unotools/ucbhelper.hxx
@@ -63,7 +63,7 @@ UNOTOOLS_DLLPUBLIC bool MakeFolder(
UNOTOOLS_DLLPUBLIC bool ensureFolder(
const css::uno::Reference< css::uno::XComponentContext >& xCtx,
const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
- const OUString& rFolder, ucbhelper::Content & result) throw();
+ const OUString& rFolder, ucbhelper::Content & result) noexcept;
UNOTOOLS_DLLPUBLIC bool IsYounger(
OUString const & younger, OUString const & older);
diff --git a/include/vcl/dndhelp.hxx b/include/vcl/dndhelp.hxx
index 902f67cf1036..bc3d49a3048a 100644
--- a/include/vcl/dndhelp.hxx
+++ b/include/vcl/dndhelp.hxx
@@ -79,8 +79,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XEventListener
void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx
index 105fd352089c..116d4d59e1e5 100644
--- a/include/vcl/textview.hxx
+++ b/include/vcl/textview.hxx
@@ -63,8 +63,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::datatransfer::XTransferable
css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor ) override;
diff --git a/include/vcl/unohelp2.hxx b/include/vcl/unohelp2.hxx
index 0f54ea186c65..a92859885cbe 100644
--- a/include/vcl/unohelp2.hxx
+++ b/include/vcl/unohelp2.hxx
@@ -46,8 +46,8 @@ namespace vcl::unohelper {
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::datatransfer::XTransferable
css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor ) override;
diff --git a/include/xmloff/shapeexport.hxx b/include/xmloff/shapeexport.hxx
index d8641451cf4d..add92acf49c2 100644
--- a/include/xmloff/shapeexport.hxx
+++ b/include/xmloff/shapeexport.hxx
@@ -255,7 +255,7 @@ public:
@see exportShapes
*/
void seekShapes(
- const css::uno::Reference< css::drawing::XShapes >& xShapes ) throw();
+ const css::uno::Reference< css::drawing::XShapes >& xShapes ) noexcept;
void exportAutoStyles();
diff --git a/include/xmloff/unoatrcn.hxx b/include/xmloff/unoatrcn.hxx
index 2773af3f86db..68baa3bd8b2e 100644
--- a/include/xmloff/unoatrcn.hxx
+++ b/include/xmloff/unoatrcn.hxx
@@ -52,7 +52,7 @@ public:
SvUnoAttributeContainer( std::unique_ptr<SvXMLAttrContainerData> pContainer = nullptr );
SvXMLAttrContainerData* GetContainerImpl() const { return mpContainer.get(); }
- 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;
// css::container::XElementAccess
diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx
index 9fabd7509996..3a83ff4527ff 100644
--- a/include/xmloff/xmlictxt.hxx
+++ b/include/xmloff/xmlictxt.hxx
@@ -100,9 +100,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) final override;
- virtual void SAL_CALL acquire() throw () final override
+ virtual void SAL_CALL acquire() noexcept final override
{ osl_atomic_increment(&m_nRefCount); }
- virtual void SAL_CALL release() throw () final override
+ virtual void SAL_CALL release() noexcept final override
{ if (osl_atomic_decrement(&m_nRefCount) == 0) delete this; }
// XTypeProvider
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 6ac9266094eb..dc01b88ed9ef 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -303,9 +303,9 @@ public:
SvXMLImportFlags nImportFlags = SvXMLImportFlags::ALL,
const css::uno::Sequence< OUString > & sSupportedServiceNames = {});
- void cleanup() throw();
+ void cleanup() noexcept;
- virtual ~SvXMLImport() throw() override;
+ virtual ~SvXMLImport() noexcept override;
virtual void SAL_CALL startDocument() override;
virtual void SAL_CALL endDocument() override;
@@ -353,7 +353,7 @@ public:
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// XUnoTunnel
- 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;
// XServiceInfo
diff --git a/include/xmlreader/span.hxx b/include/xmlreader/span.hxx
index 42bb9a6efc21..4d1455cd358d 100644
--- a/include/xmlreader/span.hxx
+++ b/include/xmlreader/span.hxx
@@ -45,7 +45,7 @@ struct SAL_WARN_UNUSED OOO_DLLPUBLIC_XMLREADER Span {
begin(literal), length(N - 1)
{}
- void clear() throw() { begin = nullptr; }
+ void clear() noexcept { begin = nullptr; }
bool is() const { return begin != nullptr; }
diff --git a/io/source/stm/streamhelper.cxx b/io/source/stm/streamhelper.cxx
index 4a2df5891be1..0933ac966f8f 100644
--- a/io/source/stm/streamhelper.cxx
+++ b/io/source/stm/streamhelper.cxx
@@ -147,7 +147,7 @@ void MemRingBuffer::writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &seq )
}
-sal_Int32 MemRingBuffer::getSize() const throw()
+sal_Int32 MemRingBuffer::getSize() const noexcept
{
return m_nOccupiedBuffer;
}
diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx
index 6d49003e9d77..8cacaf1f2b30 100644
--- a/io/source/stm/streamhelper.hxx
+++ b/io/source/stm/streamhelper.hxx
@@ -42,7 +42,7 @@ public:
void writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &);
/// @throws css::io::BufferSizeExceededException
void readAt( sal_Int32 nPos, Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) const;
- sal_Int32 getSize() const throw();
+ sal_Int32 getSize() const noexcept;
/// @throws css::io::BufferSizeExceededException
void forgetFromStart(sal_Int32 nBytesToForget);
@@ -75,7 +75,7 @@ public:
void read( Sequence<sal_Int8> & , sal_Int32 nBytesToRead );
/// @throws css::io::BufferSizeExceededException
void skip( sal_Int32 nBytesToSkip );
- sal_Int32 getSize() const throw()
+ sal_Int32 getSize() const noexcept
{ return MemRingBuffer::getSize(); }
};
diff --git a/oox/inc/drawingml/effectpropertiescontext.hxx b/oox/inc/drawingml/effectpropertiescontext.hxx
index 09ec2f02ec80..d6a931043367 100644
--- a/oox/inc/drawingml/effectpropertiescontext.hxx
+++ b/oox/inc/drawingml/effectpropertiescontext.hxx
@@ -20,7 +20,7 @@ class EffectPropertiesContext final : public ::oox::core::ContextHandler2
{
public:
EffectPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent,
- EffectProperties& rEffectProperties ) throw();
+ EffectProperties& rEffectProperties ) noexcept;
virtual ~EffectPropertiesContext() override;
virtual ::oox::core::ContextHandlerRef
diff --git a/oox/inc/drawingml/linepropertiescontext.hxx b/oox/inc/drawingml/linepropertiescontext.hxx
index fc7326008da9..470a38c68514 100644
--- a/oox/inc/drawingml/linepropertiescontext.hxx
+++ b/oox/inc/drawingml/linepropertiescontext.hxx
@@ -32,7 +32,7 @@ class LinePropertiesContext final : public ::oox::core::ContextHandler2
public:
LinePropertiesContext( ::oox::core::ContextHandler2Helper const & rParent,
const ::oox::AttributeList& rAttributes,
- LineProperties& rLineProperties ) throw();
+ LineProperties& rLineProperties ) noexcept;
virtual ~LinePropertiesContext() override;
virtual ::oox::core::ContextHandlerRef
diff --git a/oox/inc/drawingml/scene3dcontext.hxx b/oox/inc/drawingml/scene3dcontext.hxx
index 400cfff98063..30e392f94830 100644
--- a/oox/inc/drawingml/scene3dcontext.hxx
+++ b/oox/inc/drawingml/scene3dcontext.hxx
@@ -30,7 +30,7 @@ struct Shape3DProperties;
class Scene3DRotationPropertiesContext final : public ::oox::core::ContextHandler2
{
public:
- Scene3DRotationPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, RotationProperties& rRotationProperties ) throw();
+ Scene3DRotationPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, RotationProperties& rRotationProperties ) noexcept;
::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
@@ -41,7 +41,7 @@ private:
class Scene3DPropertiesContext final : public ::oox::core::ContextHandler2
{
public:
- Scene3DPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, Shape3DProperties& rShape3DProperties ) throw();
+ Scene3DPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, Shape3DProperties& rShape3DProperties ) noexcept;
::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
private:
@@ -51,7 +51,7 @@ private:
class SceneText3DPropertiesContext final : public ::oox::core::ContextHandler2
{
public:
- SceneText3DPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, Text3DProperties& rText3DProperties ) throw();
+ SceneText3DPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, Text3DProperties& rText3DProperties ) noexcept;
::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
private:
@@ -61,7 +61,7 @@ private:
class Shape3DPropertiesContext final : public ::oox::core::ContextHandler2
{
public:
- Shape3DPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, const ::oox::AttributeList& rAttribs, Shape3DProperties& r3DProperties ) throw();
+ Shape3DPropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, const ::oox::AttributeList& rAttribs, Shape3DProperties& r3DProperties ) noexcept;
::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
diff --git a/oox/inc/drawingml/transform2dcontext.hxx b/oox/inc/drawingml/transform2dcontext.hxx
index 7184210f0c56..f54b0249380d 100644
--- a/oox/inc/drawingml/transform2dcontext.hxx
+++ b/oox/inc/drawingml/transform2dcontext.hxx
@@ -31,7 +31,7 @@ class Transform2DContext final : public ::oox::core::ContextHandler2
{
public:
Transform2DContext( ::oox::core::ContextHandler2Helper const & rParent,
- const ::oox::AttributeList& rAttributes, Shape& rShape, bool btxXfrm = false ) throw();
+ const ::oox::AttributeList& rAttributes, Shape& rShape, bool btxXfrm = false ) noexcept;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
private:
diff --git a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
index de00181069a4..fc2b7e8d80b8 100644
--- a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
+++ b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
@@ -39,7 +39,7 @@ DiagramDataFragmentHandler::DiagramDataFragmentHandler( XmlFilterBase& rFilter,
{
}
-DiagramDataFragmentHandler::~DiagramDataFragmentHandler( ) throw ()
+DiagramDataFragmentHandler::~DiagramDataFragmentHandler( ) noexcept
{
}
@@ -72,7 +72,7 @@ DiagramLayoutFragmentHandler::DiagramLayoutFragmentHandler( XmlFilterBase& rFilt
{
}
-DiagramLayoutFragmentHandler::~DiagramLayoutFragmentHandler( ) throw ()
+DiagramLayoutFragmentHandler::~DiagramLayoutFragmentHandler( ) noexcept
{
}
diff --git a/oox/source/drawingml/diagram/diagramfragmenthandler.hxx b/oox/source/drawingml/diagram/diagramfragmenthandler.hxx
index 933f1a0fbbac..f7024f4c440d 100644
--- a/oox/source/drawingml/diagram/diagramfragmenthandler.hxx
+++ b/oox/source/drawingml/diagram/diagramfragmenthandler.hxx
@@ -30,7 +30,7 @@ class DiagramDataFragmentHandler : public ::oox::core::FragmentHandler2
{
public:
DiagramDataFragmentHandler(oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, const DiagramDataPtr& rDataPtr);
- virtual ~DiagramDataFragmentHandler() throw() override;
+ virtual ~DiagramDataFragmentHandler() noexcept override;
virtual void SAL_CALL endDocument() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
@@ -44,7 +44,7 @@ class DiagramLayoutFragmentHandler : public ::oox::core::FragmentHandler2
{
public:
DiagramLayoutFragmentHandler(oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, const DiagramLayoutPtr& rDataPtr);
- virtual ~DiagramLayoutFragmentHandler() throw() override;
+ virtual ~DiagramLayoutFragmentHandler() noexcept override;
virtual void SAL_CALL endDocument() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
diff --git a/oox/source/drawingml/effectpropertiescontext.cxx b/oox/source/drawingml/effectpropertiescontext.cxx
index b7cb03bc08b6..ea972c742ea9 100644
--- a/oox/source/drawingml/effectpropertiescontext.cxx
+++ b/oox/source/drawingml/effectpropertiescontext.cxx
@@ -23,7 +23,7 @@ using namespace ::com::sun::star::xml::sax;
namespace oox::drawingml {
EffectPropertiesContext::EffectPropertiesContext( ContextHandler2Helper const& rParent,
- EffectProperties& rEffectProperties ) throw()
+ EffectProperties& rEffectProperties ) noexcept
: ContextHandler2( rParent )
, mrEffectProperties( rEffectProperties )
{
diff --git a/oox/source/drawingml/linepropertiescontext.cxx b/oox/source/drawingml/linepropertiescontext.cxx
index 322f98aad609..19f713421c63 100644
--- a/oox/source/drawingml/linepropertiescontext.cxx
+++ b/oox/source/drawingml/linepropertiescontext.cxx
@@ -33,7 +33,7 @@ using namespace ::com::sun::star::xml::sax;
namespace oox::drawingml {
LinePropertiesContext::LinePropertiesContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs,
- LineProperties& rLineProperties ) throw()
+ LineProperties& rLineProperties ) noexcept
: ContextHandler2( rParent )
, mrLineProperties( rLineProperties )
{
diff --git a/oox/source/drawingml/scene3dcontext.cxx b/oox/source/drawingml/scene3dcontext.cxx
index 813f9442c901..e17893472bc2 100644
--- a/oox/source/drawingml/scene3dcontext.cxx
+++ b/oox/source/drawingml/scene3dcontext.cxx
@@ -30,7 +30,7 @@ using namespace ::com::sun::star::xml::sax;
namespace oox::drawingml {
-Scene3DPropertiesContext::Scene3DPropertiesContext( ContextHandler2Helper const & rParent, Shape3DProperties& r3DProperties ) throw()
+Scene3DPropertiesContext::Scene3DPropertiesContext( ContextHandler2Helper const & rParent, Shape3DProperties& r3DProperties ) noexcept
: ContextHandler2( rParent )
, mr3DProperties( r3DProperties )
{
@@ -63,7 +63,7 @@ ContextHandlerRef Scene3DPropertiesContext::onCreateContext( sal_Int32 aElementT
return nullptr;
}
-SceneText3DPropertiesContext::SceneText3DPropertiesContext( ContextHandler2Helper const & rParent, Text3DProperties& r3DProperties ) throw()
+SceneText3DPropertiesContext::SceneText3DPropertiesContext( ContextHandler2Helper const & rParent, Text3DProperties& r3DProperties ) noexcept
: ContextHandler2( rParent )
, mr3DProperties( r3DProperties )
{
@@ -120,7 +120,7 @@ ContextHandlerRef SceneText3DPropertiesContext::onCreateContext( sal_Int32 aElem
return nullptr;
}
-Shape3DPropertiesContext::Shape3DPropertiesContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs, Shape3DProperties& r3DProperties ) throw()
+Shape3DPropertiesContext::Shape3DPropertiesContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs, Shape3DProperties& r3DProperties ) noexcept
: ContextHandler2( rParent )
, mr3DProperties( r3DProperties )
{
@@ -165,7 +165,7 @@ ContextHandlerRef Shape3DPropertiesContext::onCreateContext( sal_Int32 aElementT
return nullptr;
}
-Scene3DRotationPropertiesContext::Scene3DRotationPropertiesContext( ContextHandler2Helper const & rParent, RotationProperties& rRotationProperties ) throw()
+Scene3DRotationPropertiesContext::Scene3DRotationPropertiesContext( ContextHandler2Helper const & rParent, RotationProperties& rRotationProperties ) noexcept
: ContextHandler2( rParent )
, mrRotationProperties( rRotationProperties )
{
diff --git a/oox/source/drawingml/transform2dcontext.cxx b/oox/source/drawingml/transform2dcontext.cxx
index fcd7da9dec0a..19945d23f7af 100644
--- a/oox/source/drawingml/transform2dcontext.cxx
+++ b/oox/source/drawingml/transform2dcontext.cxx
@@ -30,7 +30,7 @@ using ::oox::core::ContextHandlerRef;
namespace oox::drawingml {
/** context to import a CT_Transform2D */
-Transform2DContext::Transform2DContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs, Shape& rShape, bool btxXfrm ) throw()
+Transform2DContext::Transform2DContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs, Shape& rShape, bool btxXfrm ) noexcept
: ContextHandler2( rParent )
, mrShape( rShape )
, mbtxXfrm ( btxXfrm )
diff --git a/oox/source/ppt/animvariantcontext.cxx b/oox/source/ppt/animvariantcontext.cxx
index 00adaaa1599c..5f2faf799de7 100644
--- a/oox/source/ppt/animvariantcontext.cxx
+++ b/oox/source/ppt/animvariantcontext.cxx
@@ -40,7 +40,7 @@ namespace oox::ppt {
{
}
- AnimVariantContext::~AnimVariantContext( ) throw( )
+ AnimVariantContext::~AnimVariantContext( ) noexcept
{
}
diff --git a/oox/source/ppt/animvariantcontext.hxx b/oox/source/ppt/animvariantcontext.hxx
index 25f7f7dfa9e1..8830e0e6a73a 100644
--- a/oox/source/ppt/animvariantcontext.hxx
+++ b/oox/source/ppt/animvariantcontext.hxx
@@ -33,7 +33,7 @@ namespace oox::ppt {
{
public:
AnimVariantContext( ::oox::core::FragmentHandler2 const & rParent, ::sal_Int32 aElement, css::uno::Any & aValue );
- virtual ~AnimVariantContext( ) throw( ) override;
+ virtual ~AnimVariantContext( ) noexcept override;
virtual void onEndElement() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/oox/source/ppt/commonbehaviorcontext.cxx b/oox/source/ppt/commonbehaviorcontext.cxx
index f0fd42c9d075..4ba40925a7e2 100644
--- a/oox/source/ppt/commonbehaviorcontext.cxx
+++ b/oox/source/ppt/commonbehaviorcontext.cxx
@@ -45,7 +45,7 @@ namespace oox::ppt {
{
}
- CommonBehaviorContext::~CommonBehaviorContext( ) throw( )
+ CommonBehaviorContext::~CommonBehaviorContext( ) noexcept
{
}
diff --git a/oox/source/ppt/commonbehaviorcontext.hxx b/oox/source/ppt/commonbehaviorcontext.hxx
index 423154b802df..eb6bc28fca36 100644
--- a/oox/source/ppt/commonbehaviorcontext.hxx
+++ b/oox/source/ppt/commonbehaviorcontext.hxx
@@ -42,7 +42,7 @@ namespace oox::ppt {
CommonBehaviorContext( ::oox::core::FragmentHandler2 const & rParent,
const TimeNodePtr & pNode );
virtual ~CommonBehaviorContext( )
- throw( ) override;
+ noexcept override;
virtual void onEndElement() override;
diff --git a/oox/source/ppt/commontimenodecontext.cxx b/oox/source/ppt/commontimenodecontext.cxx
index 649d6eca2f84..e7d1cf1dce44 100644
--- a/oox/source/ppt/commontimenodecontext.cxx
+++ b/oox/source/ppt/commontimenodecontext.cxx
@@ -579,7 +579,7 @@ OUString getConvertedSubType( sal_Int16 nPresetClass, sal_Int32 nPresetId, sal_I
xAttribs->getOptionalValue( XML_tmFilter );
}
- CommonTimeNodeContext::~CommonTimeNodeContext( ) throw ( )
+ CommonTimeNodeContext::~CommonTimeNodeContext( ) noexcept
{
}
diff --git a/oox/source/ppt/commontimenodecontext.hxx b/oox/source/ppt/commontimenodecontext.hxx
index 88695509f7ad..80ca749269e5 100644
--- a/oox/source/ppt/commontimenodecontext.hxx
+++ b/oox/source/ppt/commontimenodecontext.hxx
@@ -31,7 +31,7 @@ namespace oox::ppt {
{
public:
CommonTimeNodeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode);
- virtual ~CommonTimeNodeContext( ) throw( ) override;
+ virtual ~CommonTimeNodeContext( ) noexcept override;
virtual void onEndElement() override;
diff --git a/oox/source/ppt/conditioncontext.cxx b/oox/source/ppt/conditioncontext.cxx
index 50e10ae429c8..4a2145e3c540 100644
--- a/oox/source/ppt/conditioncontext.cxx
+++ b/oox/source/ppt/conditioncontext.cxx
@@ -94,7 +94,7 @@ namespace oox::ppt {
}
}
- CondContext::~CondContext( ) throw( )
+ CondContext::~CondContext( ) noexcept
{
if( maCond.mnType == 0 || maCond.mnType == PPT_TOKEN(tn))
{
@@ -159,7 +159,7 @@ namespace oox::ppt {
}
CondListContext::~CondListContext( )
- throw( )
+ noexcept
{
}
diff --git a/oox/source/ppt/conditioncontext.hxx b/oox/source/ppt/conditioncontext.hxx
index 095dd91ecf06..fd8d4dd109c4 100644
--- a/oox/source/ppt/conditioncontext.hxx
+++ b/oox/source/ppt/conditioncontext.hxx
@@ -36,7 +36,7 @@ namespace oox::ppt {
CondContext( ::oox::core::FragmentHandler2 const & rParent,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs,
const TimeNodePtr & pNode, AnimationCondition & aCond );
- virtual ~CondContext( ) throw( ) override;
+ virtual ~CondContext( ) noexcept override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
private:
@@ -52,7 +52,7 @@ namespace oox::ppt {
CondListContext( ::oox::core::FragmentHandler2 const & rParent,
sal_Int32 aElement,
const TimeNodePtr & pNode, AnimationConditionList & aCondList );
- virtual ~CondListContext( ) throw( ) override;
+ virtual ~CondListContext( ) noexcept override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/oox/source/ppt/extdrawingfragmenthandler.cxx b/oox/source/ppt/extdrawingfragmenthandler.cxx
index 9bb24cbbd846..9aad170c1c4c 100644
--- a/oox/source/ppt/extdrawingfragmenthandler.cxx
+++ b/oox/source/ppt/extdrawingfragmenthandler.cxx
@@ -33,7 +33,7 @@ ExtDrawingFragmentHandler::ExtDrawingFragmentHandler( XmlFilterBase& rFilter,
{
}
-ExtDrawingFragmentHandler::~ExtDrawingFragmentHandler( ) throw ()
+ExtDrawingFragmentHandler::~ExtDrawingFragmentHandler( ) noexcept
{
// Empty DrawingML fallback, need to warn the user at the end.
if (mpShapePtr && mpShapePtr->getChildren().empty())
diff --git a/oox/source/ppt/extdrawingfragmenthandler.hxx b/oox/source/ppt/extdrawingfragmenthandler.hxx
index 8d73cbacac13..22406f3d998f 100644
--- a/oox/source/ppt/extdrawingfragmenthandler.hxx
+++ b/oox/source/ppt/extdrawingfragmenthandler.hxx
@@ -23,7 +23,7 @@ public:
const oox::ppt::ShapeLocation eShapeLocation,
oox::drawingml::ShapePtr const & pGroupShapePtr,
oox::drawingml::ShapePtr const & pShapePtr );
- virtual ~ExtDrawingFragmentHandler() throw() override;
+ virtual ~ExtDrawingFragmentHandler() noexcept override;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const AttributeList& rAttribs ) override;
diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx
index 128ff31d6267..573dbd0c4234 100644
--- a/oox/source/ppt/pptimport.cxx
+++ b/oox/source/ppt/pptimport.cxx
@@ -133,7 +133,7 @@ bool PowerPointImport::importDocument()
}
-bool PowerPointImport::exportDocument() throw()
+bool PowerPointImport::exportDocument() noexcept
{
return false;
}
diff --git a/oox/source/ppt/presentationfragmenthandler.cxx b/oox/source/ppt/presentationfragmenthandler.cxx
index 9e7308c7c496..a00b825d8c00 100644
--- a/oox/source/ppt/presentationfragmenthandler.cxx
+++ b/oox/source/ppt/presentationfragmenthandler.cxx
@@ -95,7 +95,7 @@ PresentationFragmentHandler::PresentationFragmentHandler(XmlFilterBase& rFilter,
}
}
-PresentationFragmentHandler::~PresentationFragmentHandler() throw()
+PresentationFragmentHandler::~PresentationFragmentHandler() noexcept
{
}
diff --git a/oox/source/ppt/slidetimingcontext.cxx b/oox/source/ppt/slidetimingcontext.cxx
index f05caf97cee7..300249446200 100644
--- a/oox/source/ppt/slidetimingcontext.cxx
+++ b/oox/source/ppt/slidetimingcontext.cxx
@@ -34,13 +34,13 @@ using namespace ::com::sun::star::xml::sax;
namespace oox::ppt {
-SlideTimingContext::SlideTimingContext( FragmentHandler2 const & rParent, TimeNodePtrList & aTimeNodeList ) throw()
+SlideTimingContext::SlideTimingContext( FragmentHandler2 const & rParent, TimeNodePtrList & aTimeNodeList ) noexcept
: FragmentHandler2( rParent )
, maTimeNodeList( aTimeNodeList )
{
}
-SlideTimingContext::~SlideTimingContext() throw()
+SlideTimingContext::~SlideTimingContext() noexcept
{
}
diff --git a/oox/source/ppt/slidetransitioncontext.cxx b/oox/source/ppt/slidetransitioncontext.cxx
index dfd34a272147..8ec8e0fd82a0 100644
--- a/oox/source/ppt/slidetransitioncontext.cxx
+++ b/oox/source/ppt/slidetransitioncontext.cxx
@@ -33,7 +33,7 @@ using namespace ::com::sun::star::xml::sax;
namespace oox::ppt {
-SlideTransitionContext::SlideTransitionContext( FragmentHandler2 const & rParent, const AttributeList& rAttribs, PropertyMap & aProperties ) throw()
+SlideTransitionContext::SlideTransitionContext( FragmentHandler2 const & rParent, const AttributeList& rAttribs, PropertyMap & aProperties ) noexcept
: FragmentHandler2( rParent )
, maSlideProperties( aProperties )
, mbHasTransition( false )
@@ -62,7 +62,7 @@ SlideTransitionContext::SlideTransitionContext( FragmentHandler2 const & rParent
maTransition.setOoxAdvanceTime( rAttribs.getInteger( XML_advTm, -1 ) );
}
-SlideTransitionContext::~SlideTransitionContext() throw()
+SlideTransitionContext::~SlideTransitionContext() noexcept
{
}
diff --git a/oox/source/ppt/soundactioncontext.cxx b/oox/source/ppt/soundactioncontext.cxx
index 4c9d242af092..bac5c6641ed9 100644
--- a/oox/source/ppt/soundactioncontext.cxx
+++ b/oox/source/ppt/soundactioncontext.cxx
@@ -38,7 +38,7 @@ using namespace ::com::sun::star::uno;
namespace oox::ppt {
- SoundActionContext::SoundActionContext( FragmentHandler2 const & rParent, PropertyMap & aProperties ) throw()
+ SoundActionContext::SoundActionContext( FragmentHandler2 const & rParent, PropertyMap & aProperties ) noexcept
: FragmentHandler2( rParent )
, maSlideProperties( aProperties )
, mbHasStartSound( false )
@@ -47,7 +47,7 @@ namespace oox::ppt {
{
}
- SoundActionContext::~SoundActionContext() throw()
+ SoundActionContext::~SoundActionContext() noexcept
{
}
diff --git a/oox/source/ppt/timenodelistcontext.cxx b/oox/source/ppt/timenodelistcontext.cxx
index 93525ae4879a..13d9a1d090b9 100644
--- a/oox/source/ppt/timenodelistcontext.cxx
+++ b/oox/source/ppt/timenodelistcontext.cxx
@@ -223,7 +223,7 @@ namespace oox::ppt {
}
- virtual ~SetTimeNodeContext() throw () override
+ virtual ~SetTimeNodeContext() noexcept override
{
if(maTo.hasValue())
{
@@ -442,7 +442,7 @@ namespace oox::ppt {
public:
AnimColorContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
, mnColorSpace( xAttribs->getOptionalValueToken( XML_clrSpc, 0 ) )
, mnDir( xAttribs->getOptionalValueToken( XML_dir, 0 ) )
@@ -533,7 +533,7 @@ namespace oox::ppt {
public:
AnimContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
{
NodePropertyMap & aProps( pNode->getNodeProperties() );
@@ -565,7 +565,7 @@ namespace oox::ppt {
mnValueType = xAttribs->getOptionalValueToken( XML_valueType, 0 );
}
- virtual ~AnimContext() throw () override
+ virtual ~AnimContext() noexcept override
{
if (!msFrom.isEmpty())
{
@@ -652,7 +652,7 @@ namespace oox::ppt {
public:
AnimScaleContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
, mbZoomContents( false )
{
@@ -730,7 +730,7 @@ namespace oox::ppt {
public:
AnimRotContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
{
AttributeList attribs( xAttribs );
@@ -777,7 +777,7 @@ namespace oox::ppt {
public:
AnimMotionContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
{
pNode->getNodeProperties()[ NP_TRANSFORMTYPE ]
@@ -872,7 +872,7 @@ namespace oox::ppt {
public:
AnimEffectContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
{
sal_Int32 nDir = xAttribs->getOptionalValueToken( XML_transition, 0 );
@@ -961,26 +961,26 @@ namespace oox::ppt {
}
TimeNodeContext::TimeNodeContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: FragmentHandler2( rParent )
, mnElement( aElement )
, mpNode( pNode )
{
}
- TimeNodeContext::~TimeNodeContext( ) throw()
+ TimeNodeContext::~TimeNodeContext( ) noexcept
{
}
TimeNodeListContext::TimeNodeListContext( FragmentHandler2 const & rParent, TimeNodePtrList & aList )
- throw()
+ noexcept
: FragmentHandler2( rParent )
, maList( aList )
{
}
- TimeNodeListContext::~TimeNodeListContext( ) throw()
+ TimeNodeListContext::~TimeNodeListContext( ) noexcept
{
}
diff --git a/oox/source/ppt/timetargetelementcontext.cxx b/oox/source/ppt/timetargetelementcontext.cxx
index 5c1ceb88523f..bf74b3353cfa 100644
--- a/oox/source/ppt/timetargetelementcontext.cxx
+++ b/oox/source/ppt/timetargetelementcontext.cxx
@@ -107,7 +107,7 @@ namespace oox::ppt {
OSL_ENSURE( mpTarget, "no valid target passed" );
}
- TimeTargetElementContext::~TimeTargetElementContext( ) throw( )
+ TimeTargetElementContext::~TimeTargetElementContext( ) noexcept
{
}
diff --git a/oox/source/ppt/timetargetelementcontext.hxx b/oox/source/ppt/timetargetelementcontext.hxx
index db75f6908baa..29fed88b6aa1 100644
--- a/oox/source/ppt/timetargetelementcontext.hxx
+++ b/oox/source/ppt/timetargetelementcontext.hxx
@@ -31,7 +31,7 @@ namespace oox::ppt {
{
public:
TimeTargetElementContext( ::oox::core::FragmentHandler2 const & rParent, const AnimTargetElementPtr & aValue );
- virtual ~TimeTargetElementContext( ) throw( ) override;
+ virtual ~TimeTargetElementContext( ) noexcept override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
private:
diff --git a/oox/source/shape/ShapeDrawingFragmentHandler.cxx b/oox/source/shape/ShapeDrawingFragmentHandler.cxx
index 3c65844f27de..aafe004faf17 100644
--- a/oox/source/shape/ShapeDrawingFragmentHandler.cxx
+++ b/oox/source/shape/ShapeDrawingFragmentHandler.cxx
@@ -22,7 +22,7 @@ ShapeDrawingFragmentHandler::ShapeDrawingFragmentHandler(oox::core::XmlFilterBas
{
}
-ShapeDrawingFragmentHandler::~ShapeDrawingFragmentHandler() throw()
+ShapeDrawingFragmentHandler::~ShapeDrawingFragmentHandler() noexcept
{
}
diff --git a/oox/source/shape/ShapeDrawingFragmentHandler.hxx b/oox/source/shape/ShapeDrawingFragmentHandler.hxx
index 53ce4d1293ba..68b27f9491ec 100644
--- a/oox/source/shape/ShapeDrawingFragmentHandler.hxx
+++ b/oox/source/shape/ShapeDrawingFragmentHandler.hxx
@@ -20,7 +20,7 @@ class ShapeDrawingFragmentHandler : public oox::core::FragmentHandler2
{
public:
ShapeDrawingFragmentHandler(oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr const & pGroupShapePtr);
- virtual ~ShapeDrawingFragmentHandler() throw() override;
+ virtual ~ShapeDrawingFragmentHandler() noexcept override;
virtual void SAL_CALL endDocument() override;
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const AttributeList& rAttribs ) override;
diff --git a/package/source/xstor/oseekinstream.cxx b/package/source/xstor/oseekinstream.cxx
index d19d6a745ab1..f5e3d644d673 100644
--- a/package/source/xstor/oseekinstream.cxx
+++ b/package/source/xstor/oseekinstream.cxx
@@ -76,13 +76,13 @@ uno::Any SAL_CALL OInputSeekStream::queryInterface( const uno::Type& rType )
}
void SAL_CALL OInputSeekStream::acquire()
- throw()
+ noexcept
{
OInputCompStream::acquire();
}
void SAL_CALL OInputSeekStream::release()
- throw()
+ noexcept
{
OInputCompStream::release();
}
diff --git a/package/source/xstor/oseekinstream.hxx b/package/source/xstor/oseekinstream.hxx
index 673e3a04742c..a77289e9a3ed 100644
--- a/package/source/xstor/oseekinstream.hxx
+++ b/package/source/xstor/oseekinstream.hxx
@@ -45,8 +45,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;
//XSeekable
virtual void SAL_CALL seek( sal_Int64 location ) override;
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 1b914138a0c1..5dd673f29171 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -1810,12 +1810,12 @@ uno::Any SAL_CALL OWriteStream::queryInterface( const uno::Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL OWriteStream::acquire() throw()
+void SAL_CALL OWriteStream::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL OWriteStream::release() throw()
+void SAL_CALL OWriteStream::release() noexcept
{
OWeakObject::release();
}
diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx
index ecb810c32529..84fdf7c51576 100644
--- a/package/source/xstor/owriteablestream.hxx
+++ b/package/source/xstor/owriteablestream.hxx
@@ -272,8 +272,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;
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 6b2a5b02c5d1..24849a6c9062 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -2098,12 +2098,12 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL OStorage::acquire() throw()
+void SAL_CALL OStorage::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL OStorage::release() throw()
+void SAL_CALL OStorage::release() noexcept
{
OWeakObject::release();
}
diff --git a/package/source/xstor/xstorage.hxx b/package/source/xstor/xstorage.hxx
index 14d11a8de0b2..51876737e3bd 100644
--- a/package/source/xstor/xstorage.hxx
+++ b/package/source/xstor/xstorage.hxx
@@ -320,9 +320,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/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx
index c8b1d764a1ea..e2fe119eea5a 100644
--- a/reportdesign/source/filter/xml/xmlfilter.cxx
+++ b/reportdesign/source/filter/xml/xmlfilter.cxx
@@ -313,7 +313,7 @@ ORptFilter::ORptFilter( const uno::Reference< XComponentContext >& _rxContext, O
}
-ORptFilter::~ORptFilter() throw()
+ORptFilter::~ORptFilter() noexcept
{
}
diff --git a/reportdesign/source/filter/xml/xmlfilter.hxx b/reportdesign/source/filter/xml/xmlfilter.hxx
index d6e8c2d2b486..0a101c635a88 100644
--- a/reportdesign/source/filter/xml/xmlfilter.hxx
+++ b/reportdesign/source/filter/xml/xmlfilter.hxx
@@ -81,7 +81,7 @@ protected:
virtual XMLShapeImportHelper* CreateShapeImport() override;
- virtual ~ORptFilter() throw() override;
+ virtual ~ORptFilter() noexcept override;
public:
ORptFilter( const Reference< XComponentContext >& _rxContext, OUString const & rImplementationName, SvXMLImportFlags nImportFlags );
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 033052a0bd8d..37eb58f099db 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -148,7 +148,7 @@ public:
bool writeString(const OUString& rWriteOutString, bool bDoNormalization,
bool bNormalizeWhitespace);
- sal_uInt32 GetLastColumnCount() const throw()
+ sal_uInt32 GetLastColumnCount() const noexcept
{
return static_cast<sal_uInt32>(nCurrentPos - nLastLineFeedPos);
}
@@ -1069,7 +1069,7 @@ public: // XServiceInfo
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
private:
- sal_Int32 getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence) throw();
+ sal_Int32 getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence) noexcept;
Reference<XOutputStream> m_out;
std::unique_ptr<SaxWriterHelper> m_pSaxWriterHelper;
@@ -1082,7 +1082,7 @@ private:
sal_Int32 m_nLevel;
};
-sal_Int32 SAXWriter::getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence) throw()
+sal_Int32 SAXWriter::getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence) noexcept
{
sal_Int32 nLength = -1;
if (m_pSaxWriterHelper)
@@ -1098,7 +1098,7 @@ sal_Int32 SAXWriter::getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence)
return nLength;
}
-bool isFirstCharWhitespace(const sal_Unicode* p) throw() { return *p == ' '; }
+bool isFirstCharWhitespace(const sal_Unicode* p) noexcept { return *p == ' '; }
// XServiceInfo
OUString SAXWriter::getImplementationName() { return "com.sun.star.extensions.xml.sax.Writer"; }
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index ca0dc2fcc2df..eb50b536f3ac 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -394,8 +394,8 @@ public:
virtual ~ScCellRangesObj() 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;
virtual void RefChanged() override;
@@ -502,8 +502,8 @@ 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 release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
virtual void RefChanged() override;
@@ -664,8 +664,8 @@ public:
virtual ~ScCellObj() 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;
virtual void RefChanged() override;
@@ -802,8 +802,8 @@ public:
void InitInsertSheet(ScDocShell* pDocSh, SCTAB nTab);
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;
// XSpreadsheet
virtual css::uno::Reference< css::sheet::XSheetCellCursor >
@@ -978,8 +978,8 @@ 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 release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// XNamed
virtual OUString SAL_CALL getName() override;
diff --git a/sc/inc/cursuno.hxx b/sc/inc/cursuno.hxx
index bfa4235aa0ec..5ba9403e8237 100644
--- a/sc/inc/cursuno.hxx
+++ b/sc/inc/cursuno.hxx
@@ -35,8 +35,8 @@ 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 release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// XSheetCellCursor
virtual void SAL_CALL collapseToCurrentRegion() override;
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index de09a32c870d..fe329213e2e5 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -241,8 +241,8 @@ public:
virtual ~ScDataPilotTableObj() 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;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 04db162fb95a..dd3f10e285e9 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -157,8 +157,8 @@ public:
const css::uno::Sequence< css::beans::PropertyValue >& rProperties );
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;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
diff --git a/sc/inc/drdefuno.hxx b/sc/inc/drdefuno.hxx
index 5557fef451a8..8ccbdf06e2c9 100644
--- a/sc/inc/drdefuno.hxx
+++ b/sc/inc/drdefuno.hxx
@@ -31,12 +31,12 @@ private:
public:
ScDrawDefaultsObj(ScDocShell* pDocSh);
- virtual ~ScDrawDefaultsObj() throw () override;
+ virtual ~ScDrawDefaultsObj() noexcept override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
// from SvxUnoDrawPool
- virtual SfxItemPool* getModelPool( bool bReadOnly ) throw() override;
+ virtual SfxItemPool* getModelPool( bool bReadOnly ) noexcept override;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/pageuno.hxx b/sc/inc/pageuno.hxx
index 6fd0e60018ef..742b2aaa583a 100644
--- a/sc/inc/pageuno.hxx
+++ b/sc/inc/pageuno.hxx
@@ -27,7 +27,7 @@ class ScPageObj final : public SvxFmDrawPage
{
public:
ScPageObj(SdrPage* pPage);
- virtual ~ScPageObj() throw() override;
+ virtual ~ScPageObj() noexcept override;
virtual css::uno::Reference<css::drawing::XShape> CreateShape(SdrObject* pObj) const override;
diff --git a/sc/inc/shapeuno.hxx b/sc/inc/shapeuno.hxx
index 9c7723ca232c..977c58be75c4 100644
--- a/sc/inc/shapeuno.hxx
+++ b/sc/inc/shapeuno.hxx
@@ -70,7 +70,7 @@ private:
bool bIsTextShape;
bool bIsNoteCaption;
- SdrObject* GetSdrObject() const throw();
+ SdrObject* GetSdrObject() const noexcept;
void GetShapePropertySet();
void GetShapePropertyState();
@@ -88,8 +88,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;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo >
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index be16478bbbfd..f04892515209 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -218,7 +218,7 @@ class ScCellTextCursor final : public SvxUnoTextCursor
public:
ScCellTextCursor(ScCellObj& rText);
- virtual ~ScCellTextCursor() throw() override;
+ virtual ~ScCellTextCursor() noexcept override;
ScCellTextCursor(ScCellTextCursor const &) = default;
ScCellTextCursor(ScCellTextCursor &&) = default;
@@ -246,7 +246,7 @@ private:
public:
ScHeaderFooterTextCursor(rtl::Reference<ScHeaderFooterTextObj> const & rText);
- virtual ~ScHeaderFooterTextCursor() throw() override;
+ virtual ~ScHeaderFooterTextCursor() noexcept override;
ScHeaderFooterTextCursor(ScHeaderFooterTextCursor const &) = default;
ScHeaderFooterTextCursor(ScHeaderFooterTextCursor &&) = default;
@@ -273,7 +273,7 @@ private:
public:
ScDrawTextCursor( const css::uno::Reference< css::text::XText >& xParent,
const SvxUnoTextBase& rText );
- virtual ~ScDrawTextCursor() throw() override;
+ virtual ~ScDrawTextCursor() noexcept override;
ScDrawTextCursor(ScDrawTextCursor const &) = default;
ScDrawTextCursor(ScDrawTextCursor &&) = default;
@@ -315,7 +315,7 @@ class ScEditEngineTextObj final : public ScSimpleEditSourceHelper, public SvxUno
{
public:
ScEditEngineTextObj();
- virtual ~ScEditEngineTextObj() throw() override;
+ virtual ~ScEditEngineTextObj() noexcept override;
void SetText( const EditTextObject& rTextObject );
std::unique_ptr<EditTextObject> CreateTextObject();
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index 5e954f86f2d7..4f428b3b6a39 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -118,8 +118,8 @@ public:
virtual ~ScViewPaneObj() 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;
};
// OWeakObject is base of SfxBaseController -> use ScViewPaneBase
@@ -174,8 +174,8 @@ public:
virtual ~ScTabViewObj() 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;
void SelectionChanged();
void VisAreaChanged();
@@ -294,8 +294,8 @@ 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 release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
virtual void Notify(SfxBroadcaster&, const SfxHint& rHint) override;
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index f98d81601f41..6c79d99469f1 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -961,7 +961,7 @@ sax_fastparser::FSHelperPtr XclExpXmlStream::CreateOutputStream (
return p;
}
-bool XclExpXmlStream::importDocument() throw()
+bool XclExpXmlStream::importDocument() noexcept
{
return false;
}
diff --git a/sc/source/filter/inc/excelfilter.hxx b/sc/source/filter/inc/excelfilter.hxx
index 2805733d89aa..be6783560551 100644
--- a/sc/source/filter/inc/excelfilter.hxx
+++ b/sc/source/filter/inc/excelfilter.hxx
@@ -38,7 +38,7 @@ public:
void unregisterWorkbookGlobals();
virtual bool importDocument() override;
- virtual bool exportDocument() throw() override;
+ virtual bool exportDocument() noexcept override;
virtual const ::oox::drawingml::Theme* getCurrentTheme() const override;
virtual ::oox::vml::Drawing* getVmlDrawing() override;
diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx
index 3dfdb87fbe40..669dadaec014 100644
--- a/sc/source/filter/inc/xestream.hxx
+++ b/sc/source/filter/inc/xestream.hxx
@@ -319,7 +319,7 @@ public:
virtual bool exportDocument() override;
// only needed for import; ignore
- virtual bool importDocument() throw() override;
+ virtual bool importDocument() noexcept override;
virtual oox::vml::Drawing* getVmlDrawing() override;
virtual const oox::drawingml::Theme* getCurrentTheme() const override;
virtual oox::drawingml::table::TableStyleListPtr getTableStyles() override;
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx
index 1989dfdb56db..b5d01215baf8 100644
--- a/sc/source/filter/oox/excelfilter.cxx
+++ b/sc/source/filter/oox/excelfilter.cxx
@@ -175,7 +175,7 @@ bool ExcelFilter::importDocument()
return false;
}
-bool ExcelFilter::exportDocument() throw()
+bool ExcelFilter::exportDocument() noexcept
{
return false;
}
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index 9df7d551e88b..f8ff9bdde955 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -389,7 +389,7 @@ ScXMLImport::ScXMLImport(
XML_NAMESPACE_PRESENTATION );
}
-ScXMLImport::~ScXMLImport() throw()
+ScXMLImport::~ScXMLImport() noexcept
{
pChangeTrackingImportHelper.reset();
pNumberFormatAttributesExportHelper.reset();
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx
index 0bc5ca80092c..5c3eec947de7 100644
--- a/sc/source/filter/xml/xmlimprt.hxx
+++ b/sc/source/filter/xml/xmlimprt.hxx
@@ -182,7 +182,7 @@ public:
OUString const & implementationName, SvXMLImportFlags nImportFlag,
const css::uno::Sequence< OUString > & sSupportedServiceNames = {});
- virtual ~ScXMLImport() throw() override;
+ virtual ~ScXMLImport() noexcept override;
// XInitialization
virtual void SAL_CALL initialize( const css::uno::Sequence<css::uno::Any>& aArguments ) override;
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();
}
diff --git a/sd/inc/Annotation.hxx b/sd/inc/Annotation.hxx
index 2f36761a9acc..b32a7d1127f4 100644
--- a/sd/inc/Annotation.hxx
+++ b/sd/inc/Annotation.hxx
@@ -90,8 +90,8 @@ public:
// XInterface:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) override;
- virtual void SAL_CALL acquire() throw () override { ::cppu::WeakComponentImplHelper<css::office::XAnnotation>::acquire(); }
- virtual void SAL_CALL release() throw () override { ::cppu::WeakComponentImplHelper<css::office::XAnnotation>::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ::cppu::WeakComponentImplHelper<css::office::XAnnotation>::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ::cppu::WeakComponentImplHelper<css::office::XAnnotation>::release(); }
// css::beans::XPropertySet:
virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index c0dd967e3120..8617eade17e1 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -84,7 +84,7 @@ public:
virtual bool SetName(const OUString& rNewName, bool bReindexNow = true) override;
// XInterface
- virtual void SAL_CALL release( ) throw () override;
+ virtual void SAL_CALL release( ) noexcept override;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
diff --git a/sd/inc/textapi.hxx b/sd/inc/textapi.hxx
index 4b2d1a751d9e..090cab889b4f 100644
--- a/sd/inc/textapi.hxx
+++ b/sd/inc/textapi.hxx
@@ -34,7 +34,7 @@ class TextApiObject final : public SvxUnoText
public:
static rtl::Reference< TextApiObject > create( SdDrawDocument* pDoc );
- virtual ~TextApiObject() throw() override;
+ virtual ~TextApiObject() noexcept override;
/// @throws css::uno::RuntimeException
void dispose();
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index dbf164e41235..81c047b70c8a 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -690,7 +690,7 @@ rtl::Reference<SdStyleSheet> SdStyleSheet::CreateEmptyUserStyle( SfxStyleSheetBa
// XInterface
-void SAL_CALL SdStyleSheet::release( ) throw ()
+void SAL_CALL SdStyleSheet::release( ) noexcept
{
if (osl_atomic_decrement( &m_refCount ) != 0)
return;
diff --git a/sd/source/core/text/textapi.cxx b/sd/source/core/text/textapi.cxx
index fa4ffc391ea8..ca20ac440db3 100644
--- a/sd/source/core/text/textapi.cxx
+++ b/sd/source/core/text/textapi.cxx
@@ -139,7 +139,7 @@ TextApiObject::TextApiObject( std::unique_ptr<TextAPIEditSource> pEditSource )
{
}
-TextApiObject::~TextApiObject() throw()
+TextApiObject::~TextApiObject() noexcept
{
dispose();
}
diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx
index 42f9f5817b5c..bedd492ca2b7 100644
--- a/sd/source/filter/eppt/epptooxml.hxx
+++ b/sd/source/filter/eppt/epptooxml.hxx
@@ -59,7 +59,7 @@ public:
virtual ~PowerPointExport() override;
// from FilterBase
- virtual bool importDocument() throw() override;
+ virtual bool importDocument() noexcept override;
virtual bool exportDocument() override;
// only needed for import, leave them empty, refactor later XmlFilterBase to export and import base?
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index fa1a55ac6b5f..0fad116fd1ea 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -369,7 +369,7 @@ void PowerPointExport::writeDocumentProperties()
exportCustomFragments();
}
-bool PowerPointExport::importDocument() throw()
+bool PowerPointExport::importDocument() noexcept
{
return false;
}
diff --git a/sd/source/filter/html/HtmlOptionsDialog.cxx b/sd/source/filter/html/HtmlOptionsDialog.cxx
index 13e5cea52cca..c7d2f7a8eb09 100644
--- a/sd/source/filter/html/HtmlOptionsDialog.cxx
+++ b/sd/source/filter/html/HtmlOptionsDialog.cxx
@@ -58,8 +58,8 @@ public:
SdHtmlOptionsDialog();
// XInterface
- 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;
// XInitialization
virtual void SAL_CALL initialize( const Sequence< Any > & aArguments ) override;
@@ -89,12 +89,12 @@ SdHtmlOptionsDialog::SdHtmlOptionsDialog() :
{
}
-void SAL_CALL SdHtmlOptionsDialog::acquire() throw()
+void SAL_CALL SdHtmlOptionsDialog::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL SdHtmlOptionsDialog::release() throw()
+void SAL_CALL SdHtmlOptionsDialog::release() noexcept
{
OWeakObject::release();
}
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
index c754cdc84f53..8436e88f9bc5 100644
--- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
@@ -384,14 +384,14 @@ uno::Any SAL_CALL
void SAL_CALL
AccessibleDocumentViewBase::acquire()
- throw ()
+ noexcept
{
AccessibleContextBase::acquire ();
}
void SAL_CALL
AccessibleDocumentViewBase::release()
- throw ()
+ noexcept
{
AccessibleContextBase::release ();
}
diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
index 15f5c24dc963..fb5ddb5d686b 100644
--- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
@@ -403,13 +403,13 @@ uno::Any SAL_CALL
void SAL_CALL
AccessibleDrawDocumentView::acquire()
- throw ()
+ noexcept
{
AccessibleDocumentViewBase::acquire ();
}
void SAL_CALL
AccessibleDrawDocumentView::release()
- throw ()
+ noexcept
{
AccessibleDocumentViewBase::release ();
}
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index 6597faf2c7b9..dab0e22cf251 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -1187,12 +1187,12 @@ Any SAL_CALL MotionPathTag::queryInterface( const css::uno::Type& aType )
return Any();
}
-void SAL_CALL MotionPathTag::acquire() throw ()
+void SAL_CALL MotionPathTag::acquire() noexcept
{
SimpleReferenceComponent::acquire();
}
-void SAL_CALL MotionPathTag::release( ) throw ()
+void SAL_CALL MotionPathTag::release( ) noexcept
{
SimpleReferenceComponent::release();
}
diff --git a/sd/source/ui/animations/motionpathtag.hxx b/sd/source/ui/animations/motionpathtag.hxx
index 8e12ed71bfb5..715ce4268426 100644
--- a/sd/source/ui/animations/motionpathtag.hxx
+++ b/sd/source/ui/animations/motionpathtag.hxx
@@ -86,8 +86,8 @@ public:
virtual void SAL_CALL changesOccurred( const css::util::ChangesEvent& Event ) override;
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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:
virtual void addCustomHandles( SdrHdlList& rHandlerList ) override;
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index d05aba6be19b..02087f853f35 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -749,7 +749,7 @@ const css::uno::Sequence< sal_Int8 >& SdTransferable::getUnoTunnelId()
return theSdTransferableUnoTunnelId.getSeq();
}
-SdTransferable* SdTransferable::getImplementation( const Reference< XInterface >& rxData ) throw()
+SdTransferable* SdTransferable::getImplementation( const Reference< XInterface >& rxData ) noexcept
{
try
{
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index d50dd9dc83d3..4494cf35419a 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -133,7 +133,7 @@ const css::uno::Sequence<sal_Int8>& SdPageObjsTLV::SdPageObjsTransferable::getUn
}
SdPageObjsTLV::SdPageObjsTransferable* SdPageObjsTLV::SdPageObjsTransferable::getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData )
- throw()
+ noexcept
{
try
{
diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx
index 470d9777f7f6..b2ec80bdee68 100644
--- a/sd/source/ui/framework/configuration/ConfigurationController.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx
@@ -101,14 +101,14 @@ ConfigurationController::Lock::~Lock()
//===== ConfigurationController ===============================================
-ConfigurationController::ConfigurationController() throw()
+ConfigurationController::ConfigurationController() noexcept
: ConfigurationControllerInterfaceBase(MutexOwner::maMutex)
, mpImplementation()
, mbIsDisposed(false)
{
}
-ConfigurationController::~ConfigurationController() throw()
+ConfigurationController::~ConfigurationController() noexcept
{
}
diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx
index 088253d5606b..61413ef55dfb 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx
@@ -42,7 +42,7 @@ GenericConfigurationChangeRequest::GenericConfigurationChangeRequest (
throw css::lang::IllegalArgumentException();
}
-GenericConfigurationChangeRequest::~GenericConfigurationChangeRequest() throw()
+GenericConfigurationChangeRequest::~GenericConfigurationChangeRequest() noexcept
{
}
diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
index f46275fb0aaf..7b7fb2bc6bdf 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
@@ -64,7 +64,7 @@ public:
rxResourceId,
const Mode eMode);
- virtual ~GenericConfigurationChangeRequest() throw() override;
+ virtual ~GenericConfigurationChangeRequest() noexcept override;
// XConfigurationChangeOperation
diff --git a/sd/source/ui/framework/configuration/UpdateRequest.cxx b/sd/source/ui/framework/configuration/UpdateRequest.cxx
index ec927e238003..53c9ddd45049 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.cxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.cxx
@@ -25,12 +25,12 @@ using namespace ::com::sun::star::drawing::framework;
namespace sd::framework
{
-UpdateRequest::UpdateRequest() throw()
+UpdateRequest::UpdateRequest() noexcept
: UpdateRequestInterfaceBase(MutexOwner::maMutex)
{
}
-UpdateRequest::~UpdateRequest() throw() {}
+UpdateRequest::~UpdateRequest() noexcept {}
void SAL_CALL UpdateRequest::execute(const Reference<XConfiguration>&)
{
diff --git a/sd/source/ui/framework/configuration/UpdateRequest.hxx b/sd/source/ui/framework/configuration/UpdateRequest.hxx
index 68cdecbd3276..3a53b82ae8d9 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.hxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.hxx
@@ -46,8 +46,8 @@ class UpdateRequest
public UpdateRequestInterfaceBase
{
public:
- UpdateRequest() throw();
- virtual ~UpdateRequest() throw() override;
+ UpdateRequest() noexcept;
+ virtual ~UpdateRequest() noexcept override;
// XConfigurationChangeOperation
diff --git a/sd/source/ui/framework/factories/FrameWindowPane.cxx b/sd/source/ui/framework/factories/FrameWindowPane.cxx
index bd0cd6eeb8f3..1f4b387d88ec 100644
--- a/sd/source/ui/framework/factories/FrameWindowPane.cxx
+++ b/sd/source/ui/framework/factories/FrameWindowPane.cxx
@@ -30,7 +30,7 @@ FrameWindowPane::FrameWindowPane(const Reference<XResourceId>& rxPaneId, vcl::Wi
{
}
-FrameWindowPane::~FrameWindowPane() throw() {}
+FrameWindowPane::~FrameWindowPane() noexcept {}
sal_Bool SAL_CALL FrameWindowPane::isAnchorOnly() { return false; }
diff --git a/sd/source/ui/framework/factories/FrameWindowPane.hxx b/sd/source/ui/framework/factories/FrameWindowPane.hxx
index a3808ee12042..67da37fdff25 100644
--- a/sd/source/ui/framework/factories/FrameWindowPane.hxx
+++ b/sd/source/ui/framework/factories/FrameWindowPane.hxx
@@ -36,7 +36,7 @@ class FrameWindowPane : public Pane
public:
FrameWindowPane(const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId,
vcl::Window* pWindow);
- virtual ~FrameWindowPane() throw() override;
+ virtual ~FrameWindowPane() noexcept override;
/** A frame window typically can (and should) exists on its own without
children, if only to visualize that something (a view) is missing.
diff --git a/sd/source/ui/framework/factories/FullScreenPane.cxx b/sd/source/ui/framework/factories/FullScreenPane.cxx
index 6a0e153b5399..b63da87397b3 100644
--- a/sd/source/ui/framework/factories/FullScreenPane.cxx
+++ b/sd/source/ui/framework/factories/FullScreenPane.cxx
@@ -92,7 +92,7 @@ FullScreenPane::FullScreenPane (
mpWindow->GrabFocus();
}
-FullScreenPane::~FullScreenPane() throw()
+FullScreenPane::~FullScreenPane() noexcept
{
}
diff --git a/sd/source/ui/framework/factories/FullScreenPane.hxx b/sd/source/ui/framework/factories/FullScreenPane.hxx
index 984ca96cfdec..b33804ee5856 100644
--- a/sd/source/ui/framework/factories/FullScreenPane.hxx
+++ b/sd/source/ui/framework/factories/FullScreenPane.hxx
@@ -50,7 +50,7 @@ public:
const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext,
const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId,
const vcl::Window* pViewShellWindow);
- virtual ~FullScreenPane() throw() override;
+ virtual ~FullScreenPane() noexcept override;
virtual void SAL_CALL disposing() override;
diff --git a/sd/source/ui/framework/factories/Pane.cxx b/sd/source/ui/framework/factories/Pane.cxx
index 25d1bcb40e29..4596bd73d6f8 100644
--- a/sd/source/ui/framework/factories/Pane.cxx
+++ b/sd/source/ui/framework/factories/Pane.cxx
@@ -35,7 +35,7 @@ namespace sd::framework {
Pane::Pane (
const Reference<XResourceId>& rxPaneId,
vcl::Window* pWindow)
- throw ()
+ noexcept
: PaneInterfaceBase(MutexOwner::maMutex),
mxPaneId(rxPaneId),
mpWindow(pWindow),
diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index b01074c3ca74..ff79439786d5 100644
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -100,7 +100,7 @@ ModuleController::ModuleController (const Reference<XComponentContext>& rxContex
}
}
-ModuleController::~ModuleController() throw()
+ModuleController::~ModuleController() noexcept
{
}
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 ;
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index 019d00221802..fdd2e0f78378 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -58,7 +58,7 @@ using vcl::EnumContext;
namespace sd {
-DrawController::DrawController (ViewShellBase& rBase) throw()
+DrawController::DrawController (ViewShellBase& rBase) noexcept
: DrawControllerInterfaceBase(&rBase),
BroadcastHelperOwner(SfxBaseController::m_aMutex),
OPropertySetHelper(BroadcastHelperOwner::maBroadcastHelper),
@@ -78,7 +78,7 @@ DrawController::DrawController (ViewShellBase& rBase) throw()
ProvideFrameworkControllers();
}
-DrawController::~DrawController() throw()
+DrawController::~DrawController() noexcept
{
}
@@ -326,7 +326,7 @@ Reference< drawing::XDrawPage > SAL_CALL DrawController::getCurrentPage()
return xPage;
}
-void DrawController::FireVisAreaChanged (const ::tools::Rectangle& rVisArea) throw()
+void DrawController::FireVisAreaChanged (const ::tools::Rectangle& rVisArea) noexcept
{
if( maLastVisArea == rVisArea )
return;
@@ -350,7 +350,7 @@ void DrawController::FireVisAreaChanged (const ::tools::Rectangle& rVisArea) thr
maLastVisArea = rVisArea;
}
-void DrawController::FireSelectionChangeListener() throw()
+void DrawController::FireSelectionChangeListener() noexcept
{
OInterfaceContainerHelper * pLC = BroadcastHelperOwner::maBroadcastHelper.getContainer(
m_aSelectionTypeIdentifier);
@@ -377,7 +377,7 @@ void DrawController::FireSelectionChangeListener() throw()
}
}
-void DrawController::FireChangeEditMode (bool bMasterPageMode) throw()
+void DrawController::FireChangeEditMode (bool bMasterPageMode) noexcept
{
if (bMasterPageMode != mbMasterPageMode )
{
@@ -390,7 +390,7 @@ void DrawController::FireChangeEditMode (bool bMasterPageMode) throw()
}
}
-void DrawController::FireChangeLayerMode (bool bLayerMode) throw()
+void DrawController::FireChangeLayerMode (bool bLayerMode) noexcept
{
if (bLayerMode != mbLayerMode)
{
@@ -403,7 +403,7 @@ void DrawController::FireChangeLayerMode (bool bLayerMode) throw()
}
}
-void DrawController::FireSwitchCurrentPage (SdPage* pNewCurrentPage) throw()
+void DrawController::FireSwitchCurrentPage (SdPage* pNewCurrentPage) noexcept
{
rtl::Reference<SdrPage> pCurrentPage = mpCurrentPage.get();
if (pNewCurrentPage == pCurrentPage.get())
@@ -438,7 +438,7 @@ void DrawController::NotifyAccUpdate()
fire (&nHandle, &aNewValue, &aOldValue, 1, false);
}
-void DrawController::fireChangeLayer( css::uno::Reference< css::drawing::XLayer>* pCurrentLayer ) throw()
+void DrawController::fireChangeLayer( css::uno::Reference< css::drawing::XLayer>* pCurrentLayer ) noexcept
{
if( pCurrentLayer != mpCurrentLayer )
{
@@ -456,7 +456,7 @@ void DrawController::fireChangeLayer( css::uno::Reference< css::drawing::XLayer>
// This method is only called in slide show and outline view
//void DrawController::fireSwitchCurrentPage(String pageName ) throw()
-void DrawController::fireSwitchCurrentPage(sal_Int32 pageIndex ) throw()
+void DrawController::fireSwitchCurrentPage(sal_Int32 pageIndex ) noexcept
{
Any aNewValue;
Any aOldValue;
diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx
index e66c572a70a9..7c0de17775ce 100644
--- a/sd/source/ui/unoidl/SdUnoDrawView.cxx
+++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx
@@ -51,23 +51,23 @@ namespace sd {
SdUnoDrawView::SdUnoDrawView(
DrawViewShell& rViewShell,
- View& rView) throw()
+ View& rView) noexcept
: DrawSubControllerInterfaceBase(m_aMutex),
mrDrawViewShell(rViewShell),
mrView(rView)
{
}
-SdUnoDrawView::~SdUnoDrawView() throw()
+SdUnoDrawView::~SdUnoDrawView() noexcept
{
}
-bool SdUnoDrawView::getMasterPageMode() const throw()
+bool SdUnoDrawView::getMasterPageMode() const noexcept
{
return (mrDrawViewShell.GetEditMode() == EditMode::MasterPage);
}
-void SdUnoDrawView::setMasterPageMode (bool bMasterPageMode) throw()
+void SdUnoDrawView::setMasterPageMode (bool bMasterPageMode) noexcept
{
if ((mrDrawViewShell.GetEditMode() == EditMode::MasterPage) != bMasterPageMode)
{
@@ -77,12 +77,12 @@ void SdUnoDrawView::setMasterPageMode (bool bMasterPageMode) throw()
}
}
-bool SdUnoDrawView::getLayerMode() const throw()
+bool SdUnoDrawView::getLayerMode() const noexcept
{
return mrDrawViewShell.IsLayerModeActive();
}
-void SdUnoDrawView::setLayerMode (bool bLayerMode) throw()
+void SdUnoDrawView::setLayerMode (bool bLayerMode) noexcept
{
if (mrDrawViewShell.IsLayerModeActive() != bLayerMode)
{
@@ -505,7 +505,7 @@ void SdUnoDrawView::SetZoomType ( sal_Int16 nType )
{ &aZoomItem });
}
-SdXImpressDocument* SdUnoDrawView::GetModel() const throw()
+SdXImpressDocument* SdUnoDrawView::GetModel() const noexcept
{
if (mrView.GetDocSh()!=nullptr)
{
diff --git a/sd/source/ui/unoidl/SdUnoOutlineView.cxx b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
index 4d066898a7d3..93c5bcc647cb 100644
--- a/sd/source/ui/unoidl/SdUnoOutlineView.cxx
+++ b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
@@ -33,13 +33,13 @@ using namespace ::com::sun::star::uno;
namespace sd {
SdUnoOutlineView::SdUnoOutlineView(
- OutlineViewShell& rViewShell) throw()
+ OutlineViewShell& rViewShell) noexcept
: DrawSubControllerInterfaceBase(m_aMutex),
mrOutlineViewShell(rViewShell)
{
}
-SdUnoOutlineView::~SdUnoOutlineView() throw()
+SdUnoOutlineView::~SdUnoOutlineView() noexcept
{
}
diff --git a/sd/source/ui/unoidl/SdUnoSlideView.cxx b/sd/source/ui/unoidl/SdUnoSlideView.cxx
index 52141ff6fc8a..1055d51b1cc3 100644
--- a/sd/source/ui/unoidl/SdUnoSlideView.cxx
+++ b/sd/source/ui/unoidl/SdUnoSlideView.cxx
@@ -37,13 +37,13 @@ using namespace ::com::sun::star::uno;
namespace sd {
SdUnoSlideView::SdUnoSlideView (
- slidesorter::SlideSorter& rSlideSorter) throw()
+ slidesorter::SlideSorter& rSlideSorter) noexcept
: DrawSubControllerInterfaceBase(m_aMutex),
mrSlideSorter(rSlideSorter)
{
}
-SdUnoSlideView::~SdUnoSlideView() throw()
+SdUnoSlideView::~SdUnoSlideView() noexcept
{
}
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
index f7265afc3844..666fbacdf623 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -77,8 +77,8 @@ namespace sd
// XInterface
virtual Any SAL_CALL queryInterface( const Type& aType ) 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;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
@@ -126,7 +126,7 @@ namespace sd
}
Reference< XInterface > DocumentSettings_createInstance( SdXImpressDocument* pModel )
- throw ()
+ noexcept
{
DBG_ASSERT( pModel, "I need a model for the DocumentSettings!" );
return static_cast<XWeak*>(new DocumentSettings( pModel ));
@@ -1313,12 +1313,12 @@ Any SAL_CALL DocumentSettings::queryInterface( const Type& aType )
return WeakImplHelper< XPropertySet, XMultiPropertySet, XServiceInfo >::queryInterface( aType );
}
-void SAL_CALL DocumentSettings::acquire( ) throw ()
+void SAL_CALL DocumentSettings::acquire( ) noexcept
{
WeakImplHelper< XPropertySet, XMultiPropertySet, XServiceInfo >::acquire();
}
-void SAL_CALL DocumentSettings::release( ) throw ()
+void SAL_CALL DocumentSettings::release( ) noexcept
{
WeakImplHelper< XPropertySet, XMultiPropertySet, XServiceInfo >::release();
}
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.hxx b/sd/source/ui/unoidl/UnoDocumentSettings.hxx
index 29de91941503..bba3c66b1bff 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.hxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.hxx
@@ -31,7 +31,7 @@ class SdXImpressDocument;
namespace sd
{
css::uno::Reference<css::uno::XInterface>
-DocumentSettings_createInstance(SdXImpressDocument* pDoc) throw();
+DocumentSettings_createInstance(SdXImpressDocument* pDoc) noexcept;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unocpres.cxx b/sd/source/ui/unoidl/unocpres.cxx
index ff169dc9b13d..27716bd781a6 100644
--- a/sd/source/ui/unoidl/unocpres.cxx
+++ b/sd/source/ui/unoidl/unocpres.cxx
@@ -40,21 +40,21 @@ uno::Reference< uno::XInterface > createUnoCustomShow( SdCustomShow* pShow )
return static_cast<cppu::OWeakObject*>(new SdXCustomPresentation( pShow ));
}
-SdXCustomPresentation::SdXCustomPresentation() throw()
+SdXCustomPresentation::SdXCustomPresentation() noexcept
: mpSdCustomShow(nullptr), mpModel(nullptr),
aDisposeListeners( aDisposeContainerMutex ),
bDisposing( false )
{
}
-SdXCustomPresentation::SdXCustomPresentation( SdCustomShow* pShow) throw()
+SdXCustomPresentation::SdXCustomPresentation( SdCustomShow* pShow) noexcept
: mpSdCustomShow(pShow), mpModel(nullptr),
aDisposeListeners( aDisposeContainerMutex ),
bDisposing( false )
{
}
-SdXCustomPresentation::~SdXCustomPresentation() throw()
+SdXCustomPresentation::~SdXCustomPresentation() noexcept
{
}
@@ -260,12 +260,12 @@ void SAL_CALL SdXCustomPresentation::removeEventListener( const uno::Reference<
* public UsrObject *
*===========================================================================*/
-SdXCustomPresentationAccess::SdXCustomPresentationAccess(SdXImpressDocument& rMyModel) throw()
+SdXCustomPresentationAccess::SdXCustomPresentationAccess(SdXImpressDocument& rMyModel) noexcept
: mrModel(rMyModel)
{
}
-SdXCustomPresentationAccess::~SdXCustomPresentationAccess() throw()
+SdXCustomPresentationAccess::~SdXCustomPresentationAccess() noexcept
{
}
@@ -429,7 +429,7 @@ sal_Bool SAL_CALL SdXCustomPresentationAccess::hasElements()
return pList && !pList->empty();
}
-SdCustomShow * SdXCustomPresentationAccess::getSdCustomShow( std::u16string_view rName ) const throw()
+SdCustomShow * SdXCustomPresentationAccess::getSdCustomShow( std::u16string_view rName ) const noexcept
{
sal_uInt32 nIdx = 0;
diff --git a/sd/source/ui/unoidl/unocpres.hxx b/sd/source/ui/unoidl/unocpres.hxx
index 5a9cbad7768d..0ac1c4e74ed3 100644
--- a/sd/source/ui/unoidl/unocpres.hxx
+++ b/sd/source/ui/unoidl/unocpres.hxx
@@ -53,14 +53,14 @@ private:
bool bDisposing;
public:
- SdXCustomPresentation() throw();
- explicit SdXCustomPresentation( SdCustomShow* mpSdCustomShow ) throw();
- virtual ~SdXCustomPresentation() throw() override;
+ SdXCustomPresentation() noexcept;
+ explicit SdXCustomPresentation( SdCustomShow* mpSdCustomShow ) noexcept;
+ virtual ~SdXCustomPresentation() noexcept override;
// internal
- SdCustomShow* GetSdCustomShow() const throw() { return mpSdCustomShow; }
- void SetSdCustomShow( SdCustomShow* pShow ) throw() { mpSdCustomShow = pShow; }
- SdXImpressDocument* GetModel() const throw() { return mpModel; }
+ SdCustomShow* GetSdCustomShow() const noexcept { return mpSdCustomShow; }
+ void SetSdCustomShow( SdCustomShow* pShow ) noexcept { mpSdCustomShow = pShow; }
+ SdXImpressDocument* GetModel() const noexcept { return mpModel; }
// uno helper
UNO3_GETIMPLEMENTATION_DECL(SdXCustomPresentation)
@@ -103,12 +103,12 @@ private:
SdXImpressDocument& mrModel;
// intern
- inline SdCustomShowList* GetCustomShowList() const throw();
- SdCustomShow * getSdCustomShow( std::u16string_view Name ) const throw();
+ inline SdCustomShowList* GetCustomShowList() const noexcept;
+ SdCustomShow * getSdCustomShow( std::u16string_view Name ) const noexcept;
public:
- explicit SdXCustomPresentationAccess(SdXImpressDocument& rMyModel) throw();
- virtual ~SdXCustomPresentationAccess() throw() override;
+ explicit SdXCustomPresentationAccess(SdXImpressDocument& rMyModel) noexcept;
+ virtual ~SdXCustomPresentationAccess() noexcept override;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -136,7 +136,7 @@ public:
virtual sal_Bool SAL_CALL hasElements() override;
};
-inline SdCustomShowList* SdXCustomPresentationAccess::GetCustomShowList() const throw()
+inline SdCustomShowList* SdXCustomPresentationAccess::GetCustomShowList() const noexcept
{
if(mrModel.GetDoc())
return mrModel.GetDoc()->GetCustomShowList();
diff --git a/sd/source/ui/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx
index dabcd24f0af2..eb84735296da 100644
--- a/sd/source/ui/unoidl/unolayer.cxx
+++ b/sd/source/ui/unoidl/unolayer.cxx
@@ -83,7 +83,7 @@ SdLayer::SdLayer(SdLayerManager* pLayerManager_, SdrLayer* pSdrLayer_)
// from view.
}
-SdLayer::~SdLayer() throw()
+SdLayer::~SdLayer() noexcept
{
}
@@ -227,7 +227,7 @@ void SAL_CALL SdLayer::removePropertyChangeListener( const OUString& , const uno
void SAL_CALL SdLayer::addVetoableChangeListener( const OUString& , const uno::Reference< beans::XVetoableChangeListener >& ) {}
void SAL_CALL SdLayer::removeVetoableChangeListener( const OUString& , const uno::Reference< beans::XVetoableChangeListener >& ) {}
-bool SdLayer::get( LayerAttribute what ) throw()
+bool SdLayer::get( LayerAttribute what ) noexcept
{
if(pLayer && mxLayerManager.is())
{
@@ -273,7 +273,7 @@ bool SdLayer::get( LayerAttribute what ) throw()
return false; //TODO: uno::Exception?
}
-void SdLayer::set( LayerAttribute what, bool flag ) throw()
+void SdLayer::set( LayerAttribute what, bool flag ) noexcept
{
if(!(pLayer && mxLayerManager.is()))
return;
@@ -367,13 +367,13 @@ void SAL_CALL SdLayer::removeEventListener( const uno::Reference< lang::XEventLi
}
// class SdLayerManager
-SdLayerManager::SdLayerManager( SdXImpressDocument& rMyModel ) throw()
+SdLayerManager::SdLayerManager( SdXImpressDocument& rMyModel ) noexcept
:mpModel( &rMyModel)
{
mpLayers.reset(new SvUnoWeakContainer);
}
-SdLayerManager::~SdLayerManager() throw()
+SdLayerManager::~SdLayerManager() noexcept
{
dispose();
}
@@ -618,7 +618,7 @@ sal_Bool SAL_CALL SdLayerManager::hasElements()
* If something was changed at the layers, this methods takes care that the
* changes are made visible in sdbcx::View.
*/
-void SdLayerManager::UpdateLayerView() const throw()
+void SdLayerManager::UpdateLayerView() const noexcept
{
if(!mpModel->mpDocShell)
return;
@@ -636,7 +636,7 @@ void SdLayerManager::UpdateLayerView() const throw()
}
/** */
-::sd::View* SdLayerManager::GetView() const throw()
+::sd::View* SdLayerManager::GetView() const noexcept
{
if( mpModel->mpDocShell )
{
diff --git a/sd/source/ui/unoidl/unolayer.hxx b/sd/source/ui/unoidl/unolayer.hxx
index 0a78ba0eca7f..aa7d4891b38b 100644
--- a/sd/source/ui/unoidl/unolayer.hxx
+++ b/sd/source/ui/unoidl/unolayer.hxx
@@ -47,10 +47,10 @@ class SdLayer : public ::cppu::WeakImplHelper< css::drawing::XLayer,
{
public:
SdLayer(SdLayerManager* pLayerManager_, SdrLayer* pSdrLayer_);
- virtual ~SdLayer() throw() override;
+ virtual ~SdLayer() noexcept override;
// intern
- SdrLayer* GetSdrLayer() const throw() { return pLayer; }
+ SdrLayer* GetSdrLayer() const noexcept { return pLayer; }
// uno helper
UNO3_GETIMPLEMENTATION_DECL( SdLayer )
@@ -90,8 +90,8 @@ private:
SdrLayer* pLayer;
const SvxItemPropertySet* pPropSet;
- bool get( LayerAttribute what ) throw();
- void set( LayerAttribute what, bool flag ) throw();
+ bool get( LayerAttribute what ) noexcept;
+ void set( LayerAttribute what, bool flag ) noexcept;
};
@@ -108,8 +108,8 @@ class SdLayerManager : public ::cppu::WeakImplHelper< css::drawing::XLayerManage
friend class SdLayer;
public:
- explicit SdLayerManager( SdXImpressDocument& rMyModel ) throw();
- virtual ~SdLayerManager() throw() override;
+ explicit SdLayerManager( SdXImpressDocument& rMyModel ) noexcept;
+ virtual ~SdLayerManager() noexcept override;
// uno helper
UNO3_GETIMPLEMENTATION_DECL( SdLayerManager )
@@ -161,9 +161,9 @@ private:
SdXImpressDocument* mpModel;
std::unique_ptr<SvUnoWeakContainer> mpLayers;
- ::sd::View* GetView() const throw();
- ::sd::DrawDocShell* GetDocShell() const throw() { return mpModel->mpDocShell; }
- void UpdateLayerView() const throw();
+ ::sd::View* GetView() const noexcept;
+ ::sd::DrawDocShell* GetDocShell() const noexcept { return mpModel->mpDocShell; }
+ void UpdateLayerView() const noexcept;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index cb3569a7689d..0d9e888187cb 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -137,7 +137,7 @@ public:
virtual ~SdUnoForbiddenCharsTable() override;
// SfxListener
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) throw () override;
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) noexcept override;
protected:
virtual void onChange() override;
@@ -169,7 +169,7 @@ SdUnoForbiddenCharsTable::~SdUnoForbiddenCharsTable()
EndListening( *mpModel );
}
-void SdUnoForbiddenCharsTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) throw()
+void SdUnoForbiddenCharsTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) noexcept
{
if (rHint.GetId() != SfxHintId::ThisIsAnSdrHint)
return;
@@ -262,7 +262,7 @@ SdXImpressDocument::SdXImpressDocument(SdDrawDocument* pDoc, bool bClipBoard)
/***********************************************************************
* *
***********************************************************************/
-SdXImpressDocument::~SdXImpressDocument() throw()
+SdXImpressDocument::~SdXImpressDocument() noexcept
{
}
@@ -305,12 +305,12 @@ uno::Any SAL_CALL SdXImpressDocument::queryInterface( const uno::Type & rType )
return aAny;
}
-void SAL_CALL SdXImpressDocument::acquire() throw ( )
+void SAL_CALL SdXImpressDocument::acquire() noexcept
{
SfxBaseModel::acquire();
}
-void SAL_CALL SdXImpressDocument::release() throw ( )
+void SAL_CALL SdXImpressDocument::release() noexcept
{
if (osl_atomic_decrement( &m_refCount ) != 0)
return;
@@ -333,7 +333,7 @@ void SAL_CALL SdXImpressDocument::release() throw ( )
}
// XUnoTunnel
-const css::uno::Sequence< sal_Int8 > & SdXImpressDocument::getUnoTunnelId() throw()
+const css::uno::Sequence< sal_Int8 > & SdXImpressDocument::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSdXImpressDocumentUnoTunnelId;
return theSdXImpressDocumentUnoTunnelId.getSeq();
@@ -548,7 +548,7 @@ SdPage* SdXImpressDocument::InsertSdPage( sal_uInt16 nPage, bool bDuplicate )
return pStandardPage.get();
}
-void SdXImpressDocument::SetModified() throw()
+void SdXImpressDocument::SetModified() noexcept
{
if( mpDoc )
mpDoc->SetChanged();
@@ -2773,12 +2773,12 @@ void SAL_CALL SdXImpressDocument::dispose()
}
-SdDrawPagesAccess::SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw()
+SdDrawPagesAccess::SdDrawPagesAccess( SdXImpressDocument& rMyModel ) noexcept
: mpModel( &rMyModel)
{
}
-SdDrawPagesAccess::~SdDrawPagesAccess() throw()
+SdDrawPagesAccess::~SdDrawPagesAccess() noexcept
{
}
@@ -3013,12 +3013,12 @@ void SAL_CALL SdDrawPagesAccess::removeEventListener( const uno::Reference< lang
}
-SdMasterPagesAccess::SdMasterPagesAccess( SdXImpressDocument& rMyModel ) throw()
+SdMasterPagesAccess::SdMasterPagesAccess( SdXImpressDocument& rMyModel ) noexcept
: mpModel(&rMyModel)
{
}
-SdMasterPagesAccess::~SdMasterPagesAccess() throw()
+SdMasterPagesAccess::~SdMasterPagesAccess() noexcept
{
}
@@ -3244,12 +3244,12 @@ uno::Sequence< OUString > SAL_CALL SdMasterPagesAccess::getSupportedServiceNames
}
-SdDocLinkTargets::SdDocLinkTargets( SdXImpressDocument& rMyModel ) throw()
+SdDocLinkTargets::SdDocLinkTargets( SdXImpressDocument& rMyModel ) noexcept
: mpModel( &rMyModel )
{
}
-SdDocLinkTargets::~SdDocLinkTargets() throw()
+SdDocLinkTargets::~SdDocLinkTargets() noexcept
{
}
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx
index e9e017de3f8d..dff577534ed5 100644
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -268,7 +268,7 @@ SdXShape::SdXShape(SvxShape* pShape, SdXImpressDocument* pModel)
pShape->setMaster( this );
}
-SdXShape::~SdXShape() throw()
+SdXShape::~SdXShape() noexcept
{
}
@@ -283,12 +283,12 @@ uno::Any SAL_CALL SdXShape::queryInterface( const uno::Type & rType )
return mpShape->queryInterface( rType );
}
-void SAL_CALL SdXShape::acquire() throw()
+void SAL_CALL SdXShape::acquire() noexcept
{
mpShape->acquire();
}
-void SAL_CALL SdXShape::release() throw()
+void SAL_CALL SdXShape::release() noexcept
{
mpShape->release();
}
@@ -957,13 +957,13 @@ void SdXShape::SetEmptyPresObj(bool bEmpty)
pObj->SetEmptyPresObj(bEmpty);
}
-bool SdXShape::IsMasterDepend() const throw()
+bool SdXShape::IsMasterDepend() const noexcept
{
SdrObject* pObj = mpShape->GetSdrObject();
return pObj && pObj->GetUserCall() != nullptr;
}
-void SdXShape::SetMasterDepend( bool bDepend ) throw()
+void SdXShape::SetMasterDepend( bool bDepend ) noexcept
{
if( IsMasterDepend() == bDepend )
return;
@@ -1033,7 +1033,7 @@ private:
SdXShape* mpShape;
public:
- explicit SdUnoEventsAccess(SdXShape* pShape) throw();
+ explicit SdUnoEventsAccess(SdXShape* pShape) noexcept;
// XNameReplace
virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) override;
@@ -1075,7 +1075,7 @@ constexpr OUStringLiteral gaStrSpeed( u"Speed" );
constexpr OUStringLiteral gaStrStarBasic( u"StarBasic" );
constexpr OUStringLiteral gaStrScript( u"Script" );
-SdUnoEventsAccess::SdUnoEventsAccess( SdXShape* pShape ) throw()
+SdUnoEventsAccess::SdUnoEventsAccess( SdXShape* pShape ) noexcept
: mpShape( pShape )
{
}
diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx
index 8bb4bcad0815..3f01cbed1a02 100644
--- a/sd/source/ui/unoidl/unoobj.hxx
+++ b/sd/source/ui/unoidl/unoobj.hxx
@@ -57,22 +57,22 @@ private:
bool IsEmptyPresObj() const;
void SetEmptyPresObj(bool bEmpty);
- bool IsMasterDepend() const throw();
- void SetMasterDepend( bool bDepend ) throw();
+ bool IsMasterDepend() const noexcept;
+ void SetMasterDepend( bool bDepend ) noexcept;
OUString GetPlaceholderText() const;
public:
SdXShape(SvxShape* pShape, SdXImpressDocument* pModel);
- virtual ~SdXShape() throw();
+ virtual ~SdXShape() noexcept;
virtual bool queryAggregation( const css::uno::Type & rType, css::uno::Any& aAny ) override;
virtual void dispose() override;
// 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;
// XServiceInfo
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index eed82fceddd8..416370d56ae4 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -321,7 +321,7 @@ static const SvxItemPropertySet* ImplGetMasterPagePropertySet( PageKind ePageKin
return pRet;
}
-const css::uno::Sequence< sal_Int8 > & SdGenericDrawPage::getUnoTunnelId() throw()
+const css::uno::Sequence< sal_Int8 > & SdGenericDrawPage::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSdGenericDrawPageUnoTunnelId;
return theSdGenericDrawPageUnoTunnelId.getSeq();
@@ -354,7 +354,7 @@ SdGenericDrawPage::SdGenericDrawPage(SdXImpressDocument* _pModel, SdPage* pInPag
}
-SdGenericDrawPage::~SdGenericDrawPage() throw()
+SdGenericDrawPage::~SdGenericDrawPage() noexcept
{
}
@@ -1833,14 +1833,14 @@ void SdGenericDrawPage::SetHeight( sal_Int32 nHeight )
}
// XInterface
-void SdGenericDrawPage::release() throw()
+void SdGenericDrawPage::release() noexcept
{
OWeakAggObject::release();
}
// XComponent
-void SdGenericDrawPage::disposing() throw()
+void SdGenericDrawPage::disposing() noexcept
{
mpDocModel = nullptr;
SvxFmDrawPage::disposing();
@@ -1859,13 +1859,13 @@ Reference< XAnimationNode > SAL_CALL SdGenericDrawPage::getAnimationNode()
}
// SdPageLinkTargets
-SdPageLinkTargets::SdPageLinkTargets( SdGenericDrawPage* pUnoPage ) throw()
+SdPageLinkTargets::SdPageLinkTargets( SdGenericDrawPage* pUnoPage ) noexcept
{
mxPage = pUnoPage;
mpUnoPage = pUnoPage;
}
-SdPageLinkTargets::~SdPageLinkTargets() throw()
+SdPageLinkTargets::~SdPageLinkTargets() noexcept
{
}
@@ -1970,7 +1970,7 @@ sal_Bool SAL_CALL SdPageLinkTargets::hasByName( const OUString& aName )
return FindObject( aName ) != nullptr;
}
-SdrObject* SdPageLinkTargets::FindObject( std::u16string_view rName ) const throw()
+SdrObject* SdPageLinkTargets::FindObject( std::u16string_view rName ) const noexcept
{
SdPage* pPage = mpUnoPage->GetPage();
if( pPage == nullptr )
@@ -2014,7 +2014,7 @@ SdDrawPage::SdDrawPage(SdXImpressDocument* pModel, SdPage* pPage)
{
}
-SdDrawPage::~SdDrawPage() throw()
+SdDrawPage::~SdDrawPage() noexcept
{
}
@@ -2038,12 +2038,12 @@ Any SAL_CALL SdDrawPage::queryInterface( const uno::Type & rType )
return SdGenericDrawPage::queryInterface( rType );
}
-void SAL_CALL SdDrawPage::acquire() throw()
+void SAL_CALL SdDrawPage::acquire() noexcept
{
SvxDrawPage::acquire();
}
-void SAL_CALL SdDrawPage::release() throw()
+void SAL_CALL SdDrawPage::release() noexcept
{
SvxDrawPage::release();
}
@@ -2612,7 +2612,7 @@ SdMasterPage::SdMasterPage(SdXImpressDocument* pModel, SdPage* pPage)
{
}
-SdMasterPage::~SdMasterPage() throw()
+SdMasterPage::~SdMasterPage() noexcept
{
}
@@ -2641,12 +2641,12 @@ Any SAL_CALL SdMasterPage::queryInterface( const uno::Type & rType )
return aAny;
}
-void SAL_CALL SdMasterPage::acquire() throw()
+void SAL_CALL SdMasterPage::acquire() noexcept
{
SvxDrawPage::acquire();
}
-void SAL_CALL SdMasterPage::release() throw()
+void SAL_CALL SdMasterPage::release() noexcept
{
SvxDrawPage::release();
}
diff --git a/sd/source/ui/unoidl/unopback.cxx b/sd/source/ui/unoidl/unopback.cxx
index 88ff72ef92a8..7a017b8d531a 100644
--- a/sd/source/ui/unoidl/unopback.cxx
+++ b/sd/source/ui/unoidl/unopback.cxx
@@ -64,7 +64,7 @@ SdUnoPageBackground::SdUnoPageBackground(
}
}
-SdUnoPageBackground::~SdUnoPageBackground() throw()
+SdUnoPageBackground::~SdUnoPageBackground() noexcept
{
SolarMutexGuard g;
@@ -403,7 +403,7 @@ uno::Any SAL_CALL SdUnoPageBackground::getPropertyDefault( const OUString& aProp
}
/** this is used because our property map is not sorted yet */
-const SfxItemPropertyMapEntry* SdUnoPageBackground::getPropertyMapEntry( std::u16string_view rPropertyName ) const throw()
+const SfxItemPropertyMapEntry* SdUnoPageBackground::getPropertyMapEntry( std::u16string_view rPropertyName ) const noexcept
{
return mpPropSet->getPropertyMap().getByName(rPropertyName);
}
diff --git a/sd/source/ui/unoidl/unopback.hxx b/sd/source/ui/unoidl/unopback.hxx
index 4713de8bffc0..cf7bc235773c 100644
--- a/sd/source/ui/unoidl/unopback.hxx
+++ b/sd/source/ui/unoidl/unopback.hxx
@@ -51,10 +51,10 @@ class SdUnoPageBackground final : public ::cppu::WeakImplHelper<
std::unique_ptr<SfxItemSet> mpSet;
SdrModel* mpDoc;
- const SfxItemPropertyMapEntry* getPropertyMapEntry( std::u16string_view rPropertyName ) const throw();
+ const SfxItemPropertyMapEntry* getPropertyMapEntry( std::u16string_view rPropertyName ) const noexcept;
public:
SdUnoPageBackground( SdDrawDocument* pDoc = nullptr, const SfxItemSet* pSet = nullptr);
- virtual ~SdUnoPageBackground() throw() override;
+ virtual ~SdUnoPageBackground() noexcept override;
// internal
void fillItemSet( SdDrawDocument* pDoc, SfxItemSet& rSet );
diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx
index 653c7c4e3a02..f8e1da8f02dc 100644
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -89,12 +89,12 @@ public:
page or a given sdrobj
*/
-SdUnoSearchReplaceShape::SdUnoSearchReplaceShape( drawing::XDrawPage* pPage ) throw()
+SdUnoSearchReplaceShape::SdUnoSearchReplaceShape( drawing::XDrawPage* pPage ) noexcept
: mpPage(pPage)
{
}
-SdUnoSearchReplaceShape::~SdUnoSearchReplaceShape() throw()
+SdUnoSearchReplaceShape::~SdUnoSearchReplaceShape() noexcept
{
}
@@ -285,7 +285,7 @@ uno::Reference< css::uno::XInterface > SAL_CALL SdUnoSearchReplaceShape::findFir
return uno::Reference< uno::XInterface > ();
}
-uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetCurrentShape() const throw()
+uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetCurrentShape() const noexcept
{
uno::Reference< drawing::XShape > xShape;
@@ -346,7 +346,7 @@ uno::Reference< css::uno::XInterface > SAL_CALL SdUnoSearchReplaceShape::findNex
/** this method returns the shape that follows xCurrentShape in the shape collection xShapes.
It steps recursive into groupshapes and returns the xCurrentShape if it is the last
shape in this collection */
-uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetNextShape( const uno::Reference< container::XIndexAccess >& xShapes, const uno::Reference< drawing::XShape >& xCurrentShape ) throw()
+uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetNextShape( const uno::Reference< container::XIndexAccess >& xShapes, const uno::Reference< drawing::XShape >& xCurrentShape ) noexcept
{
uno::Reference< drawing::XShape > xFound;
@@ -564,7 +564,7 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( const uno::
return xFound;
}
-bool SdUnoSearchReplaceShape::Search( const OUString& rText, sal_Int32& nStartPos, sal_Int32& nEndPos, SdUnoSearchReplaceDescriptor* pDescr ) throw()
+bool SdUnoSearchReplaceShape::Search( const OUString& rText, sal_Int32& nStartPos, sal_Int32& nEndPos, SdUnoSearchReplaceDescriptor* pDescr ) noexcept
{
OUString aSearchStr( pDescr->getSearchString() );
OUString aText( rText );
@@ -597,7 +597,7 @@ bool SdUnoSearchReplaceShape::Search( const OUString& rText, sal_Int32& nStartPo
return false;
}
-ESelection SdUnoSearchReplaceShape::GetSelection( const uno::Reference< text::XTextRange >& xTextRange ) throw()
+ESelection SdUnoSearchReplaceShape::GetSelection( const uno::Reference< text::XTextRange >& xTextRange ) noexcept
{
ESelection aSel;
SvxUnoTextRangeBase* pRange = comphelper::getUnoTunnelImplementation<SvxUnoTextRangeBase>( xTextRange );
@@ -608,7 +608,7 @@ ESelection SdUnoSearchReplaceShape::GetSelection( const uno::Reference< text::XT
return aSel;
}
-uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetShape( const uno::Reference< text::XTextRange >& xTextRange ) throw()
+uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetShape( const uno::Reference< text::XTextRange >& xTextRange ) noexcept
{
uno::Reference< drawing::XShape > xShape;
@@ -652,7 +652,7 @@ SdUnoSearchReplaceDescriptor::SdUnoSearchReplaceDescriptor()
mbWords = false;
}
-SdUnoSearchReplaceDescriptor::~SdUnoSearchReplaceDescriptor() throw()
+SdUnoSearchReplaceDescriptor::~SdUnoSearchReplaceDescriptor() noexcept
{
}
@@ -745,12 +745,12 @@ void SAL_CALL SdUnoSearchReplaceDescriptor::removeVetoableChangeListener( const
/* ================================================================= */
-SdUnoFindAllAccess::SdUnoFindAllAccess( uno::Sequence< uno::Reference< uno::XInterface > > const & rSequence ) throw()
+SdUnoFindAllAccess::SdUnoFindAllAccess( uno::Sequence< uno::Reference< uno::XInterface > > const & rSequence ) noexcept
:maSequence( rSequence )
{
}
-SdUnoFindAllAccess::~SdUnoFindAllAccess() throw()
+SdUnoFindAllAccess::~SdUnoFindAllAccess() noexcept
{
}
diff --git a/sd/source/ui/unoidl/unowcntr.cxx b/sd/source/ui/unoidl/unowcntr.cxx
index bff99b1b3530..1079477ef379 100644
--- a/sd/source/ui/unoidl/unowcntr.cxx
+++ b/sd/source/ui/unoidl/unowcntr.cxx
@@ -23,16 +23,16 @@
using namespace ::com::sun::star;
-SvUnoWeakContainer::SvUnoWeakContainer() throw()
+SvUnoWeakContainer::SvUnoWeakContainer() noexcept
{
}
-SvUnoWeakContainer::~SvUnoWeakContainer() throw()
+SvUnoWeakContainer::~SvUnoWeakContainer() noexcept
{
}
/** inserts the given ref into this container */
-void SvUnoWeakContainer::insert( const uno::WeakReference< uno::XInterface >& xRef ) throw()
+void SvUnoWeakContainer::insert( const uno::WeakReference< uno::XInterface >& xRef ) noexcept
{
for ( auto it = maVector.begin(); it != maVector.end(); )
{
diff --git a/sd/source/ui/unoidl/unowcntr.hxx b/sd/source/ui/unoidl/unowcntr.hxx
index 904424b407ce..a863f09291eb 100644
--- a/sd/source/ui/unoidl/unowcntr.hxx
+++ b/sd/source/ui/unoidl/unowcntr.hxx
@@ -30,11 +30,11 @@ private:
std::vector< css::uno::WeakReference< css::uno::XInterface > > maVector;
public:
- SvUnoWeakContainer() throw();
- ~SvUnoWeakContainer() throw();
+ SvUnoWeakContainer() noexcept;
+ ~SvUnoWeakContainer() noexcept;
/** inserts the given ref into this container */
- void insert( const css::uno::WeakReference< css::uno::XInterface >& xRef ) throw();
+ void insert( const css::uno::WeakReference< css::uno::XInterface >& xRef ) noexcept;
/** searches the container for a ref that returns true on the given
search function
diff --git a/sd/source/ui/view/WindowUpdater.cxx b/sd/source/ui/view/WindowUpdater.cxx
index 2726833637ee..410a0470f68d 100644
--- a/sd/source/ui/view/WindowUpdater.cxx
+++ b/sd/source/ui/view/WindowUpdater.cxx
@@ -34,7 +34,7 @@ WindowUpdater::WindowUpdater()
maCTLOptions.AddListener(this);
}
-WindowUpdater::~WindowUpdater() throw ()
+WindowUpdater::~WindowUpdater() noexcept
{
maCTLOptions.RemoveListener(this);
}
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index b2ffe23f06eb..3a032af5878c 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -61,16 +61,16 @@ class StringEmitContext : public EmitContext
public:
StringEmitContext() : EmitContext(), m_aBuf(256) {}
- virtual bool write( const void* pBuf, unsigned int nLen ) throw() override
+ virtual bool write( const void* pBuf, unsigned int nLen ) noexcept override
{
m_aBuf.append( static_cast<const char*>(pBuf), nLen );
return true;
}
- virtual unsigned int getCurPos() throw() override { return m_aBuf.getLength(); }
- virtual bool copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen ) throw() override
+ virtual unsigned int getCurPos() noexcept override { return m_aBuf.getLength(); }
+ virtual bool copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen ) noexcept override
{ return (nOrigOffset+nLen < o3tl::make_unsigned(m_aBuf.getLength()) ) &&
write( m_aBuf.getStr() + nOrigOffset, nLen ); }
- virtual unsigned int readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) throw() override
+ virtual unsigned int readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) noexcept override
{
if( nOrigOffset+nLen < o3tl::make_unsigned(m_aBuf.getLength()) )
{
diff --git a/sdext/source/pdfimport/test/pdfunzip.cxx b/sdext/source/pdfimport/test/pdfunzip.cxx
index d206c981f356..3e2e614a9327 100644
--- a/sdext/source/pdfimport/test/pdfunzip.cxx
+++ b/sdext/source/pdfimport/test/pdfunzip.cxx
@@ -68,10 +68,10 @@ class FileEmitContext : public EmitContext
FileEmitContext( const char* pFileName, const char* pOrigName, const PDFContainer* pTop );
virtual ~FileEmitContext() override;
- virtual bool write( const void* pBuf, unsigned int nLen ) throw() override;
- virtual unsigned int getCurPos() throw() override;
- virtual bool copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen ) throw() override;
- virtual unsigned int readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) throw() override;
+ virtual bool write( const void* pBuf, unsigned int nLen ) noexcept override;
+ virtual unsigned int getCurPos() noexcept override;
+ virtual bool copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen ) noexcept override;
+ virtual unsigned int readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) noexcept override;
};
}
@@ -154,7 +154,7 @@ void FileEmitContext::openReadFile( const char* pInFile )
m_nReadLen = static_cast<unsigned int>(nFileSize);
}
-bool FileEmitContext::write( const void* pBuf, unsigned int nLen ) throw()
+bool FileEmitContext::write( const void* pBuf, unsigned int nLen ) noexcept
{
if( ! m_aHandle )
return false;
@@ -165,7 +165,7 @@ bool FileEmitContext::write( const void* pBuf, unsigned int nLen ) throw()
&& nWrite == nWritten;
}
-unsigned int FileEmitContext::getCurPos() throw()
+unsigned int FileEmitContext::getCurPos() noexcept
{
sal_uInt64 nFileSize = 0;
if( m_aHandle )
@@ -176,7 +176,7 @@ unsigned int FileEmitContext::getCurPos() throw()
return static_cast<unsigned int>(nFileSize);
}
-bool FileEmitContext::copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen ) throw()
+bool FileEmitContext::copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen ) noexcept
{
if( nOrigOffset + nLen > m_nReadLen )
return false;
@@ -202,7 +202,7 @@ bool FileEmitContext::copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen
return bRet;
}
-unsigned int FileEmitContext::readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) throw()
+unsigned int FileEmitContext::readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) noexcept
{
if( nOrigOffset + nLen > m_nReadLen )
return 0;
diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx
index a8cbe92d33c1..e723ad9efe31 100644
--- a/sfx2/source/control/thumbnailviewacc.cxx
+++ b/sfx2/source/control/thumbnailviewacc.cxx
@@ -53,7 +53,7 @@ const uno::Sequence< sal_Int8 >& ThumbnailViewAcc::getUnoTunnelId()
}
ThumbnailViewAcc* ThumbnailViewAcc::getImplementation( const uno::Reference< uno::XInterface >& rxData )
- throw()
+ noexcept
{
try
{
@@ -553,7 +553,7 @@ const uno::Sequence< sal_Int8 >& ThumbnailViewItemAcc::getUnoTunnelId()
}
ThumbnailViewItemAcc* ThumbnailViewItemAcc::getImplementation( const uno::Reference< uno::XInterface >& rxData )
- throw()
+ noexcept
{
try
{
diff --git a/sfx2/source/control/thumbnailviewacc.hxx b/sfx2/source/control/thumbnailviewacc.hxx
index 2a56fa16b36a..48c7d70bb79c 100644
--- a/sfx2/source/control/thumbnailviewacc.hxx
+++ b/sfx2/source/control/thumbnailviewacc.hxx
@@ -62,7 +62,7 @@ public:
bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); }
- static ThumbnailViewAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) throw();
+ static ThumbnailViewAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) noexcept;
public:
/** Called by the corresponding ValueSet when it gets the focus.
@@ -175,7 +175,7 @@ public:
void ParentDestroyed();
- static ThumbnailViewItemAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) throw();
+ static ThumbnailViewItemAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) noexcept;
public:
diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx
index c748727fb4f4..8863a752ed45 100644
--- a/sfx2/source/dialog/backingcomp.cxx
+++ b/sfx2/source/dialog/backingcomp.cxx
@@ -82,8 +82,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XTypeProvide
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override;
@@ -186,7 +186,7 @@ css::uno::Any SAL_CALL BackingComp::queryInterface( /*IN*/ const css::uno::Type&
*/
void SAL_CALL BackingComp::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -196,7 +196,7 @@ void SAL_CALL BackingComp::acquire()
*/
void SAL_CALL BackingComp::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index a02010e0b3a7..fd31efd621a9 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -435,7 +435,7 @@ getQualifier(const char* i_name) {
// get namespace for standard qualified names
// NB: only call this with statically known strings!
-OUString getNameSpace(const char* i_qname) throw ()
+OUString getNameSpace(const char* i_qname) noexcept
{
assert(i_qname);
OUString ns;
@@ -451,7 +451,7 @@ OUString getNameSpace(const char* i_qname) throw ()
bool
textToDateOrDateTime(css::util::Date & io_rd, css::util::DateTime & io_rdt,
bool & o_rIsDateTime, std::optional<sal_Int16> & o_rTimeZone,
- const OUString& i_text) throw ()
+ const OUString& i_text) noexcept
{
if (::sax::Converter::parseDateOrDateTime(
&io_rd, io_rdt, o_rIsDateTime, &o_rTimeZone, i_text)) {
@@ -464,7 +464,7 @@ textToDateOrDateTime(css::util::Date & io_rd, css::util::DateTime & io_rdt,
// convert string to date/time
bool
-textToDateTime(css::util::DateTime & io_rdt, const OUString& i_text) throw ()
+textToDateTime(css::util::DateTime & io_rdt, const OUString& i_text) noexcept
{
if (::sax::Converter::parseDateTime(io_rdt, i_text)) {
return true;
@@ -476,7 +476,7 @@ textToDateTime(css::util::DateTime & io_rdt, const OUString& i_text) throw ()
// convert string to date/time with default return value
css::util::DateTime
-textToDateTimeDefault(const OUString& i_text) throw ()
+textToDateTimeDefault(const OUString& i_text) noexcept
{
css::util::DateTime dt;
static_cast<void> (textToDateTime(dt, i_text));
@@ -487,7 +487,7 @@ textToDateTimeDefault(const OUString& i_text) throw ()
// convert date to string
OUString
dateToText(css::util::Date const& i_rd,
- sal_Int16 const*const pTimeZone) throw ()
+ sal_Int16 const*const pTimeZone) noexcept
{
if (isValidDate(i_rd)) {
OUStringBuffer buf;
@@ -502,7 +502,7 @@ dateToText(css::util::Date const& i_rd,
// convert date/time to string
OUString
dateTimeToText(css::util::DateTime const& i_rdt,
- sal_Int16 const*const pTimeZone = nullptr) throw ()
+ sal_Int16 const*const pTimeZone = nullptr) noexcept
{
if (isValidDateTime(i_rdt)) {
OUStringBuffer buf(32);
@@ -516,7 +516,7 @@ dateTimeToText(css::util::DateTime const& i_rdt,
// convert string to duration
bool
textToDuration(css::util::Duration& io_rDur, OUString const& i_rText)
-throw ()
+noexcept
{
if (::sax::Converter::convertDuration(io_rDur, i_rText)) {
return true;
@@ -526,7 +526,7 @@ throw ()
}
}
-sal_Int32 textToDuration(OUString const& i_rText) throw ()
+sal_Int32 textToDuration(OUString const& i_rText) noexcept
{
css::util::Duration d;
if (textToDuration(d, i_rText)) {
@@ -540,7 +540,7 @@ sal_Int32 textToDuration(OUString const& i_rText) throw ()
}
// convert duration to string
-OUString durationToText(css::util::Duration const& i_rDur) throw ()
+OUString durationToText(css::util::Duration const& i_rDur) noexcept
{
OUStringBuffer buf;
::sax::Converter::convertDuration(buf, i_rDur);
@@ -548,7 +548,7 @@ OUString durationToText(css::util::Duration const& i_rDur) throw ()
}
// convert duration to string
-OUString durationToText(sal_Int32 i_value) throw ()
+OUString durationToText(sal_Int32 i_value) noexcept
{
css::util::Duration ud;
ud.Days = static_cast<sal_Int16>(i_value / (24 * 3600));
diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx
index 47da49774c4d..45102c961c99 100644
--- a/sfx2/source/doc/docundomanager.cxx
+++ b/sfx2/source/doc/docundomanager.cxx
@@ -224,14 +224,14 @@ namespace sfx2
}
- void SAL_CALL DocumentUndoManager::acquire() throw()
+ void SAL_CALL DocumentUndoManager::acquire() noexcept
{
OWeakObject::acquire();
SfxModelSubComponent::acquireModel();
}
- void SAL_CALL DocumentUndoManager::release() throw()
+ void SAL_CALL DocumentUndoManager::release() noexcept
{
SfxModelSubComponent::releaseModel();
OWeakObject::release();
diff --git a/sfx2/source/inc/docundomanager.hxx b/sfx2/source/inc/docundomanager.hxx
index ce38680e264f..9145e5967d51 100644
--- a/sfx2/source/inc/docundomanager.hxx
+++ b/sfx2/source/inc/docundomanager.hxx
@@ -115,8 +115,8 @@ namespace sfx2
bool isInContext() const;
// XInterface
- 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;
// XUndoManager
virtual void SAL_CALL enterUndoContext( const OUString& i_title ) override;
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 10807c70a26d..b5f37270e9d9 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -158,12 +158,12 @@ SfxStatusBarControl::~SfxStatusBarControl()
// XInterface
-void SAL_CALL SfxStatusBarControl::acquire() throw()
+void SAL_CALL SfxStatusBarControl::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL SfxStatusBarControl::release() throw()
+void SAL_CALL SfxStatusBarControl::release() noexcept
{
OWeakObject::release();
}
diff --git a/starmath/inc/mathml/mathmlexport.hxx b/starmath/inc/mathml/mathmlexport.hxx
index eae2dd4d7423..b7c054440c8a 100644
--- a/starmath/inc/mathml/mathmlexport.hxx
+++ b/starmath/inc/mathml/mathmlexport.hxx
@@ -110,7 +110,7 @@ public:
// XUnoTunnel
sal_Int64 SAL_CALL getSomething(const css::uno::Sequence<sal_Int8>& rId) override;
- static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() throw();
+ static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() noexcept;
void ExportAutoStyles_() override {}
void ExportMasterStyles_() override {}
diff --git a/starmath/inc/mathml/mathmlimport.hxx b/starmath/inc/mathml/mathmlimport.hxx
index 9b3fe5c88b0b..4e5444945f7e 100644
--- a/starmath/inc/mathml/mathmlimport.hxx
+++ b/starmath/inc/mathml/mathmlimport.hxx
@@ -81,11 +81,11 @@ class SmXMLImport : public SvXMLImport
public:
SmXMLImport(const css::uno::Reference<css::uno::XComponentContext>& rContext,
OUString const& implementationName, SvXMLImportFlags nImportFlags);
- virtual ~SmXMLImport() throw() override;
+ virtual ~SmXMLImport() noexcept override;
// XUnoTunnel
sal_Int64 SAL_CALL getSomething(const css::uno::Sequence<sal_Int8>& rId) override;
- static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() throw();
+ static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() noexcept;
void SAL_CALL endDocument() override;
diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx
index b54c762ac125..c01eaec1e8fb 100644
--- a/starmath/inc/unomodel.hxx
+++ b/starmath/inc/unomodel.hxx
@@ -54,12 +54,12 @@ class SmModel final : public SfxBaseModel,
virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, css::uno::Any* pValue ) override;
public:
explicit SmModel( SfxObjectShell *pObjSh );
- virtual ~SmModel() throw () override;
+ virtual ~SmModel() noexcept override;
//XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
diff --git a/starmath/source/mathml/mathmlexport.cxx b/starmath/source/mathml/mathmlexport.cxx
index 7338e7a400a2..450b81bc2f59 100644
--- a/starmath/source/mathml/mathmlexport.cxx
+++ b/starmath/source/mathml/mathmlexport.cxx
@@ -329,7 +329,7 @@ sal_Int64 SAL_CALL SmXMLExport::getSomething(const uno::Sequence<sal_Int8>& rId)
return SvXMLExport::getSomething(rId);
}
-const uno::Sequence<sal_Int8>& SmXMLExport::getUnoTunnelId() throw()
+const uno::Sequence<sal_Int8>& SmXMLExport::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSmXMLExportUnoTunnelId;
return theSmXMLExportUnoTunnelId.getSeq();
diff --git a/starmath/source/mathml/mathmlimport.cxx b/starmath/source/mathml/mathmlimport.cxx
index 6b7659074005..270e6911281c 100644
--- a/starmath/source/mathml/mathmlimport.cxx
+++ b/starmath/source/mathml/mathmlimport.cxx
@@ -406,7 +406,7 @@ SmXMLImport::SmXMLImport(const css::uno::Reference<css::uno::XComponentContext>&
{
}
-const uno::Sequence<sal_Int8>& SmXMLImport::getUnoTunnelId() throw()
+const uno::Sequence<sal_Int8>& SmXMLImport::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSmXMLImportUnoTunnelId;
return theSmXMLImportUnoTunnelId.getSeq();
@@ -2573,7 +2573,7 @@ SmXMLImport::CreateFastContext(sal_Int32 nElement,
return pContext;
}
-SmXMLImport::~SmXMLImport() throw() { cleanup(); }
+SmXMLImport::~SmXMLImport() noexcept { cleanup(); }
void SmXMLImport::SetViewSettings(const Sequence<PropertyValue>& aViewProps)
{
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index de29e8260812..20bc4f35280f 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -312,7 +312,7 @@ SmModel::SmModel( SfxObjectShell *pObjSh )
{
}
-SmModel::~SmModel() throw ()
+SmModel::~SmModel() noexcept
{
}
@@ -333,12 +333,12 @@ uno::Any SAL_CALL SmModel::queryInterface( const uno::Type& rType )
return aRet;
}
-void SAL_CALL SmModel::acquire() throw()
+void SAL_CALL SmModel::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL SmModel::release() throw()
+void SAL_CALL SmModel::release() noexcept
{
OWeakObject::release();
}
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx
index 02742fdb660e..e322f87aa62e 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -104,8 +104,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;
// some XComponent part from OComponentHelper
virtual void SAL_CALL dispose() override;
@@ -271,8 +271,8 @@ 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 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;
diff --git a/stoc/source/corereflection/crarray.cxx b/stoc/source/corereflection/crarray.cxx
index ad3a4663fc3a..8a402c489899 100644
--- a/stoc/source/corereflection/crarray.cxx
+++ b/stoc/source/corereflection/crarray.cxx
@@ -39,12 +39,12 @@ Any ArrayIdlClassImpl::queryInterface( const Type & rType )
return (aRet.hasValue() ? aRet : IdlClassImpl::queryInterface( rType ));
}
-void ArrayIdlClassImpl::acquire() throw()
+void ArrayIdlClassImpl::acquire() noexcept
{
IdlClassImpl::acquire();
}
-void ArrayIdlClassImpl::release() throw()
+void ArrayIdlClassImpl::release() noexcept
{
IdlClassImpl::release();
}
diff --git a/stoc/source/corereflection/crcomp.cxx b/stoc/source/corereflection/crcomp.cxx
index da4ad43b83e6..ae15991ad017 100644
--- a/stoc/source/corereflection/crcomp.cxx
+++ b/stoc/source/corereflection/crcomp.cxx
@@ -52,8 +52,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const 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 Sequence< Type > SAL_CALL getTypes() override;
@@ -83,12 +83,12 @@ Any IdlCompFieldImpl::queryInterface( const Type & rType )
return (aRet.hasValue() ? aRet : IdlMemberImpl::queryInterface( rType ));
}
-void IdlCompFieldImpl::acquire() throw()
+void IdlCompFieldImpl::acquire() noexcept
{
IdlMemberImpl::acquire();
}
-void IdlCompFieldImpl::release() throw()
+void IdlCompFieldImpl::release() noexcept
{
IdlMemberImpl::release();
}
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index e19869e5d9df..1f53572ff0c6 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -68,12 +68,12 @@ Any IdlReflectionServiceImpl::queryInterface( const Type & rType )
return (aRet.hasValue() ? aRet : OComponentHelper::queryInterface( rType ));
}
-void IdlReflectionServiceImpl::acquire() throw()
+void IdlReflectionServiceImpl::acquire() noexcept
{
OComponentHelper::acquire();
}
-void IdlReflectionServiceImpl::release() throw()
+void IdlReflectionServiceImpl::release() noexcept
{
OComponentHelper::release();
}
diff --git a/stoc/source/corereflection/crenum.cxx b/stoc/source/corereflection/crenum.cxx
index a225a2b63f25..ea441fc975fd 100644
--- a/stoc/source/corereflection/crenum.cxx
+++ b/stoc/source/corereflection/crenum.cxx
@@ -49,8 +49,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const 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 Sequence< Type > SAL_CALL getTypes() override;
@@ -80,12 +80,12 @@ Any IdlEnumFieldImpl::queryInterface( const Type & rType )
return (aRet.hasValue() ? aRet : IdlMemberImpl::queryInterface( rType ));
}
-void IdlEnumFieldImpl::acquire() throw()
+void IdlEnumFieldImpl::acquire() noexcept
{
IdlMemberImpl::acquire();
}
-void IdlEnumFieldImpl::release() throw()
+void IdlEnumFieldImpl::release() noexcept
{
IdlMemberImpl::release();
}
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx
index f958994d7b1d..07aca5fdb438 100644
--- a/stoc/source/corereflection/criface.cxx
+++ b/stoc/source/corereflection/criface.cxx
@@ -73,8 +73,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const 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 Sequence< Type > SAL_CALL getTypes() override;
@@ -108,12 +108,12 @@ Any IdlAttributeFieldImpl::queryInterface( const Type & rType )
return (aRet.hasValue() ? aRet : IdlMemberImpl::queryInterface( rType ));
}
-void IdlAttributeFieldImpl::acquire() throw()
+void IdlAttributeFieldImpl::acquire() noexcept
{
IdlMemberImpl::acquire();
}
-void IdlAttributeFieldImpl::release() throw()
+void IdlAttributeFieldImpl::release() noexcept
{
IdlMemberImpl::release();
}
@@ -337,8 +337,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const 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 Sequence< Type > SAL_CALL getTypes() override;
@@ -366,12 +366,12 @@ Any IdlInterfaceMethodImpl::queryInterface( const Type & rType )
return (aRet.hasValue() ? aRet : IdlMemberImpl::queryInterface( rType ));
}
-void IdlInterfaceMethodImpl::acquire() throw()
+void IdlInterfaceMethodImpl::acquire() noexcept
{
IdlMemberImpl::acquire();
}
-void IdlInterfaceMethodImpl::release() throw()
+void IdlInterfaceMethodImpl::release() noexcept
{
IdlMemberImpl::release();
}
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index c7c0fd638175..7c5fc0f224dd 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -710,8 +710,8 @@ public:
// Methods from XInterface
virtual Any SAL_CALL queryInterface( const Type& rType ) override;
- virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OWeakObject::release(); }
// Methods from XPropertySet
virtual Reference<XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index bffd68ab99de..4874c20750ce 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -86,8 +86,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const Type & aType) override;
- virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OWeakObject::release(); }
// XTypeProvider
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 35fc0cb9c7d9..a2ed761ef35a 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -383,7 +383,7 @@ void getJavaPropsFromSafetySettings(
xConfRegistry_simple->close();
}
-void setTimeZone(stoc_javavm::JVM * pjvm) throw() {
+void setTimeZone(stoc_javavm::JVM * pjvm) noexcept {
/* A Bug in the Java function
** struct Hjava_util_Properties * java_lang_System_initProperties(
** struct Hjava_lang_System *this,
diff --git a/stoc/source/javavm/jvmargs.cxx b/stoc/source/javavm/jvmargs.cxx
index a7110841565b..f98f22ec0cd1 100644
--- a/stoc/source/javavm/jvmargs.cxx
+++ b/stoc/source/javavm/jvmargs.cxx
@@ -22,7 +22,7 @@
namespace stoc_javavm
{
-JVM::JVM() throw() //: _enabled(sal_False)
+JVM::JVM() noexcept //: _enabled(sal_False)
{
}
diff --git a/stoc/source/javavm/jvmargs.hxx b/stoc/source/javavm/jvmargs.hxx
index 8def483f4f74..adc41ffa158b 100644
--- a/stoc/source/javavm/jvmargs.hxx
+++ b/stoc/source/javavm/jvmargs.hxx
@@ -46,7 +46,7 @@ namespace stoc_javavm {
::std::vector<OUString> _props;
public:
- JVM() throw();
+ JVM() noexcept;
void pushProp(const OUString & uString);
const ::std::vector< OUString> & getProperties() const { return _props;}
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx
index 65af28e13d71..5f4d5e2541bf 100644
--- a/svl/source/fsstor/fsstorage.cxx
+++ b/svl/source/fsstor/fsstorage.cxx
@@ -212,12 +212,12 @@ uno::Any SAL_CALL FSStorage::queryInterface( const uno::Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL FSStorage::acquire() throw()
+void SAL_CALL FSStorage::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL FSStorage::release() throw()
+void SAL_CALL FSStorage::release() noexcept
{
OWeakObject::release();
}
diff --git a/svl/source/fsstor/fsstorage.hxx b/svl/source/fsstor/fsstorage.hxx
index d7d6d571a620..800d7d577489 100644
--- a/svl/source/fsstor/fsstorage.hxx
+++ b/svl/source/fsstor/fsstorage.hxx
@@ -68,9 +68,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/svl/source/fsstor/oinputstreamcontainer.cxx b/svl/source/fsstor/oinputstreamcontainer.cxx
index b62aca14c9b2..bb2ec91f8542 100644
--- a/svl/source/fsstor/oinputstreamcontainer.cxx
+++ b/svl/source/fsstor/oinputstreamcontainer.cxx
@@ -79,13 +79,13 @@ uno::Any SAL_CALL OFSInputStreamContainer::queryInterface( const uno::Type& rTyp
}
void SAL_CALL OFSInputStreamContainer::acquire()
- throw()
+ noexcept
{
::cppu::OWeakObject::acquire();
}
void SAL_CALL OFSInputStreamContainer::release()
- throw()
+ noexcept
{
::cppu::OWeakObject::release();
}
diff --git a/svl/source/fsstor/oinputstreamcontainer.hxx b/svl/source/fsstor/oinputstreamcontainer.hxx
index 9d9a17a79302..a3bd9bcc1fb6 100644
--- a/svl/source/fsstor/oinputstreamcontainer.hxx
+++ b/svl/source/fsstor/oinputstreamcontainer.hxx
@@ -53,8 +53,8 @@ public:
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() 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;
// XInputStream
virtual sal_Int32 SAL_CALL readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) override;
diff --git a/svl/source/fsstor/ostreamcontainer.cxx b/svl/source/fsstor/ostreamcontainer.cxx
index ef74bacbe7b0..e5ec14fd9388 100644
--- a/svl/source/fsstor/ostreamcontainer.cxx
+++ b/svl/source/fsstor/ostreamcontainer.cxx
@@ -121,13 +121,13 @@ uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
}
void SAL_CALL OFSStreamContainer::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL OFSStreamContainer::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/svl/source/fsstor/ostreamcontainer.hxx b/svl/source/fsstor/ostreamcontainer.hxx
index 543a2049c306..fa461e955a7d 100644
--- a/svl/source/fsstor/ostreamcontainer.hxx
+++ b/svl/source/fsstor/ostreamcontainer.hxx
@@ -64,8 +64,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;
diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx
index f5418dbe169b..1c4f2ffb8465 100644
--- a/svl/source/items/itemprop.cxx
+++ b/svl/source/items/itemprop.cxx
@@ -197,7 +197,7 @@ void SfxItemPropertySet::setPropertyValue( const OUString &rName,
}
PropertyState SfxItemPropertySet::getPropertyState(const SfxItemPropertyMapEntry& rEntry, const SfxItemSet& rSet) const
- throw()
+ noexcept
{
PropertyState eRet = PropertyState_DIRECT_VALUE;
sal_uInt16 nWhich = rEntry.nWID;
diff --git a/svl/source/numbers/supservs.hxx b/svl/source/numbers/supservs.hxx
index 64ed4b3fe943..7ab580650fe7 100644
--- a/svl/source/numbers/supservs.hxx
+++ b/svl/source/numbers/supservs.hxx
@@ -48,8 +48,8 @@ public:
virtual ~SvNumberFormatsSupplierServiceObject() override;
// XInterface
- virtual void SAL_CALL acquire() throw() override { SvNumberFormatsSupplierObj::acquire(); }
- virtual void SAL_CALL release() throw() override { SvNumberFormatsSupplierObj::release(); }
+ virtual void SAL_CALL acquire() noexcept override { SvNumberFormatsSupplierObj::acquire(); }
+ virtual void SAL_CALL release() noexcept override { SvNumberFormatsSupplierObj::release(); }
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) override
{ return SvNumberFormatsSupplierObj::queryInterface(_rType); }
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx
index 76fd5f4cf83b..a6364d784064 100644
--- a/svtools/source/control/valueacc.cxx
+++ b/svtools/source/control/valueacc.cxx
@@ -85,7 +85,7 @@ const uno::Sequence< sal_Int8 >& ValueItemAcc::getUnoTunnelId()
ValueItemAcc* ValueItemAcc::getImplementation( const uno::Reference< uno::XInterface >& rxData )
- throw()
+ noexcept
{
try
{
@@ -470,7 +470,7 @@ const uno::Sequence< sal_Int8 >& ValueSetAcc::getUnoTunnelId()
ValueSetAcc* ValueSetAcc::getImplementation( const uno::Reference< uno::XInterface >& rxData )
- throw()
+ noexcept
{
try
{
diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx
index 5f874acb99db..b980cb1f5c90 100644
--- a/svtools/source/control/valueimp.hxx
+++ b/svtools/source/control/valueimp.hxx
@@ -88,7 +88,7 @@ public:
void FireAccessibleEvent( short nEventId, const css::uno::Any& rOldValue, const css::uno::Any& rNewValue );
bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); }
- static ValueSetAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) throw();
+ static ValueSetAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) noexcept;
public:
@@ -212,7 +212,7 @@ public:
void FireAccessibleEvent( short nEventId, const css::uno::Any& rOldValue, const css::uno::Any& rNewValue );
- static ValueItemAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) throw();
+ static ValueItemAcc* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) noexcept;
public:
diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx
index cfd88abb27f2..3848f166f5e2 100644
--- a/svtools/source/filter/SvFilterOptionsDialog.cxx
+++ b/svtools/source/filter/SvFilterOptionsDialog.cxx
@@ -72,8 +72,8 @@ public:
explicit SvFilterOptionsDialog( const uno::Reference< uno::XComponentContext >& _rxORB );
// XInterface
- 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;
// XInitialization
virtual void SAL_CALL initialize( const uno::Sequence< uno::Any > & aArguments ) override;
@@ -104,13 +104,13 @@ SvFilterOptionsDialog::SvFilterOptionsDialog( const uno::Reference< uno::XCompon
{
}
-void SAL_CALL SvFilterOptionsDialog::acquire() throw()
+void SAL_CALL SvFilterOptionsDialog::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL SvFilterOptionsDialog::release() throw()
+void SAL_CALL SvFilterOptionsDialog::release() noexcept
{
OWeakObject::release();
}
diff --git a/svtools/source/graphic/renderer.cxx b/svtools/source/graphic/renderer.cxx
index c197e6e0c4d5..220e047a84aa 100644
--- a/svtools/source/graphic/renderer.cxx
+++ b/svtools/source/graphic/renderer.cxx
@@ -58,8 +58,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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -122,14 +122,14 @@ uno::Any SAL_CALL GraphicRendererVCL::queryInterface( const uno::Type & rType )
void SAL_CALL GraphicRendererVCL::acquire()
- throw()
+ noexcept
{
OWeakAggObject::acquire();
}
void SAL_CALL GraphicRendererVCL::release()
- throw()
+ noexcept
{
OWeakAggObject::release();
}
diff --git a/svtools/source/java/javacontext.cxx b/svtools/source/java/javacontext.cxx
index c804e5f0b99e..a7d97f77ddf4 100644
--- a/svtools/source/java/javacontext.cxx
+++ b/svtools/source/java/javacontext.cxx
@@ -47,12 +47,12 @@ Any SAL_CALL JavaContext::queryInterface(const Type& aType )
return Any();
}
-void SAL_CALL JavaContext::acquire( ) throw ()
+void SAL_CALL JavaContext::acquire( ) noexcept
{
osl_atomic_increment( &m_aRefCount );
}
-void SAL_CALL JavaContext::release( ) throw ()
+void SAL_CALL JavaContext::release( ) noexcept
{
if (! osl_atomic_decrement( &m_aRefCount ))
delete this;
diff --git a/svtools/source/java/javainteractionhandler.cxx b/svtools/source/java/javainteractionhandler.cxx
index ce360463b6dc..c032f41146c1 100644
--- a/svtools/source/java/javainteractionhandler.cxx
+++ b/svtools/source/java/javainteractionhandler.cxx
@@ -80,12 +80,12 @@ Any SAL_CALL JavaInteractionHandler::queryInterface(const Type& aType )
return Any();
}
-void SAL_CALL JavaInteractionHandler::acquire( ) throw ()
+void SAL_CALL JavaInteractionHandler::acquire( ) noexcept
{
osl_atomic_increment( &m_aRefCount );
}
-void SAL_CALL JavaInteractionHandler::release( ) throw ()
+void SAL_CALL JavaInteractionHandler::release( ) noexcept
{
if (! osl_atomic_decrement( &m_aRefCount ))
delete this;
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx
index 8146c8fd956a..2fb3954ef722 100644
--- a/svtools/source/misc/embedhlp.cxx
+++ b/svtools/source/misc/embedhlp.cxx
@@ -804,7 +804,7 @@ uno::Reference< io::XInputStream > EmbeddedObjectRef::GetGraphicReplacementStrea
sal_Int64 nViewAspect,
const uno::Reference< embed::XEmbeddedObject >& xObj,
OUString* pMediaType )
- throw()
+ noexcept
{
return ::comphelper::EmbeddedObjectContainer::GetGraphicReplacementStream(nViewAspect,xObj,pMediaType);
}
diff --git a/svtools/source/uno/framestatuslistener.cxx b/svtools/source/uno/framestatuslistener.cxx
index ba158c2ddcf3..33c475e25dae 100644
--- a/svtools/source/uno/framestatuslistener.cxx
+++ b/svtools/source/uno/framestatuslistener.cxx
@@ -66,12 +66,12 @@ Any SAL_CALL FrameStatusListener::queryInterface( const Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL FrameStatusListener::acquire() throw ()
+void SAL_CALL FrameStatusListener::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL FrameStatusListener::release() throw ()
+void SAL_CALL FrameStatusListener::release() noexcept
{
OWeakObject::release();
}
diff --git a/svtools/source/uno/statusbarcontroller.cxx b/svtools/source/uno/statusbarcontroller.cxx
index 28a146d9db84..fae89f287b9e 100644
--- a/svtools/source/uno/statusbarcontroller.cxx
+++ b/svtools/source/uno/statusbarcontroller.cxx
@@ -107,12 +107,12 @@ Any SAL_CALL StatusbarController::queryInterface( const Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL StatusbarController::acquire() throw ()
+void SAL_CALL StatusbarController::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL StatusbarController::release() throw ()
+void SAL_CALL StatusbarController::release() noexcept
{
OWeakObject::release();
}
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index 949c7c1cfb68..fa881b64ad4b 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -142,12 +142,12 @@ Any SAL_CALL ToolboxController::queryInterface( const Type& rType )
return a.hasValue() ? a : OPropertyContainer::queryInterface(rType);
}
-void SAL_CALL ToolboxController::acquire() throw ()
+void SAL_CALL ToolboxController::acquire() noexcept
{
ToolboxController_Base::acquire();
}
-void SAL_CALL ToolboxController::release() throw ()
+void SAL_CALL ToolboxController::release() noexcept
{
ToolboxController_Base::release();
}
diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx
index dbd2724e3661..f87973281f45 100644
--- a/svtools/source/uno/unoimap.cxx
+++ b/svtools/source/uno/unoimap.cxx
@@ -89,8 +89,8 @@ public:
// XInterface
virtual Any SAL_CALL queryAggregation( const Type & rType ) override;
virtual Any SAL_CALL queryInterface( const 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 Sequence< Type > SAL_CALL getTypes( ) override;
@@ -328,12 +328,12 @@ Any SAL_CALL SvUnoImageMapObject::queryAggregation( const Type & rType )
return aAny;
}
-void SAL_CALL SvUnoImageMapObject::acquire() throw()
+void SAL_CALL SvUnoImageMapObject::acquire() noexcept
{
OWeakAggObject::acquire();
}
-void SAL_CALL SvUnoImageMapObject::release() throw()
+void SAL_CALL SvUnoImageMapObject::release() noexcept
{
OWeakAggObject::release();
}
diff --git a/svx/inc/AccessibleTableShape.hxx b/svx/inc/AccessibleTableShape.hxx
index 45138030eec6..979fa64d3451 100644
--- a/svx/inc/AccessibleTableShape.hxx
+++ b/svx/inc/AccessibleTableShape.hxx
@@ -54,8 +54,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XAccessibleContext
virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
diff --git a/svx/inc/XPropertyTable.hxx b/svx/inc/XPropertyTable.hxx
index 87015e2f1363..19da2a0b524a 100644
--- a/svx/inc/XPropertyTable.hxx
+++ b/svx/inc/XPropertyTable.hxx
@@ -24,12 +24,12 @@
// FIXME: should have a single factory method with an enumeration here [!]
-css::uno::Reference< css::uno::XInterface > SvxUnoXColorTable_createInstance( XPropertyList* pList ) throw();
-css::uno::Reference< css::uno::XInterface > SvxUnoXLineEndTable_createInstance( XPropertyList* pList ) throw();
-css::uno::Reference< css::uno::XInterface > SvxUnoXDashTable_createInstance( XPropertyList* pList ) throw();
-css::uno::Reference< css::uno::XInterface > SvxUnoXHatchTable_createInstance( XPropertyList* pList ) throw();
-css::uno::Reference< css::uno::XInterface > SvxUnoXGradientTable_createInstance( XPropertyList* pList ) throw();
-css::uno::Reference< css::uno::XInterface > SvxUnoXBitmapTable_createInstance( XPropertyList* pList ) throw();
+css::uno::Reference< css::uno::XInterface > SvxUnoXColorTable_createInstance( XPropertyList* pList ) noexcept;
+css::uno::Reference< css::uno::XInterface > SvxUnoXLineEndTable_createInstance( XPropertyList* pList ) noexcept;
+css::uno::Reference< css::uno::XInterface > SvxUnoXDashTable_createInstance( XPropertyList* pList ) noexcept;
+css::uno::Reference< css::uno::XInterface > SvxUnoXHatchTable_createInstance( XPropertyList* pList ) noexcept;
+css::uno::Reference< css::uno::XInterface > SvxUnoXGradientTable_createInstance( XPropertyList* pList ) noexcept;
+css::uno::Reference< css::uno::XInterface > SvxUnoXBitmapTable_createInstance( XPropertyList* pList ) noexcept;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/unomlstr.hxx b/svx/inc/unomlstr.hxx
index 55cae9c0dfdc..989fa3cc4072 100644
--- a/svx/inc/unomlstr.hxx
+++ b/svx/inc/unomlstr.hxx
@@ -31,8 +31,8 @@ class SvxUnoShapeModifyListener final
SdrObject* mpObj;
public:
- SvxUnoShapeModifyListener(SdrObject* pObj) throw();
- virtual ~SvxUnoShapeModifyListener() throw() override;
+ SvxUnoShapeModifyListener(SdrObject* pObj) noexcept;
+ virtual ~SvxUnoShapeModifyListener() noexcept override;
// css::util::XModifyListener
virtual void SAL_CALL modified(const css::lang::EventObject& aEvent) override;
@@ -41,7 +41,7 @@ public:
virtual void SAL_CALL disposing(const css::lang::EventObject& Source) override;
// internal
- void invalidate() throw();
+ void invalidate() noexcept;
};
#endif
diff --git a/svx/source/accessibility/AccessibleGraphicShape.cxx b/svx/source/accessibility/AccessibleGraphicShape.cxx
index c7fe3c6fe40b..d94ce4886add 100644
--- a/svx/source/accessibility/AccessibleGraphicShape.cxx
+++ b/svx/source/accessibility/AccessibleGraphicShape.cxx
@@ -79,7 +79,7 @@ css::uno::Any SAL_CALL
void SAL_CALL
AccessibleGraphicShape::acquire()
- throw ()
+ noexcept
{
AccessibleShape::acquire ();
}
@@ -87,7 +87,7 @@ void SAL_CALL
void SAL_CALL
AccessibleGraphicShape::release()
- throw ()
+ noexcept
{
AccessibleShape::release ();
}
diff --git a/svx/source/accessibility/AccessibleOLEShape.cxx b/svx/source/accessibility/AccessibleOLEShape.cxx
index ea5aca82dc07..9275ad1803f2 100644
--- a/svx/source/accessibility/AccessibleOLEShape.cxx
+++ b/svx/source/accessibility/AccessibleOLEShape.cxx
@@ -86,7 +86,7 @@ css::uno::Any SAL_CALL
void SAL_CALL
AccessibleOLEShape::acquire()
- throw ()
+ noexcept
{
AccessibleShape::acquire ();
}
@@ -94,7 +94,7 @@ void SAL_CALL
void SAL_CALL
AccessibleOLEShape::release()
- throw ()
+ noexcept
{
AccessibleShape::release ();
}
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 1f719e93c47d..8264e40f98bb 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -742,7 +742,7 @@ css::uno::Any SAL_CALL
void SAL_CALL
AccessibleShape::acquire()
- throw ()
+ noexcept
{
AccessibleContextBase::acquire ();
}
@@ -750,7 +750,7 @@ void SAL_CALL
void SAL_CALL
AccessibleShape::release()
- throw ()
+ noexcept
{
AccessibleContextBase::release ();
}
diff --git a/svx/source/accessibility/ChildrenManager.cxx b/svx/source/accessibility/ChildrenManager.cxx
index c70e7f86f5f6..71983f46e98c 100644
--- a/svx/source/accessibility/ChildrenManager.cxx
+++ b/svx/source/accessibility/ChildrenManager.cxx
@@ -49,7 +49,7 @@ ChildrenManager::~ChildrenManager()
SAL_INFO("svx", "~ChildrenManager");
}
-tools::Long ChildrenManager::GetChildCount() const throw ()
+tools::Long ChildrenManager::GetChildCount() const noexcept
{
return mpImpl->GetChildCount();
}
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index 893bc350f1f1..53d1e7596b6b 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -109,7 +109,7 @@ void ChildrenManagerImpl::Init()
}
-tools::Long ChildrenManagerImpl::GetChildCount() const throw ()
+tools::Long ChildrenManagerImpl::GetChildCount() const noexcept
{
return maVisibleChildren.size();
}
diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx
index 4cad0efcbf8c..5520a4947b32 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.hxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.hxx
@@ -116,7 +116,7 @@ public:
@return
If there are no children a 0 is returned.
*/
- tools::Long GetChildCount() const throw ();
+ tools::Long GetChildCount() const noexcept;
/// @throws css::uno::RuntimeException
/// @throws css::lang::IndexOutOfBoundsException
diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx
index 28684e59e5c7..9999f54c1c33 100644
--- a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx
@@ -73,8 +73,8 @@ public:
EnhancedCustomShapeEngine();
// XInterface
- 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;
// XInitialization
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
@@ -97,11 +97,11 @@ EnhancedCustomShapeEngine::EnhancedCustomShapeEngine() :
}
// XInterface
-void SAL_CALL EnhancedCustomShapeEngine::acquire() throw()
+void SAL_CALL EnhancedCustomShapeEngine::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL EnhancedCustomShapeEngine::release() throw()
+void SAL_CALL EnhancedCustomShapeEngine::release() noexcept
{
OWeakObject::release();
}
diff --git a/svx/source/customshapes/EnhancedCustomShapeHandle.cxx b/svx/source/customshapes/EnhancedCustomShapeHandle.cxx
index ee7143459b9c..c7b790063d31 100644
--- a/svx/source/customshapes/EnhancedCustomShapeHandle.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeHandle.cxx
@@ -35,13 +35,13 @@ EnhancedCustomShapeHandle::~EnhancedCustomShapeHandle()
}
-void SAL_CALL EnhancedCustomShapeHandle::acquire() throw()
+void SAL_CALL EnhancedCustomShapeHandle::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL EnhancedCustomShapeHandle::release() throw()
+void SAL_CALL EnhancedCustomShapeHandle::release() noexcept
{
OWeakObject::release();
}
diff --git a/svx/source/customshapes/EnhancedCustomShapeHandle.hxx b/svx/source/customshapes/EnhancedCustomShapeHandle.hxx
index 0fa64bbe4bcd..b56909420768 100644
--- a/svx/source/customshapes/EnhancedCustomShapeHandle.hxx
+++ b/svx/source/customshapes/EnhancedCustomShapeHandle.hxx
@@ -41,8 +41,8 @@ public:
virtual ~EnhancedCustomShapeHandle() override;
// XInterface
- 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;
// XCustomShapeHandle
virtual css::awt::Point SAL_CALL getPosition() override;
diff --git a/svx/source/form/fmdpage.cxx b/svx/source/form/fmdpage.cxx
index 17ec9151ca09..2351564e06bc 100644
--- a/svx/source/form/fmdpage.cxx
+++ b/svx/source/form/fmdpage.cxx
@@ -32,7 +32,7 @@ SvxFmDrawPage::SvxFmDrawPage( SdrPage* pInPage ) :
{
}
-SvxFmDrawPage::~SvxFmDrawPage() throw ()
+SvxFmDrawPage::~SvxFmDrawPage() noexcept
{
}
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index a885988abda7..84aef7b60d90 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -609,13 +609,13 @@ FormController::~FormController()
}
-void SAL_CALL FormController::acquire() throw ()
+void SAL_CALL FormController::acquire() noexcept
{
FormController_BASE::acquire();
}
-void SAL_CALL FormController::release() throw ()
+void SAL_CALL FormController::release() noexcept
{
FormController_BASE::release();
}
diff --git a/svx/source/inc/cell.hxx b/svx/source/inc/cell.hxx
index 94d0cf4a98cb..6e56dbe6f893 100644
--- a/svx/source/inc/cell.hxx
+++ b/svx/source/inc/cell.hxx
@@ -99,8 +99,8 @@ public:
// XInterface
SVX_DLLPRIVATE virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& Type ) override;
- SVX_DLLPRIVATE virtual void SAL_CALL acquire() throw () override;
- SVX_DLLPRIVATE virtual void SAL_CALL release() throw () override;
+ SVX_DLLPRIVATE virtual void SAL_CALL acquire() noexcept override;
+ SVX_DLLPRIVATE virtual void SAL_CALL release() noexcept override;
// XTypeProvider
SVX_DLLPRIVATE virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
@@ -190,7 +190,7 @@ protected:
private:
/// @throws css::uno::RuntimeException
SVX_DLLPRIVATE Cell( SdrTableObj& rTableObj );
- SVX_DLLPRIVATE virtual ~Cell() throw() override;
+ SVX_DLLPRIVATE virtual ~Cell() noexcept override;
Cell(Cell const &) = delete;
void operator =(Cell const &) = delete;
diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx
index 230b0e0f50c7..d0936816a0ed 100644
--- a/svx/source/inc/formcontroller.hxx
+++ b/svx/source/inc/formcontroller.hxx
@@ -206,8 +206,8 @@ namespace svxform
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) 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< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx
index 62d35fb67753..6ed07675b4f6 100644
--- a/svx/source/inc/xmlxtexp.hxx
+++ b/svx/source/inc/xmlxtexp.hxx
@@ -54,7 +54,7 @@ public:
virtual void ExportContent_() override;
private:
- bool exportTable() throw();
+ bool exportTable() noexcept;
const css::uno::Reference< css::container::XNameContainer > & mxTable;
};
diff --git a/svx/source/inc/xmlxtimp.hxx b/svx/source/inc/xmlxtimp.hxx
index 99d5b4135d9a..a5bf4b39a1f0 100644
--- a/svx/source/inc/xmlxtimp.hxx
+++ b/svx/source/inc/xmlxtimp.hxx
@@ -37,12 +37,12 @@ public:
const css::uno::Reference< css::container::XNameContainer > & rTable,
css::uno::Reference<css::document::XGraphicStorageHandler> const & rxGraphicStorageHandler);
- virtual ~SvxXMLXTableImport() throw () override;
+ virtual ~SvxXMLXTableImport() noexcept override;
static bool load( const OUString &rPath, const OUString &rReferer,
const css::uno::Reference < css::embed::XStorage > &xStorage,
const css::uno::Reference< css::container::XNameContainer >& xTable,
- bool *bOptLoadedFromStorage ) throw();
+ bool *bOptLoadedFromStorage ) noexcept;
protected:
virtual SvXMLImportContext *CreateFastContext( sal_Int32 Element,
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ) override;
diff --git a/svx/source/sidebar/paragraph/ParaSpacingControl.cxx b/svx/source/sidebar/paragraph/ParaSpacingControl.cxx
index f1529c020205..14cdd79a72c2 100644
--- a/svx/source/sidebar/paragraph/ParaSpacingControl.cxx
+++ b/svx/source/sidebar/paragraph/ParaSpacingControl.cxx
@@ -194,7 +194,7 @@ void SAL_CALL ParaLRSpacingControl::notifyContextChangeEvent(const css::ui::Cont
return ::cppu::queryInterface(aType, static_cast<css::ui::XContextChangeEventListener*>(this));
}
-void SAL_CALL ParaLRSpacingControl::acquire() throw ()
+void SAL_CALL ParaLRSpacingControl::acquire() noexcept
{
SfxToolBoxControl::acquire();
}
@@ -204,7 +204,7 @@ void SAL_CALL ParaLRSpacingControl::disposing(const ::css::lang::EventObject&)
SfxToolBoxControl::disposing();
}
-void SAL_CALL ParaLRSpacingControl::release() throw ()
+void SAL_CALL ParaLRSpacingControl::release() noexcept
{
SfxToolBoxControl::release();
}
diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx
index a26bb819481e..0ba064368878 100644
--- a/svx/source/table/accessiblecell.cxx
+++ b/svx/source/table/accessiblecell.cxx
@@ -134,13 +134,13 @@ Any SAL_CALL AccessibleCell::queryInterface( const Type& aType )
}
-void SAL_CALL AccessibleCell::acquire( ) throw ()
+void SAL_CALL AccessibleCell::acquire( ) noexcept
{
AccessibleCellBase::acquire();
}
-void SAL_CALL AccessibleCell::release( ) throw ()
+void SAL_CALL AccessibleCell::release( ) noexcept
{
AccessibleCellBase::release();
}
diff --git a/svx/source/table/accessiblecell.hxx b/svx/source/table/accessiblecell.hxx
index ca908ea2d2c8..65b9665ab668 100644
--- a/svx/source/table/accessiblecell.hxx
+++ b/svx/source/table/accessiblecell.hxx
@@ -59,8 +59,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XAccessibleContext
virtual sal_Int32 SAL_CALL getAccessibleChildCount() override;
diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx
index ed06757341c0..540ae311687e 100644
--- a/svx/source/table/accessibletableshape.cxx
+++ b/svx/source/table/accessibletableshape.cxx
@@ -379,13 +379,13 @@ Any SAL_CALL AccessibleTableShape::queryInterface( const Type& aType )
}
-void SAL_CALL AccessibleTableShape::acquire( ) throw ()
+void SAL_CALL AccessibleTableShape::acquire( ) noexcept
{
AccessibleTableShape_Base::acquire();
}
-void SAL_CALL AccessibleTableShape::release( ) throw ()
+void SAL_CALL AccessibleTableShape::release( ) noexcept
{
AccessibleTableShape_Base::release();
}
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index a4bc4a86ffec..6e46f2a60ed6 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -423,7 +423,7 @@ Cell::Cell(
}
-Cell::~Cell() throw()
+Cell::~Cell() noexcept
{
dispose();
}
@@ -877,13 +877,13 @@ Any SAL_CALL Cell::queryInterface( const Type & rType )
}
-void SAL_CALL Cell::acquire() throw ()
+void SAL_CALL Cell::acquire() noexcept
{
::cppu::OWeakObject::acquire();
}
-void SAL_CALL Cell::release() throw ()
+void SAL_CALL Cell::release() noexcept
{
::cppu::OWeakObject::release();
}
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index 2647678f1d7b..18916ff9dc2d 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -59,8 +59,8 @@ class FontHeightToolBoxControl : public svt::ToolboxController,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -381,12 +381,12 @@ css::uno::Any SAL_CALL FontHeightToolBoxControl::queryInterface( const css::uno:
return ::cppu::queryInterface( aType, static_cast< lang::XServiceInfo* >( this ));
}
-void SAL_CALL FontHeightToolBoxControl::acquire() throw ()
+void SAL_CALL FontHeightToolBoxControl::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL FontHeightToolBoxControl::release() throw ()
+void SAL_CALL FontHeightToolBoxControl::release() noexcept
{
ToolboxController::release();
}
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index c247e313452a..eebb536d6c1b 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -531,8 +531,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -584,12 +584,12 @@ css::uno::Any SAL_CALL FindTextToolbarController::queryInterface( const css::uno
return ::cppu::queryInterface( aType, static_cast< css::lang::XServiceInfo* >( this ) );
}
-void SAL_CALL FindTextToolbarController::acquire() throw ()
+void SAL_CALL FindTextToolbarController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL FindTextToolbarController::release() throw ()
+void SAL_CALL FindTextToolbarController::release() noexcept
{
ToolboxController::release();
}
@@ -709,8 +709,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -751,12 +751,12 @@ css::uno::Any SAL_CALL UpDownSearchToolboxController::queryInterface( const css:
return ::cppu::queryInterface( aType, static_cast< css::lang::XServiceInfo* >( this ) );
}
-void SAL_CALL UpDownSearchToolboxController::acquire() throw ()
+void SAL_CALL UpDownSearchToolboxController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL UpDownSearchToolboxController::release() throw ()
+void SAL_CALL UpDownSearchToolboxController::release() noexcept
{
ToolboxController::release();
}
@@ -827,8 +827,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -869,12 +869,12 @@ css::uno::Any SAL_CALL MatchCaseToolboxController::queryInterface( const css::un
return ::cppu::queryInterface( aType, static_cast< css::lang::XServiceInfo* >( this ) );
}
-void SAL_CALL MatchCaseToolboxController::acquire() throw ()
+void SAL_CALL MatchCaseToolboxController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL MatchCaseToolboxController::release() throw ()
+void SAL_CALL MatchCaseToolboxController::release() noexcept
{
ToolboxController::release();
}
@@ -943,8 +943,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -985,12 +985,12 @@ css::uno::Any SAL_CALL SearchFormattedToolboxController::queryInterface( const c
return ::cppu::queryInterface( aType, static_cast< css::lang::XServiceInfo* >( this ) );
}
-void SAL_CALL SearchFormattedToolboxController::acquire() throw ()
+void SAL_CALL SearchFormattedToolboxController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL SearchFormattedToolboxController::release() throw ()
+void SAL_CALL SearchFormattedToolboxController::release() noexcept
{
ToolboxController::release();
}
@@ -1059,8 +1059,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -1097,12 +1097,12 @@ css::uno::Any SAL_CALL FindAllToolboxController::queryInterface( const css::uno:
return ::cppu::queryInterface( aType, static_cast< css::lang::XServiceInfo* >( this ) );
}
-void SAL_CALL FindAllToolboxController::acquire() throw ()
+void SAL_CALL FindAllToolboxController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL FindAllToolboxController::release() throw ()
+void SAL_CALL FindAllToolboxController::release() noexcept
{
ToolboxController::release();
}
@@ -1166,8 +1166,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -1204,12 +1204,12 @@ css::uno::Any SAL_CALL ExitSearchToolboxController::queryInterface( const css::u
return ::cppu::queryInterface( aType, static_cast< css::lang::XServiceInfo* >( this ) );
}
-void SAL_CALL ExitSearchToolboxController::acquire() throw ()
+void SAL_CALL ExitSearchToolboxController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL ExitSearchToolboxController::release() throw ()
+void SAL_CALL ExitSearchToolboxController::release() noexcept
{
ToolboxController::release();
}
@@ -1284,8 +1284,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -1325,12 +1325,12 @@ css::uno::Any SAL_CALL SearchLabelToolboxController::queryInterface( const css::
return ::cppu::queryInterface( aType, static_cast< css::lang::XServiceInfo* >( this ) );
}
-void SAL_CALL SearchLabelToolboxController::acquire() throw ()
+void SAL_CALL SearchLabelToolboxController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL SearchLabelToolboxController::release() throw ()
+void SAL_CALL SearchLabelToolboxController::release() noexcept
{
ToolboxController::release();
}
@@ -1411,8 +1411,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -1461,12 +1461,12 @@ css::uno::Any SAL_CALL FindbarDispatcher::queryInterface( const css::uno::Type&
return OWeakObject::queryInterface( aType );
}
-void SAL_CALL FindbarDispatcher::acquire() throw()
+void SAL_CALL FindbarDispatcher::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL FindbarDispatcher::release() throw()
+void SAL_CALL FindbarDispatcher::release() noexcept
{
OWeakObject::release();
}
diff --git a/svx/source/unodraw/UnoNameItemTable.cxx b/svx/source/unodraw/UnoNameItemTable.cxx
index e8038e25a9f5..56a96534f02c 100644
--- a/svx/source/unodraw/UnoNameItemTable.cxx
+++ b/svx/source/unodraw/UnoNameItemTable.cxx
@@ -57,7 +57,7 @@ namespace
}
-SvxUnoNameItemTable::SvxUnoNameItemTable( SdrModel* pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId ) throw()
+SvxUnoNameItemTable::SvxUnoNameItemTable( SdrModel* pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId ) noexcept
: mpModel( pModel ),
mpModelPool( pModel ? &pModel->GetItemPool() : nullptr ),
mnWhich( nWhich ), mnMemberId( nMemberId )
@@ -66,7 +66,7 @@ SvxUnoNameItemTable::SvxUnoNameItemTable( SdrModel* pModel, sal_uInt16 nWhich, s
StartListening( *pModel );
}
-SvxUnoNameItemTable::~SvxUnoNameItemTable() throw()
+SvxUnoNameItemTable::~SvxUnoNameItemTable() noexcept
{
if( mpModel )
EndListening( *mpModel );
@@ -83,7 +83,7 @@ void SvxUnoNameItemTable::dispose()
maItemSetVector.clear();
}
-void SvxUnoNameItemTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) throw()
+void SvxUnoNameItemTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) noexcept
{
if (rHint.GetId() != SfxHintId::ThisIsAnSdrHint)
return;
diff --git a/svx/source/unodraw/UnoNameItemTable.hxx b/svx/source/unodraw/UnoNameItemTable.hxx
index 1bb0b8276bba..47654aaf4f8f 100644
--- a/svx/source/unodraw/UnoNameItemTable.hxx
+++ b/svx/source/unodraw/UnoNameItemTable.hxx
@@ -49,8 +49,8 @@ private:
void ImplInsertByName( const OUString& aName, const css::uno::Any& aElement );
public:
- SvxUnoNameItemTable( SdrModel* pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId ) throw();
- virtual ~SvxUnoNameItemTable() throw() override;
+ SvxUnoNameItemTable( SdrModel* pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId ) noexcept;
+ virtual ~SvxUnoNameItemTable() noexcept override;
virtual NameOrIndex* createItem() const = 0;
virtual bool isValid( const NameOrIndex* pItem ) const;
@@ -58,7 +58,7 @@ public:
void dispose();
// SfxListener
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) throw () override;
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) noexcept override;
// XServiceInfo
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx
index 88c69e4c6bb5..b7cfe326bd04 100644
--- a/svx/source/unodraw/UnoNamespaceMap.cxx
+++ b/svx/source/unodraw/UnoNamespaceMap.cxx
@@ -76,14 +76,14 @@ namespace svx
}
static Sequence< OUString > NamespaceMap_getSupportedServiceNames()
- throw()
+ noexcept
{
Sequence<OUString> aSupportedServiceNames { "com.sun.star.xml.NamespaceMap" };
return aSupportedServiceNames;
}
static OUString NamespaceMap_getImplementationName()
- throw()
+ noexcept
{
return "com.sun.star.comp.Svx.NamespaceMap";
}
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index 39d861327aa8..9455f1fe4069 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -52,7 +52,7 @@ private:
tools::Long getCount() const { return mpList ? mpList->Count() : 0; }
const XPropertyEntry* get(tools::Long index) const;
public:
- SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pList ) throw();
+ SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pList ) noexcept;
/// @throws uno::RuntimeException
virtual uno::Any getAny( const XPropertyEntry* pEntry ) const = 0;
@@ -81,7 +81,7 @@ public:
}
-SvxUnoXPropertyTable::SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pList ) throw()
+SvxUnoXPropertyTable::SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pList ) noexcept
: mpList( pList ), mnWhich( nWhich )
{
}
@@ -237,10 +237,10 @@ namespace {
class SvxUnoXColorTable : public SvxUnoXPropertyTable
{
public:
- explicit SvxUnoXColorTable( XPropertyList* pList ) throw() : SvxUnoXPropertyTable( XATTR_LINECOLOR, pList ) {};
+ explicit SvxUnoXColorTable( XPropertyList* pList ) noexcept : SvxUnoXPropertyTable( XATTR_LINECOLOR, pList ) {};
// SvxUnoXPropertyTable
- virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override;
+ virtual uno::Any getAny( const XPropertyEntry* pEntry ) const noexcept override;
virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override;
// XElementAccess
@@ -253,13 +253,13 @@ public:
}
-uno::Reference< uno::XInterface > SvxUnoXColorTable_createInstance( XPropertyList* pList ) throw()
+uno::Reference< uno::XInterface > SvxUnoXColorTable_createInstance( XPropertyList* pList ) noexcept
{
return static_cast<OWeakObject*>(new SvxUnoXColorTable( pList ));
}
// SvxUnoXPropertyTable
-uno::Any SvxUnoXColorTable::getAny( const XPropertyEntry* pEntry ) const throw()
+uno::Any SvxUnoXColorTable::getAny( const XPropertyEntry* pEntry ) const noexcept
{
return uno::Any( static_cast<sal_Int32>(static_cast<const XColorEntry*>(pEntry)->GetColor()) );
}
@@ -295,10 +295,10 @@ namespace {
class SvxUnoXLineEndTable : public SvxUnoXPropertyTable
{
public:
- explicit SvxUnoXLineEndTable( XPropertyList* pTable ) throw() : SvxUnoXPropertyTable( XATTR_LINEEND, pTable ) {};
+ explicit SvxUnoXLineEndTable( XPropertyList* pTable ) noexcept : SvxUnoXPropertyTable( XATTR_LINEEND, pTable ) {};
// SvxUnoXPropertyTable
- virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override;
+ virtual uno::Any getAny( const XPropertyEntry* pEntry ) const noexcept override;
virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override;
// XElementAccess
@@ -311,13 +311,13 @@ public:
}
-uno::Reference< uno::XInterface > SvxUnoXLineEndTable_createInstance( XPropertyList* pTable ) throw()
+uno::Reference< uno::XInterface > SvxUnoXLineEndTable_createInstance( XPropertyList* pTable ) noexcept
{
return static_cast<OWeakObject*>(new SvxUnoXLineEndTable( pTable ));
}
// SvxUnoXPropertyTable
-uno::Any SvxUnoXLineEndTable::getAny( const XPropertyEntry* pEntry ) const throw()
+uno::Any SvxUnoXLineEndTable::getAny( const XPropertyEntry* pEntry ) const noexcept
{
drawing::PolyPolygonBezierCoords aBezier;
basegfx::utils::B2DPolyPolygonToUnoPolyPolygonBezierCoords( static_cast<const XLineEndEntry*>(pEntry)->GetLineEnd(),
@@ -363,10 +363,10 @@ namespace {
class SvxUnoXDashTable : public SvxUnoXPropertyTable
{
public:
- explicit SvxUnoXDashTable( XPropertyList* pTable ) throw() : SvxUnoXPropertyTable( XATTR_LINEDASH, pTable ) {};
+ explicit SvxUnoXDashTable( XPropertyList* pTable ) noexcept : SvxUnoXPropertyTable( XATTR_LINEDASH, pTable ) {};
// SvxUnoXPropertyTable
- virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override;
+ virtual uno::Any getAny( const XPropertyEntry* pEntry ) const noexcept override;
virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override;
// XElementAccess
@@ -379,13 +379,13 @@ public:
}
-uno::Reference< uno::XInterface > SvxUnoXDashTable_createInstance( XPropertyList* pTable ) throw()
+uno::Reference< uno::XInterface > SvxUnoXDashTable_createInstance( XPropertyList* pTable ) noexcept
{
return static_cast<OWeakObject*>(new SvxUnoXDashTable( pTable ));
}
// SvxUnoXPropertyTable
-uno::Any SvxUnoXDashTable::getAny( const XPropertyEntry* pEntry ) const throw()
+uno::Any SvxUnoXDashTable::getAny( const XPropertyEntry* pEntry ) const noexcept
{
const XDash& rXD = static_cast<const XDashEntry*>(pEntry)->GetDash();
@@ -441,10 +441,10 @@ namespace {
class SvxUnoXHatchTable : public SvxUnoXPropertyTable
{
public:
- explicit SvxUnoXHatchTable( XPropertyList* pTable ) throw() : SvxUnoXPropertyTable( XATTR_FILLHATCH, pTable ) {};
+ explicit SvxUnoXHatchTable( XPropertyList* pTable ) noexcept : SvxUnoXPropertyTable( XATTR_FILLHATCH, pTable ) {};
// SvxUnoXPropertyTable
- virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override;
+ virtual uno::Any getAny( const XPropertyEntry* pEntry ) const noexcept override;
virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override;
// XElementAccess
@@ -457,13 +457,13 @@ public:
}
-uno::Reference< uno::XInterface > SvxUnoXHatchTable_createInstance( XPropertyList* pTable ) throw()
+uno::Reference< uno::XInterface > SvxUnoXHatchTable_createInstance( XPropertyList* pTable ) noexcept
{
return static_cast<OWeakObject*>(new SvxUnoXHatchTable( pTable ));
}
// SvxUnoXPropertyTable
-uno::Any SvxUnoXHatchTable::getAny( const XPropertyEntry* pEntry ) const throw()
+uno::Any SvxUnoXHatchTable::getAny( const XPropertyEntry* pEntry ) const noexcept
{
const XHatch& aHatch = static_cast<const XHatchEntry*>(pEntry)->GetHatch();
@@ -514,10 +514,10 @@ namespace {
class SvxUnoXGradientTable : public SvxUnoXPropertyTable
{
public:
- explicit SvxUnoXGradientTable( XPropertyList* pTable ) throw() : SvxUnoXPropertyTable( XATTR_FILLGRADIENT, pTable ) {};
+ explicit SvxUnoXGradientTable( XPropertyList* pTable ) noexcept : SvxUnoXPropertyTable( XATTR_FILLGRADIENT, pTable ) {};
// SvxUnoXPropertyTable
- virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override;
+ virtual uno::Any getAny( const XPropertyEntry* pEntry ) const noexcept override;
virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override;
// XElementAccess
@@ -530,13 +530,13 @@ public:
}
-uno::Reference< uno::XInterface > SvxUnoXGradientTable_createInstance( XPropertyList* pTable ) throw()
+uno::Reference< uno::XInterface > SvxUnoXGradientTable_createInstance( XPropertyList* pTable ) noexcept
{
return static_cast<OWeakObject*>(new SvxUnoXGradientTable( pTable ));
}
// SvxUnoXPropertyTable
-uno::Any SvxUnoXGradientTable::getAny( const XPropertyEntry* pEntry ) const throw()
+uno::Any SvxUnoXGradientTable::getAny( const XPropertyEntry* pEntry ) const noexcept
{
const XGradient& aXGradient = static_cast<const XGradientEntry*>(pEntry)->GetGradient();
awt::Gradient aGradient;
@@ -599,7 +599,7 @@ namespace {
class SvxUnoXBitmapTable : public SvxUnoXPropertyTable
{
public:
- explicit SvxUnoXBitmapTable( XPropertyList* pTable ) throw() : SvxUnoXPropertyTable( XATTR_FILLBITMAP, pTable ) {};
+ explicit SvxUnoXBitmapTable( XPropertyList* pTable ) noexcept : SvxUnoXPropertyTable( XATTR_FILLBITMAP, pTable ) {};
// SvxUnoXPropertyTable
virtual uno::Any getAny( const XPropertyEntry* pEntry ) const override;
@@ -615,7 +615,7 @@ public:
}
-uno::Reference< uno::XInterface > SvxUnoXBitmapTable_createInstance( XPropertyList* pTable ) throw()
+uno::Reference< uno::XInterface > SvxUnoXBitmapTable_createInstance( XPropertyList* pTable ) noexcept
{
return static_cast<OWeakObject*>(new SvxUnoXBitmapTable( pTable ));
}
diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx
index 5311def81e18..fcc381a95451 100644
--- a/svx/source/unodraw/gluepts.cxx
+++ b/svx/source/unodraw/gluepts.cxx
@@ -45,7 +45,7 @@ private:
tools::WeakReference<SdrObject> mpObject;
public:
- explicit SvxUnoGluePointAccess( SdrObject* pObject ) throw();
+ explicit SvxUnoGluePointAccess( SdrObject* pObject ) noexcept;
// XIdentifierContainer
virtual sal_Int32 SAL_CALL insert( const uno::Any& aElement ) override;
@@ -79,7 +79,7 @@ public:
}
-static void convert( const SdrGluePoint& rSdrGlue, drawing::GluePoint2& rUnoGlue ) throw()
+static void convert( const SdrGluePoint& rSdrGlue, drawing::GluePoint2& rUnoGlue ) noexcept
{
rUnoGlue.Position.X = rSdrGlue.GetPos().X();
rUnoGlue.Position.Y = rSdrGlue.GetPos().Y();
@@ -133,7 +133,7 @@ static void convert( const SdrGluePoint& rSdrGlue, drawing::GluePoint2& rUnoGlue
}
}
-static void convert( const drawing::GluePoint2& rUnoGlue, SdrGluePoint& rSdrGlue ) throw()
+static void convert( const drawing::GluePoint2& rUnoGlue, SdrGluePoint& rSdrGlue ) noexcept
{
rSdrGlue.SetPos( Point( rUnoGlue.Position.X, rUnoGlue.Position.Y ) );
rSdrGlue.SetPercent( rUnoGlue.IsRelative );
@@ -196,7 +196,7 @@ static void convert( const drawing::GluePoint2& rUnoGlue, SdrGluePoint& rSdrGlue
}
}
-SvxUnoGluePointAccess::SvxUnoGluePointAccess( SdrObject* pObject ) throw()
+SvxUnoGluePointAccess::SvxUnoGluePointAccess( SdrObject* pObject ) noexcept
: mpObject( pObject )
{
}
diff --git a/svx/source/unodraw/shapeimpl.hxx b/svx/source/unodraw/shapeimpl.hxx
index b2abe9f074aa..0ccf22071194 100644
--- a/svx/source/unodraw/shapeimpl.hxx
+++ b/svx/source/unodraw/shapeimpl.hxx
@@ -26,7 +26,7 @@ class SvxShapeCaption : public SvxShapeText
{
public:
explicit SvxShapeCaption(SdrObject* pObj);
- virtual ~SvxShapeCaption() throw() override;
+ virtual ~SvxShapeCaption() noexcept override;
};
class SvxPluginShape : public SvxOle2Shape
{
@@ -37,7 +37,7 @@ protected:
public:
explicit SvxPluginShape(SdrObject* pObj);
- virtual ~SvxPluginShape() throw() override;
+ virtual ~SvxPluginShape() noexcept override;
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
using SvxUnoTextRangeBase::setPropertyValue;
@@ -55,7 +55,7 @@ protected:
public:
explicit SvxAppletShape(SdrObject* pObj);
- virtual ~SvxAppletShape() throw() override;
+ virtual ~SvxAppletShape() noexcept override;
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
using SvxUnoTextRangeBase::setPropertyValue;
@@ -74,7 +74,7 @@ protected:
public:
explicit SvxFrameShape(SdrObject* pObj);
- virtual ~SvxFrameShape() throw() override;
+ virtual ~SvxFrameShape() noexcept override;
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
using SvxUnoTextRangeBase::setPropertyValue;
@@ -98,7 +98,7 @@ protected:
public:
explicit SvxTableShape(SdrObject* pObj);
- virtual ~SvxTableShape() throw() override;
+ virtual ~SvxTableShape() noexcept override;
};
SvxUnoPropertyMapProvider& getSvxMapProvider();
diff --git a/svx/source/unodraw/tableshape.cxx b/svx/source/unodraw/tableshape.cxx
index 31bf7d756b45..69823ea3043b 100644
--- a/svx/source/unodraw/tableshape.cxx
+++ b/svx/source/unodraw/tableshape.cxx
@@ -41,7 +41,7 @@ SvxTableShape::SvxTableShape(SdrObject* pObj)
SetShapeType( "com.sun.star.drawing.TableShape" );
}
-SvxTableShape::~SvxTableShape() throw()
+SvxTableShape::~SvxTableShape() noexcept
{
}
diff --git a/svx/source/unodraw/unobtabl.cxx b/svx/source/unodraw/unobtabl.cxx
index 0b3dae21f2d4..bba7bdbff24f 100644
--- a/svx/source/unodraw/unobtabl.cxx
+++ b/svx/source/unodraw/unobtabl.cxx
@@ -34,7 +34,7 @@ namespace {
class SvxUnoBitmapTable : public SvxUnoNameItemTable
{
public:
- explicit SvxUnoBitmapTable( SdrModel* pModel ) throw();
+ explicit SvxUnoBitmapTable( SdrModel* pModel ) noexcept;
virtual NameOrIndex* createItem() const override;
virtual bool isValid( const NameOrIndex* pItem ) const override;
@@ -49,7 +49,7 @@ public:
}
-SvxUnoBitmapTable::SvxUnoBitmapTable( SdrModel* pModel ) throw()
+SvxUnoBitmapTable::SvxUnoBitmapTable( SdrModel* pModel ) noexcept
: SvxUnoNameItemTable( pModel, XATTR_FILLBITMAP, MID_BITMAP )
{
}
diff --git a/svx/source/unodraw/unodtabl.cxx b/svx/source/unodraw/unodtabl.cxx
index 7809f5889bd0..c460bbd7ca30 100644
--- a/svx/source/unodraw/unodtabl.cxx
+++ b/svx/source/unodraw/unodtabl.cxx
@@ -34,7 +34,7 @@ namespace
class SvxUnoDashTable : public SvxUnoNameItemTable
{
public:
- explicit SvxUnoDashTable(SdrModel* pModel) throw();
+ explicit SvxUnoDashTable(SdrModel* pModel) noexcept;
virtual NameOrIndex* createItem() const override;
@@ -47,7 +47,7 @@ public:
};
}
-SvxUnoDashTable::SvxUnoDashTable(SdrModel* pModel) throw()
+SvxUnoDashTable::SvxUnoDashTable(SdrModel* pModel) noexcept
: SvxUnoNameItemTable(pModel, XATTR_LINEDASH, MID_LINEDASH)
{
}
diff --git a/svx/source/unodraw/unogtabl.cxx b/svx/source/unodraw/unogtabl.cxx
index 2826105b42a4..7939ccfd0e89 100644
--- a/svx/source/unodraw/unogtabl.cxx
+++ b/svx/source/unodraw/unogtabl.cxx
@@ -34,7 +34,7 @@ namespace
class SvxUnoGradientTable : public SvxUnoNameItemTable
{
public:
- explicit SvxUnoGradientTable(SdrModel* pModel) throw();
+ explicit SvxUnoGradientTable(SdrModel* pModel) noexcept;
virtual NameOrIndex* createItem() const override;
@@ -47,7 +47,7 @@ public:
};
}
-SvxUnoGradientTable::SvxUnoGradientTable(SdrModel* pModel) throw()
+SvxUnoGradientTable::SvxUnoGradientTable(SdrModel* pModel) noexcept
: SvxUnoNameItemTable(pModel, XATTR_FILLGRADIENT, MID_FILLGRADIENT)
{
}
diff --git a/svx/source/unodraw/unohtabl.cxx b/svx/source/unodraw/unohtabl.cxx
index 47cf857d08ec..cb36192bd06f 100644
--- a/svx/source/unodraw/unohtabl.cxx
+++ b/svx/source/unodraw/unohtabl.cxx
@@ -34,7 +34,7 @@ namespace {
class SvxUnoHatchTable : public SvxUnoNameItemTable
{
public:
- explicit SvxUnoHatchTable( SdrModel* pModel ) throw();
+ explicit SvxUnoHatchTable( SdrModel* pModel ) noexcept;
virtual NameOrIndex* createItem() const override;
@@ -48,7 +48,7 @@ public:
}
-SvxUnoHatchTable::SvxUnoHatchTable( SdrModel* pModel ) throw()
+SvxUnoHatchTable::SvxUnoHatchTable( SdrModel* pModel ) noexcept
: SvxUnoNameItemTable( pModel, XATTR_FILLHATCH, MID_FILLHATCH )
{
}
diff --git a/svx/source/unodraw/unomlstr.cxx b/svx/source/unodraw/unomlstr.cxx
index b040dc179347..781b3dc385e8 100644
--- a/svx/source/unodraw/unomlstr.cxx
+++ b/svx/source/unodraw/unomlstr.cxx
@@ -24,12 +24,12 @@
using namespace ::com::sun::star;
-SvxUnoShapeModifyListener::SvxUnoShapeModifyListener( SdrObject* pObj ) throw()
+SvxUnoShapeModifyListener::SvxUnoShapeModifyListener( SdrObject* pObj ) noexcept
{
mpObj = pObj;
}
-SvxUnoShapeModifyListener::~SvxUnoShapeModifyListener() throw()
+SvxUnoShapeModifyListener::~SvxUnoShapeModifyListener() noexcept
{
}
@@ -51,7 +51,7 @@ void SvxUnoShapeModifyListener::disposing(const lang::EventObject& )
}
// internal
-void SvxUnoShapeModifyListener::invalidate() throw()
+void SvxUnoShapeModifyListener::invalidate() noexcept
{
mpObj = nullptr;
}
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index dcdc1b0983a1..784fc59d2e83 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -71,7 +71,7 @@ private:
SvxUnoDrawingModel& mrModel;
public:
- explicit SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) throw();
+ explicit SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) noexcept;
// XDrawPages
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) override;
@@ -225,7 +225,7 @@ SdrModel& SvxUnoDrawingModel::getSdrModelFromUnoModel() const
return *mpDoc;
}
-SvxUnoDrawingModel::SvxUnoDrawingModel(SdrModel* pDoc) throw()
+SvxUnoDrawingModel::SvxUnoDrawingModel(SdrModel* pDoc) noexcept
: SfxBaseModel(nullptr),
SvxFmMSFactory(),
css::drawing::XDrawPagesSupplier(),
@@ -243,7 +243,7 @@ SvxUnoDrawingModel::SvxUnoDrawingModel(SdrModel* pDoc) throw()
{
}
-SvxUnoDrawingModel::~SvxUnoDrawingModel() throw()
+SvxUnoDrawingModel::~SvxUnoDrawingModel() noexcept
{
}
@@ -530,7 +530,7 @@ uno::Reference< css::ucb::XAnyCompare > SAL_CALL SvxUnoDrawingModel::createAnyCo
return SvxCreateNumRuleCompare();
}
-SvxUnoDrawPagesAccess::SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) throw()
+SvxUnoDrawPagesAccess::SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) noexcept
: mrModel(rMyModel)
{
}
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx
index 4e9de869ab40..d57e9665156f 100644
--- a/svx/source/unodraw/unomtabl.cxx
+++ b/svx/source/unodraw/unomtabl.cxx
@@ -61,13 +61,13 @@ private:
ItemPoolVector maItemSetVector;
public:
- explicit SvxUnoMarkerTable( SdrModel* pModel ) throw();
- virtual ~SvxUnoMarkerTable() throw() override;
+ explicit SvxUnoMarkerTable( SdrModel* pModel ) noexcept;
+ virtual ~SvxUnoMarkerTable() noexcept override;
void dispose();
// SfxListener
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) throw () override;
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) noexcept override;
void ImplInsertByName( const OUString& aName, const uno::Any& aElement );
@@ -95,7 +95,7 @@ public:
}
-SvxUnoMarkerTable::SvxUnoMarkerTable( SdrModel* pModel ) throw()
+SvxUnoMarkerTable::SvxUnoMarkerTable( SdrModel* pModel ) noexcept
: mpModel( pModel ),
mpModelPool( pModel ? &pModel->GetItemPool() : nullptr )
{
@@ -103,7 +103,7 @@ SvxUnoMarkerTable::SvxUnoMarkerTable( SdrModel* pModel ) throw()
StartListening( *pModel );
}
-SvxUnoMarkerTable::~SvxUnoMarkerTable() throw()
+SvxUnoMarkerTable::~SvxUnoMarkerTable() noexcept
{
if( mpModel )
EndListening( *mpModel );
@@ -116,7 +116,7 @@ void SvxUnoMarkerTable::dispose()
}
// SfxListener
-void SvxUnoMarkerTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) throw()
+void SvxUnoMarkerTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) noexcept
{
if (rHint.GetId() == SfxHintId::ThisIsAnSdrHint)
{
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 00be46da451d..0cc4f7d954e5 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -71,7 +71,7 @@ SvxDrawPage::SvxDrawPage(SdrPage* pInPage) // TTTT should be reference
mpView->SetDesignMode();
}
-SvxDrawPage::~SvxDrawPage() throw()
+SvxDrawPage::~SvxDrawPage() noexcept
{
if( !mrBHelper.bDisposed )
{
@@ -82,13 +82,13 @@ SvxDrawPage::~SvxDrawPage() throw()
}
// XInterface
-void SvxDrawPage::release() throw()
+void SvxDrawPage::release() noexcept
{
OWeakAggObject::release();
}
// XComponent
-void SvxDrawPage::disposing() throw()
+void SvxDrawPage::disposing() noexcept
{
if( mpModel )
{
@@ -396,7 +396,7 @@ namespace
// ATTENTION: SelectObjectsInView selects the css::drawing::Shapes
// only in the given SdrPageView. It hasn't to be the visible SdrPageView.
-void SvxDrawPage::SelectObjectsInView( const Reference< drawing::XShapes > & aShapes, SdrPageView* pPageView ) throw ()
+void SvxDrawPage::SelectObjectsInView( const Reference< drawing::XShapes > & aShapes, SdrPageView* pPageView ) noexcept
{
SAL_WARN_IF(!pPageView, "svx", "SdrPageView is NULL!");
SAL_WARN_IF(!mpView, "svx", "SdrView is NULL!");
@@ -418,7 +418,7 @@ void SvxDrawPage::SelectObjectsInView( const Reference< drawing::XShapes > & aSh
// ATTENTION: SelectObjectInView selects the shape only in the given SdrPageView.
// It hasn't to be the visible SdrPageView.
-void SvxDrawPage::SelectObjectInView( const Reference< drawing::XShape > & xShape, SdrPageView* pPageView ) throw()
+void SvxDrawPage::SelectObjectInView( const Reference< drawing::XShape > & xShape, SdrPageView* pPageView ) noexcept
{
SAL_WARN_IF(!pPageView, "svx", "SdrPageView is NULL!");
SAL_WARN_IF(!mpView, "svx", "SdrView is NULL!");
@@ -561,7 +561,7 @@ SdrObject* SvxDrawPage::CreateSdrObject_(const Reference< drawing::XShape > & xS
return pNewObj;
}
-void SvxDrawPage::GetTypeAndInventor( SdrObjKind& rType, SdrInventor& rInventor, const OUString& aName ) throw()
+void SvxDrawPage::GetTypeAndInventor( SdrObjKind& rType, SdrInventor& rInventor, const OUString& aName ) noexcept
{
sal_uInt32 nTempType = UHashMap::getId( aName );
@@ -827,7 +827,7 @@ Reference< drawing::XShape > SvxDrawPage::CreateShape( SdrObject *pObj ) const
return xShape;
}
-SdrObject *SvxDrawPage::CreateSdrObject( const Reference< drawing::XShape > & xShape, bool bBeginning ) throw()
+SdrObject *SvxDrawPage::CreateSdrObject( const Reference< drawing::XShape > & xShape, bool bBeginning ) noexcept
{
SdrObject* pObj = CreateSdrObject_( xShape );
if( pObj)
@@ -867,7 +867,7 @@ rtl::Reference<SvxShape> CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, SdrIn
}
/** returns a StarOffice API wrapper for the given SdrPage */
-uno::Reference< drawing::XDrawPage > GetXDrawPageForSdrPage( SdrPage* pPage ) throw ()
+uno::Reference< drawing::XDrawPage > GetXDrawPageForSdrPage( SdrPage* pPage ) noexcept
{
if(pPage)
{
@@ -880,7 +880,7 @@ uno::Reference< drawing::XDrawPage > GetXDrawPageForSdrPage( SdrPage* pPage ) th
}
/** returns the SdrObject from the given StarOffice API wrapper */
-SdrPage* GetSdrPageFromXDrawPage( const uno::Reference< drawing::XDrawPage >& xDrawPage ) throw()
+SdrPage* GetSdrPageFromXDrawPage( const uno::Reference< drawing::XDrawPage >& xDrawPage ) noexcept
{
if(xDrawPage.is())
{
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx
index ec293ac1bf55..79ca1c1f951e 100644
--- a/svx/source/unodraw/unopool.cxx
+++ b/svx/source/unodraw/unopool.cxx
@@ -52,7 +52,7 @@ SvxUnoDrawPool::SvxUnoDrawPool(SdrModel* pModel)
init();
}
-SvxUnoDrawPool::~SvxUnoDrawPool() throw()
+SvxUnoDrawPool::~SvxUnoDrawPool() noexcept
{
if (mpDefaultsPool)
{
@@ -73,7 +73,7 @@ void SvxUnoDrawPool::init()
mpDefaultsPool->FreezeIdRanges();
}
-SfxItemPool* SvxUnoDrawPool::getModelPool( bool bReadOnly ) throw()
+SfxItemPool* SvxUnoDrawPool::getModelPool( bool bReadOnly ) noexcept
{
if( mpModel )
{
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx
index 865380d2a0c8..07a0aeffaa17 100644
--- a/svx/source/unodraw/unoprov.cxx
+++ b/svx/source/unodraw/unoprov.cxx
@@ -954,7 +954,7 @@ const SvxItemPropertySet* SvxUnoPropertyMapProvider::GetPropertySet(sal_uInt16 n
/** maps the vcl MapUnit enum to an API constant MeasureUnit.
Returns false if conversion is not supported.
*/
-bool SvxMapUnitToMeasureUnit( const MapUnit eVcl, short& eApi ) throw()
+bool SvxMapUnitToMeasureUnit( const MapUnit eVcl, short& eApi ) noexcept
{
switch( eVcl )
{
@@ -980,7 +980,7 @@ bool SvxMapUnitToMeasureUnit( const MapUnit eVcl, short& eApi ) throw()
Returns false if conversion is not supported.
*/
-bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& eVcl ) throw()
+bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& eVcl ) noexcept
{
switch( eApi )
{
@@ -1006,7 +1006,7 @@ bool SvxMeasureUnitToFieldUnit( const short eApi, FieldUnit& eVcl ) throw()
/** maps the vcl MapUnit enum to an API constant MeasureUnit.
Returns false if conversion is not supported.
*/
-bool SvxFieldUnitToMeasureUnit( const FieldUnit eVcl, short& eApi ) throw()
+bool SvxFieldUnitToMeasureUnit( const FieldUnit eVcl, short& eApi ) noexcept
{
switch( eVcl )
{
@@ -1575,7 +1575,7 @@ static const char* RID_SVXSTR_TRASNGR[] =
RID_SVXSTR_TRASNGR0
};
-static bool SvxUnoGetResourceRanges( const sal_uInt16 nWhich, const char**& pApiResIds, const char**& pIntResIds, int& nCount ) throw()
+static bool SvxUnoGetResourceRanges( const sal_uInt16 nWhich, const char**& pApiResIds, const char**& pIntResIds, int& nCount ) noexcept
{
switch( nWhich )
{
@@ -2013,7 +2013,7 @@ OUString SvxUnogetInternalNameForItem(const sal_uInt16 nWhich, const OUString& r
}
-rtl::Reference<comphelper::PropertySetInfo> const & SvxPropertySetInfoPool::getOrCreate( sal_Int32 nServiceId ) throw()
+rtl::Reference<comphelper::PropertySetInfo> const & SvxPropertySetInfoPool::getOrCreate( sal_Int32 nServiceId ) noexcept
{
SolarMutexGuard aGuard;
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index bf339a0930d1..5fa0596ef98c 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -84,7 +84,7 @@ SvxShapeGroup::SvxShapeGroup(SdrObject* pObj, SvxDrawPage* pDrawPage)
{
}
-SvxShapeGroup::~SvxShapeGroup() throw()
+SvxShapeGroup::~SvxShapeGroup() noexcept
{
}
@@ -338,7 +338,7 @@ SvxShapeConnector::SvxShapeConnector(SdrObject* pObj)
}
-SvxShapeConnector::~SvxShapeConnector() throw()
+SvxShapeConnector::~SvxShapeConnector() noexcept
{
}
@@ -461,7 +461,7 @@ SvxShapeControl::SvxShapeControl(SdrObject* pObj)
}
-SvxShapeControl::~SvxShapeControl() throw()
+SvxShapeControl::~SvxShapeControl() noexcept
{
}
@@ -869,7 +869,7 @@ SvxShapeDimensioning::SvxShapeDimensioning(SdrObject* pObj)
{
}
-SvxShapeDimensioning::~SvxShapeDimensioning() throw()
+SvxShapeDimensioning::~SvxShapeDimensioning() noexcept
{
}
@@ -878,7 +878,7 @@ SvxShapeCircle::SvxShapeCircle(SdrObject* pObj)
{
}
-SvxShapeCircle::~SvxShapeCircle() throw()
+SvxShapeCircle::~SvxShapeCircle() noexcept
{
}
@@ -893,7 +893,7 @@ SvxShapePolyPolygon::SvxShapePolyPolygon(
{
}
-SvxShapePolyPolygon::~SvxShapePolyPolygon() throw()
+SvxShapePolyPolygon::~SvxShapePolyPolygon() noexcept
{
}
@@ -1144,7 +1144,7 @@ void SvxShapePolyPolygon::SetPolygon(const basegfx::B2DPolyPolygon& rNew)
}
-basegfx::B2DPolyPolygon SvxShapePolyPolygon::GetPolygon() const throw()
+basegfx::B2DPolyPolygon SvxShapePolyPolygon::GetPolygon() const noexcept
{
::SolarMutexGuard aGuard;
@@ -1165,7 +1165,7 @@ SvxGraphicObject::SvxGraphicObject(SdrObject* pObj)
{
}
-SvxGraphicObject::~SvxGraphicObject() throw()
+SvxGraphicObject::~SvxGraphicObject() noexcept
{
}
@@ -1556,7 +1556,7 @@ SvxShapeCaption::SvxShapeCaption(SdrObject* pObj)
{
}
-SvxShapeCaption::~SvxShapeCaption() throw()
+SvxShapeCaption::~SvxShapeCaption() noexcept
{
}
@@ -1565,7 +1565,7 @@ SvxCustomShape::SvxCustomShape(SdrObject* pObj)
{
}
-SvxCustomShape::~SvxCustomShape() throw()
+SvxCustomShape::~SvxCustomShape() noexcept
{
}
diff --git a/svx/source/unodraw/unoshap3.cxx b/svx/source/unodraw/unoshap3.cxx
index 10a9c398f02c..ad8286f1e97a 100644
--- a/svx/source/unodraw/unoshap3.cxx
+++ b/svx/source/unodraw/unoshap3.cxx
@@ -69,7 +69,7 @@ Svx3DSceneObject::Svx3DSceneObject(SdrObject* pObj, SvxDrawPage* pDrawPage)
}
-Svx3DSceneObject::~Svx3DSceneObject() throw()
+Svx3DSceneObject::~Svx3DSceneObject() noexcept
{
}
@@ -408,7 +408,7 @@ Svx3DCubeObject::Svx3DCubeObject(SdrObject* pObj)
{
}
-Svx3DCubeObject::~Svx3DCubeObject() throw()
+Svx3DCubeObject::~Svx3DCubeObject() noexcept
{
}
@@ -529,7 +529,7 @@ Svx3DSphereObject::Svx3DSphereObject(SdrObject* pObj)
{
}
-Svx3DSphereObject::~Svx3DSphereObject() throw()
+Svx3DSphereObject::~Svx3DSphereObject() noexcept
{
}
@@ -634,7 +634,7 @@ Svx3DLatheObject::Svx3DLatheObject(SdrObject* pObj)
{
}
-Svx3DLatheObject::~Svx3DLatheObject() throw()
+Svx3DLatheObject::~Svx3DLatheObject() noexcept
{
}
@@ -814,7 +814,7 @@ Svx3DExtrudeObject::Svx3DExtrudeObject(SdrObject* pObj)
{
}
-Svx3DExtrudeObject::~Svx3DExtrudeObject() throw()
+Svx3DExtrudeObject::~Svx3DExtrudeObject() noexcept
{
}
@@ -897,7 +897,7 @@ Svx3DPolygonObject::Svx3DPolygonObject(SdrObject* pObj)
{
}
-Svx3DPolygonObject::~Svx3DPolygonObject() throw()
+Svx3DPolygonObject::~Svx3DPolygonObject() noexcept
{
}
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index f1099f2c150f..9274a60a2e28 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -73,7 +73,7 @@ SvxOle2Shape::SvxOle2Shape(SdrObject* pObject, const SfxItemPropertyMapEntry* pP
{
}
-SvxOle2Shape::~SvxOle2Shape() throw()
+SvxOle2Shape::~SvxOle2Shape() noexcept
{
}
@@ -554,7 +554,7 @@ SvxAppletShape::SvxAppletShape(SdrObject* pObject)
SetShapeType( "com.sun.star.drawing.AppletShape" );
}
-SvxAppletShape::~SvxAppletShape() throw()
+SvxAppletShape::~SvxAppletShape() noexcept
{
}
@@ -625,7 +625,7 @@ SvxPluginShape::SvxPluginShape(SdrObject* pObject)
SetShapeType( "com.sun.star.drawing.PluginShape" );
}
-SvxPluginShape::~SvxPluginShape() throw()
+SvxPluginShape::~SvxPluginShape() noexcept
{
}
@@ -697,7 +697,7 @@ SvxFrameShape::SvxFrameShape(SdrObject* pObject)
SetShapeType( "com.sun.star.drawing.FrameShape" );
}
-SvxFrameShape::~SvxFrameShape() throw()
+SvxFrameShape::~SvxFrameShape() noexcept
{
}
@@ -770,7 +770,7 @@ SvxMediaShape::SvxMediaShape(SdrObject* pObj, OUString const & referer)
}
-SvxMediaShape::~SvxMediaShape() throw()
+SvxMediaShape::~SvxMediaShape() noexcept
{
}
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 972879ae4336..1c6d3c9c451c 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -223,7 +223,7 @@ SvxShape::SvxShape( SdrObject* pObject, const SfxItemPropertyMapEntry* pEntries,
}
-SvxShape::~SvxShape() throw()
+SvxShape::~SvxShape() noexcept
{
::SolarMutexGuard aGuard;
@@ -308,7 +308,7 @@ uno::Any SAL_CALL SvxShape::queryAggregation( const uno::Type& rType )
return SvxShape_UnoImplHelper::queryAggregation(rType);
}
-const css::uno::Sequence< sal_Int8 > & SvxShape::getUnoTunnelId() throw()
+const css::uno::Sequence< sal_Int8 > & SvxShape::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSvxShapeUnoTunnelId;
return theSvxShapeUnoTunnelId.getSeq();
@@ -449,7 +449,7 @@ void SvxShape::Create( SdrObject* pNewObj, SvxDrawPage* /*pNewPage*/ )
}
}
-void SvxShape::ForceMetricToItemPoolMetric(Pair& rPoint) const throw()
+void SvxShape::ForceMetricToItemPoolMetric(Pair& rPoint) const noexcept
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
@@ -470,7 +470,7 @@ void SvxShape::ForceMetricToItemPoolMetric(Pair& rPoint) const throw()
}
}
-void SvxShape::ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const throw()
+void SvxShape::ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
@@ -491,7 +491,7 @@ void SvxShape::ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon
}
}
-void SvxShape::ForceMetricToItemPoolMetric(basegfx::B2DHomMatrix& rB2DHomMatrix) const throw()
+void SvxShape::ForceMetricToItemPoolMetric(basegfx::B2DHomMatrix& rB2DHomMatrix) const noexcept
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
@@ -517,7 +517,7 @@ void SvxShape::ForceMetricToItemPoolMetric(basegfx::B2DHomMatrix& rB2DHomMatrix)
}
}
-void SvxShape::ForceMetricTo100th_mm(Pair& rPoint) const throw()
+void SvxShape::ForceMetricTo100th_mm(Pair& rPoint) const noexcept
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
@@ -538,7 +538,7 @@ void SvxShape::ForceMetricTo100th_mm(Pair& rPoint) const throw()
}
}
-void SvxShape::ForceMetricTo100th_mm(basegfx::B2DPolyPolygon& rPolyPolygon) const throw()
+void SvxShape::ForceMetricTo100th_mm(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
@@ -559,7 +559,7 @@ void SvxShape::ForceMetricTo100th_mm(basegfx::B2DPolyPolygon& rPolyPolygon) cons
}
}
-void SvxShape::ForceMetricTo100th_mm(basegfx::B2DHomMatrix& rB2DHomMatrix) const throw()
+void SvxShape::ForceMetricTo100th_mm(basegfx::B2DHomMatrix& rB2DHomMatrix) const noexcept
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
@@ -989,7 +989,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SvxShape::getImplementationId()
return css::uno::Sequence<sal_Int8>();
}
-void SvxShape::Notify( SfxBroadcaster&, const SfxHint& rHint ) throw()
+void SvxShape::Notify( SfxBroadcaster&, const SfxHint& rHint ) noexcept
{
DBG_TESTSOLARMUTEX();
@@ -3745,7 +3745,7 @@ SvxShapeText::SvxShapeText(SdrObject* pObject, const SfxItemPropertyMapEntry* pP
}
-SvxShapeText::~SvxShapeText() throw ()
+SvxShapeText::~SvxShapeText() noexcept
{
// check if only this instance is registered at the ranges
DBG_ASSERT( (nullptr == GetEditSource()) || (GetEditSource()->getRanges().size()==1),
@@ -3929,7 +3929,7 @@ SvxShapeRect::SvxShapeRect(SdrObject* pObj)
{
}
-SvxShapeRect::~SvxShapeRect() throw()
+SvxShapeRect::~SvxShapeRect() noexcept
{
}
@@ -3951,14 +3951,14 @@ uno::Sequence< OUString > SvxShapeRect::getSupportedServiceNames()
}
/** returns a StarOffice API wrapper for the given SdrObject */
-uno::Reference< drawing::XShape > GetXShapeForSdrObject( SdrObject* pObj ) throw ()
+uno::Reference< drawing::XShape > GetXShapeForSdrObject( SdrObject* pObj ) noexcept
{
uno::Reference< drawing::XShape > xShape( pObj->getUnoShape(), uno::UNO_QUERY );
return xShape;
}
/** returns the SdrObject from the given StarOffice API wrapper */
-SdrObject* GetSdrObjectFromXShape( const uno::Reference< drawing::XShape >& xShape ) throw()
+SdrObject* GetSdrObjectFromXShape( const uno::Reference< drawing::XShape >& xShape ) noexcept
{
SvxShape* pShape = comphelper::getUnoTunnelImplementation<SvxShape>( xShape );
return pShape ? pShape->GetSdrObject() : nullptr;
diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx
index b1f3a4f4a10e..616f05151e8f 100644
--- a/svx/source/unodraw/unoshcol.cxx
+++ b/svx/source/unodraw/unoshcol.cxx
@@ -52,10 +52,10 @@ private:
cppu::OBroadcastHelper mrBHelper;
public:
- SvxShapeCollection() throw();
+ SvxShapeCollection() noexcept;
// XInterface
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XComponent
virtual void SAL_CALL dispose() override;
@@ -80,13 +80,13 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-SvxShapeCollection::SvxShapeCollection() throw()
+SvxShapeCollection::SvxShapeCollection() noexcept
: maShapeContainer( maMutex ), mrBHelper( maMutex )
{
}
// XInterface
-void SvxShapeCollection::release() throw()
+void SvxShapeCollection::release() noexcept
{
uno::Reference< uno::XInterface > x( xDelegator );
if (! x.is())
diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx
index 45ce44f96c20..6233bccb9a0b 100644
--- a/svx/source/unodraw/unottabl.cxx
+++ b/svx/source/unodraw/unottabl.cxx
@@ -33,7 +33,7 @@ namespace
class SvxUnoTransGradientTable : public SvxUnoNameItemTable
{
public:
- explicit SvxUnoTransGradientTable(SdrModel* pModel) throw();
+ explicit SvxUnoTransGradientTable(SdrModel* pModel) noexcept;
virtual NameOrIndex* createItem() const override;
@@ -46,7 +46,7 @@ public:
};
}
-SvxUnoTransGradientTable::SvxUnoTransGradientTable(SdrModel* pModel) throw()
+SvxUnoTransGradientTable::SvxUnoTransGradientTable(SdrModel* pModel) noexcept
: SvxUnoNameItemTable(pModel, XATTR_FILLFLOATTRANSPARENCE, MID_FILLGRADIENT)
{
}
diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx
index 0116a25a94ca..0a40fb05d19b 100644
--- a/svx/source/unogallery/unogalitem.cxx
+++ b/svx/source/unogallery/unogalitem.cxx
@@ -56,7 +56,7 @@ GalleryItem::GalleryItem( ::unogallery::GalleryTheme& rTheme, const GalleryObjec
GalleryItem::~GalleryItem()
- throw()
+ noexcept
{
if( mpTheme )
mpTheme->implDeregisterGalleryItem( *this );
@@ -99,14 +99,14 @@ uno::Any SAL_CALL GalleryItem::queryInterface( const uno::Type & rType )
void SAL_CALL GalleryItem::acquire()
- throw()
+ noexcept
{
OWeakAggObject::acquire();
}
void SAL_CALL GalleryItem::release()
- throw()
+ noexcept
{
OWeakAggObject::release();
}
@@ -350,14 +350,14 @@ void GalleryItem::implSetInvalid()
GalleryDrawingModel::GalleryDrawingModel( SdrModel* pDoc )
- throw() :
+ noexcept :
SvxUnoDrawingModel( pDoc )
{
}
GalleryDrawingModel::~GalleryDrawingModel()
- throw()
+ noexcept
{
delete GetDoc();
}
diff --git a/svx/source/unogallery/unogalitem.hxx b/svx/source/unogallery/unogalitem.hxx
index 2b27c18435a4..42bc0ba603cf 100644
--- a/svx/source/unogallery/unogalitem.hxx
+++ b/svx/source/unogallery/unogalitem.hxx
@@ -46,7 +46,7 @@ class GalleryItem final : public ::cppu::OWeakAggObject,
public:
GalleryItem( ::unogallery::GalleryTheme& rTheme, const GalleryObject& rObject );
- virtual ~GalleryItem() throw() override;
+ virtual ~GalleryItem() noexcept override;
bool isValid() const;
@@ -55,8 +55,8 @@ private:
// 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -91,8 +91,8 @@ class GalleryDrawingModel : public SvxUnoDrawingModel
{
public:
- explicit GalleryDrawingModel( SdrModel* pDoc ) throw();
- virtual ~GalleryDrawingModel() throw() override;
+ explicit GalleryDrawingModel( SdrModel* pDoc ) noexcept;
+ virtual ~GalleryDrawingModel() noexcept override;
UNO3_GETIMPLEMENTATION_DECL( GalleryDrawingModel )
};
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index d16e5fc523a2..2fcc46d89197 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -309,7 +309,7 @@ bool SvxXMLXTableExportComponent::save(
return bRet;
}
-bool SvxXMLXTableExportComponent::exportTable() throw()
+bool SvxXMLXTableExportComponent::exportTable() noexcept
{
bool bRet = false;
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index c7160d414e40..f3d0785e0fdb 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -312,7 +312,7 @@ SvxXMLXTableImport::SvxXMLXTableImport(
XML_NAMESPACE_DRAW );
}
-SvxXMLXTableImport::~SvxXMLXTableImport() throw ()
+SvxXMLXTableImport::~SvxXMLXTableImport() noexcept
{
}
@@ -328,7 +328,7 @@ static void openStorageStream( xml::sax::InputSource *pParserInput,
bool SvxXMLXTableImport::load( const OUString &rPath, const OUString &rReferer,
const uno::Reference < embed::XStorage > &xStorage,
const uno::Reference< XNameContainer >& xTable,
- bool *bOptLoadedFromStorage ) throw()
+ bool *bOptLoadedFromStorage ) noexcept
{
bool bRet = true;
rtl::Reference<SvXMLGraphicHelper> xGraphicHelper;
diff --git a/sw/inc/SwXMLSectionList.hxx b/sw/inc/SwXMLSectionList.hxx
index 99255b85df6c..e05eeb3a6be1 100644
--- a/sw/inc/SwXMLSectionList.hxx
+++ b/sw/inc/SwXMLSectionList.hxx
@@ -30,7 +30,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rContext,
std::vector<OUString> & rNewSectionList);
- virtual ~SwXMLSectionList ( ) throw() override;
+ virtual ~SwXMLSectionList ( ) noexcept override;
private:
virtual SvXMLImportContext *CreateFastContext( sal_Int32 Element,
diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx
index e9e69318cdea..e4e5f3a40272 100644
--- a/sw/inc/unodraw.hxx
+++ b/sw/inc/unodraw.hxx
@@ -46,7 +46,7 @@ class SwFmDrawPage final : public SvxFmDrawPage
std::vector<SwXShape*> m_vShapes;
public:
SwFmDrawPage( SdrPage* pPage );
- virtual ~SwFmDrawPage() throw () override;
+ virtual ~SwFmDrawPage() noexcept override;
const SdrMarkList& PreGroup(const css::uno::Reference< css::drawing::XShapes >& rShapes);
void PreUnGroup(const css::uno::Reference< css::drawing::XShapeGroup >& rShapeGroup);
@@ -271,8 +271,8 @@ public:
SwXGroupShape(css::uno::Reference<css::uno::XInterface> & xShape, SwDoc const* pDoc);
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
//XShapes
virtual void SAL_CALL add( const css::uno::Reference< css::drawing::XShape >& xShape ) override;
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx
index 592c97378a0a..4da5dde9ec79 100644
--- a/sw/inc/unoframe.hxx
+++ b/sw/inc/unoframe.hxx
@@ -194,8 +194,8 @@ public:
using SwXText::SetDoc;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
diff --git a/sw/inc/unoredline.hxx b/sw/inc/unoredline.hxx
index e32f181fe329..6241ee404803 100644
--- a/sw/inc/unoredline.hxx
+++ b/sw/inc/unoredline.hxx
@@ -43,8 +43,8 @@ public:
SwXRedlineText(SwDoc* pDoc, const SwNodeIndex& aNodeIndex);
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw() override {OWeakObject::acquire();}
- virtual void SAL_CALL release( ) throw() override {OWeakObject::release();}
+ virtual void SAL_CALL acquire( ) noexcept override {OWeakObject::acquire();}
+ virtual void SAL_CALL release( ) noexcept override {OWeakObject::release();}
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
@@ -76,8 +76,8 @@ public:
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw() override {OWeakObject::acquire();}
- virtual void SAL_CALL release( ) throw() override {OWeakObject::release();}
+ virtual void SAL_CALL acquire( ) noexcept override {OWeakObject::acquire();}
+ virtual void SAL_CALL release( ) noexcept override {OWeakObject::release();}
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index bcea846578d2..49f19ae8395c 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -96,8 +96,8 @@ public:
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
diff --git a/sw/inc/unotextbodyhf.hxx b/sw/inc/unotextbodyhf.hxx
index 7bbffae58d20..fbccc982ef04 100644
--- a/sw/inc/unotextbodyhf.hxx
+++ b/sw/inc/unotextbodyhf.hxx
@@ -53,8 +53,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& rType) override;
- virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OWeakObject::release(); }
// XAggregation
virtual css::uno::Any SAL_CALL queryAggregation(
@@ -118,8 +118,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& rType) override;
- virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OWeakObject::release(); }
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type >
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index b03d59cffd95..bac33118dd71 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -212,8 +212,8 @@ public:
void NotifyRefreshListeners();
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
//XWeak
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter( ) override;
diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx
index 4caa25cad5d4..5b5d067ab1fd 100644
--- a/sw/source/core/access/acccell.hxx
+++ b/sw/source/core/access/acccell.hxx
@@ -91,10 +91,10 @@ public:
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ SwAccessibleContext::acquire(); };
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ SwAccessibleContext::release(); };
// XTypeProvider
diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx
index 15d65eb92e01..6f16cc585f90 100644
--- a/sw/source/core/access/accdoc.hxx
+++ b/sw/source/core/access/accdoc.hxx
@@ -132,10 +132,10 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ SwAccessibleContext::acquire(); };
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ SwAccessibleContext::release(); };
// XTypeProvider
diff --git a/sw/source/core/access/accembedded.cxx b/sw/source/core/access/accembedded.cxx
index 7f1b59ffc6c6..1eb54cf25878 100644
--- a/sw/source/core/access/accembedded.cxx
+++ b/sw/source/core/access/accembedded.cxx
@@ -57,14 +57,14 @@ css::uno::Any SAL_CALL
void SAL_CALL
SwAccessibleEmbeddedObject::acquire()
- throw ()
+ noexcept
{
SwAccessibleNoTextFrame::acquire ();
}
void SAL_CALL
SwAccessibleEmbeddedObject::release()
- throw ()
+ noexcept
{
SwAccessibleNoTextFrame::release ();
}
diff --git a/sw/source/core/access/accembedded.hxx b/sw/source/core/access/accembedded.hxx
index 86fdcc9cd5e5..ce82af9e2bbe 100644
--- a/sw/source/core/access/accembedded.hxx
+++ b/sw/source/core/access/accembedded.hxx
@@ -41,11 +41,11 @@ public:
virtual void SAL_CALL
acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw () override;
+ noexcept override;
// XServiceInfo
diff --git a/sw/source/core/access/accnotextframe.hxx b/sw/source/core/access/accnotextframe.hxx
index 21d3bcbe0968..13680ffa5f8a 100644
--- a/sw/source/core/access/accnotextframe.hxx
+++ b/sw/source/core/access/accnotextframe.hxx
@@ -66,10 +66,10 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ SwAccessibleContext::acquire(); };
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ SwAccessibleContext::release(); };
// XTypeProvider
diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx
index dade5606d0ea..ade2df47decf 100644
--- a/sw/source/core/access/accpara.hxx
+++ b/sw/source/core/access/accpara.hxx
@@ -286,10 +286,10 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ SwAccessibleContext::acquire(); };
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ SwAccessibleContext::release(); };
// XTypeProvider
diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx
index a1207986c347..c31ecca95870 100644
--- a/sw/source/core/access/acctable.hxx
+++ b/sw/source/core/access/acctable.hxx
@@ -99,10 +99,10 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ SwAccessibleContext::acquire(); };
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ SwAccessibleContext::release(); };
// XTypeProvider
diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx
index d9e2e2bc4c96..e4671bd44eb9 100644
--- a/sw/source/core/access/acctextframe.cxx
+++ b/sw/source/core/access/acctextframe.cxx
@@ -138,14 +138,14 @@ css::uno::Any SAL_CALL
void SAL_CALL
SwAccessibleTextFrame::acquire()
- throw ()
+ noexcept
{
SwAccessibleContext::acquire ();
}
void SAL_CALL
SwAccessibleTextFrame::release()
- throw ()
+ noexcept
{
SwAccessibleContext::release ();
}
diff --git a/sw/source/core/access/acctextframe.hxx b/sw/source/core/access/acctextframe.hxx
index a4ee77ad8500..050970f62aea 100644
--- a/sw/source/core/access/acctextframe.hxx
+++ b/sw/source/core/access/acctextframe.hxx
@@ -44,8 +44,8 @@ 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 release() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// XAccessibleSelection
virtual void SAL_CALL selectAccessibleChild(
sal_Int32 nChildIndex ) override;
diff --git a/sw/source/core/fields/textapi.cxx b/sw/source/core/fields/textapi.cxx
index 511f5df9e87c..25c9d46edefa 100644
--- a/sw/source/core/fields/textapi.cxx
+++ b/sw/source/core/fields/textapi.cxx
@@ -64,7 +64,7 @@ SwTextAPIObject::SwTextAPIObject( std::unique_ptr<SwTextAPIEditSource> p )
{
}
-SwTextAPIObject::~SwTextAPIObject() throw()
+SwTextAPIObject::~SwTextAPIObject() noexcept
{
m_pSource->Dispose();
m_pSource.reset();
diff --git a/sw/source/core/inc/SwXMLBlockImport.hxx b/sw/source/core/inc/SwXMLBlockImport.hxx
index 48dbcc49bb72..40c9699712df 100644
--- a/sw/source/core/inc/SwXMLBlockImport.hxx
+++ b/sw/source/core/inc/SwXMLBlockImport.hxx
@@ -51,7 +51,7 @@ public:
return m_rBlockList;
}
virtual ~SwXMLBlockListImport()
- throw() override;
+ noexcept override;
};
class SwXMLTextBlockImport final : public SvXMLImport
@@ -69,7 +69,7 @@ public:
OUString &rNewText, bool bNewTextOnly );
virtual ~SwXMLTextBlockImport()
- throw() override;
+ noexcept override;
virtual void SAL_CALL endDocument() override;
};
diff --git a/sw/source/core/inc/textapi.hxx b/sw/source/core/inc/textapi.hxx
index 3b8683f557b1..1e5e78e4a079 100644
--- a/sw/source/core/inc/textapi.hxx
+++ b/sw/source/core/inc/textapi.hxx
@@ -52,7 +52,7 @@ class SwTextAPIObject final : public SvxUnoText
std::unique_ptr<SwTextAPIEditSource> m_pSource;
public:
SwTextAPIObject( std::unique_ptr<SwTextAPIEditSource> p);
- virtual ~SwTextAPIObject() throw() override;
+ virtual ~SwTextAPIObject() noexcept override;
void DisposeEditSource() { m_pSource->Dispose(); }
std::unique_ptr<OutlinerParaObject> CreateText() { return m_pSource->CreateText(); }
void SetString( const OUString& rText ) { m_pSource->SetString( rText ); }
diff --git a/sw/source/core/inc/unofootnote.hxx b/sw/source/core/inc/unofootnote.hxx
index 79014ecba86c..b30c89d8b542 100644
--- a/sw/source/core/inc/unofootnote.hxx
+++ b/sw/source/core/inc/unofootnote.hxx
@@ -68,8 +68,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& rType) override;
- virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OWeakObject::release(); }
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type >
diff --git a/sw/source/core/swg/SwXMLBlockImport.cxx b/sw/source/core/swg/SwXMLBlockImport.cxx
index 7b43b91ea3ab..b0453a8a5a65 100644
--- a/sw/source/core/swg/SwXMLBlockImport.cxx
+++ b/sw/source/core/swg/SwXMLBlockImport.cxx
@@ -294,7 +294,7 @@ SwXMLBlockListImport::SwXMLBlockListImport(
}
SwXMLBlockListImport::~SwXMLBlockListImport()
- throw ()
+ noexcept
{
}
@@ -317,7 +317,7 @@ SwXMLTextBlockImport::SwXMLTextBlockImport(
}
SwXMLTextBlockImport::~SwXMLTextBlockImport()
- throw()
+ noexcept
{
}
diff --git a/sw/source/core/swg/SwXMLSectionList.cxx b/sw/source/core/swg/SwXMLSectionList.cxx
index 8a58b0df0ebe..47740a6d51c0 100644
--- a/sw/source/core/swg/SwXMLSectionList.cxx
+++ b/sw/source/core/swg/SwXMLSectionList.cxx
@@ -88,7 +88,7 @@ SwXMLSectionList::SwXMLSectionList(const css::uno::Reference< css::uno::XCompone
}
SwXMLSectionList::~SwXMLSectionList()
- throw()
+ noexcept
{
}
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index 79c3ac7fd8e7..2dd384de7f26 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -256,7 +256,7 @@ SwFmDrawPage::SwFmDrawPage( SdrPage* pPage ) :
{
}
-SwFmDrawPage::~SwFmDrawPage() throw ()
+SwFmDrawPage::~SwFmDrawPage() noexcept
{
while (!m_vShapes.empty())
m_vShapes.back()->dispose();
@@ -2709,12 +2709,12 @@ uno::Any SwXGroupShape::queryInterface( const uno::Type& rType )
return aRet;
}
-void SwXGroupShape::acquire( ) throw()
+void SwXGroupShape::acquire( ) noexcept
{
SwXShape::acquire();
}
-void SwXGroupShape::release( ) throw()
+void SwXGroupShape::release( ) noexcept
{
SwXShape::release();
}
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 2772c4cdb3fb..76318143d1e5 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -3191,12 +3191,12 @@ SwXTextFrame::CreateXTextFrame(SwDoc & rDoc, SwFrameFormat *const pFrameFormat)
return CreateXFrame<text::XTextFrame, SwXTextFrame>(rDoc, pFrameFormat);
}
-void SAL_CALL SwXTextFrame::acquire( )throw()
+void SAL_CALL SwXTextFrame::acquire( )noexcept
{
SwXFrame::acquire();
}
-void SAL_CALL SwXTextFrame::release( )throw()
+void SAL_CALL SwXTextFrame::release( )noexcept
{
SwXFrame::release();
}
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx
index e56c88228a23..437bfe8ce6f5 100644
--- a/sw/source/core/unocore/unoobj2.cxx
+++ b/sw/source/core/unocore/unoobj2.cxx
@@ -412,7 +412,7 @@ struct SwXParagraphEnumerationImpl final : public SwXParagraphEnumeration
virtual ~SwXParagraphEnumerationImpl() override
{ m_pCursor.reset(nullptr); }
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{
SolarMutexGuard g;
OWeakObject::release();
@@ -1570,7 +1570,7 @@ struct SwXTextRangesImpl final : public SwXTextRanges
}
MakeRanges();
}
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{
SolarMutexGuard g;
OWeakObject::release();
@@ -1677,7 +1677,7 @@ struct SwXParaFrameEnumerationImpl final : public SwXParaFrameEnumeration
virtual css::uno::Any SAL_CALL nextElement() override;
SwXParaFrameEnumerationImpl(const SwPaM& rPaM, const enum ParaFrameMode eParaFrameMode, SwFrameFormat* const pFormat);
- virtual void SAL_CALL release() throw () override
+ virtual void SAL_CALL release() noexcept override
{
SolarMutexGuard g;
OWeakObject::release();
diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx
index de031c5a9ec6..a88d2d4f8a98 100644
--- a/sw/source/core/unocore/unorefmk.cxx
+++ b/sw/source/core/unocore/unorefmk.cxx
@@ -514,8 +514,8 @@ public:
using SwXText::Invalidate;
// XInterface
- virtual void SAL_CALL acquire() throw() override { cppu::OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override { cppu::OWeakObject::release(); }
+ virtual void SAL_CALL acquire() noexcept override { cppu::OWeakObject::acquire(); }
+ virtual void SAL_CALL release() noexcept override { cppu::OWeakObject::release(); }
// XTypeProvider
virtual uno::Sequence< sal_Int8 > SAL_CALL
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 3acda97229b4..4a84cfd531d5 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -434,8 +434,8 @@ public:
SwXStyle(&rPool, SfxStyleFamily::Frame, pDoc, rStyleName){}
explicit SwXFrameStyle(SwDoc *pDoc);
- virtual void SAL_CALL acquire( ) throw() override {SwXStyle::acquire();}
- virtual void SAL_CALL release( ) throw() override {SwXStyle::release();}
+ virtual void SAL_CALL acquire( ) noexcept override {SwXStyle::acquire();}
+ virtual void SAL_CALL release( ) noexcept override {SwXStyle::release();}
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 6982ddc6fbdc..395b6864318a 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -781,12 +781,12 @@ uno::Sequence< sal_Int8 > SAL_CALL SwXCell::getImplementationId( )
return css::uno::Sequence<sal_Int8>();
}
-void SAL_CALL SwXCell::acquire( ) throw()
+void SAL_CALL SwXCell::acquire( ) noexcept
{
SwXCellBaseClass::acquire();
}
-void SAL_CALL SwXCell::release( ) throw()
+void SAL_CALL SwXCell::release( ) noexcept
{
SolarMutexGuard aGuard;
@@ -1427,12 +1427,12 @@ OUString SwXTextTableCursor::getImplementationName()
sal_Bool SwXTextTableCursor::supportsService(const OUString& rServiceName)
{ return cppu::supportsService(this, rServiceName); }
-void SwXTextTableCursor::acquire() throw()
+void SwXTextTableCursor::acquire() noexcept
{
SwXTextTableCursor_Base::acquire();
}
-void SwXTextTableCursor::release() throw()
+void SwXTextTableCursor::release() noexcept
{
SolarMutexGuard aGuard;
SwXTextTableCursor_Base::release();
diff --git a/sw/source/filter/inc/wwstyles.hxx b/sw/source/filter/inc/wwstyles.hxx
index 19faeaad118e..1cc6fdcc69c0 100644
--- a/sw/source/filter/inc/wwstyles.hxx
+++ b/sw/source/filter/inc/wwstyles.hxx
@@ -147,7 +147,7 @@ namespace ww
@return the sti that word would give it. stiUser if word would treat
it as a user defined style.
*/
- sti GetCanonicalStiFromStc(sal_uInt8 stc) throw();
+ sti GetCanonicalStiFromStc(sal_uInt8 stc) noexcept;
/** Find the WinWord english name from a sti index
@@ -159,7 +159,7 @@ namespace ww
@return the name word would give it if it's an inbuilt name, otherwise
NULL
*/
- const char* GetEnglishNameFromSti(sti eSti) throw();
+ const char* GetEnglishNameFromSti(sti eSti) noexcept;
/** Determine if the WinWord sti is standard Character Style
@@ -168,7 +168,7 @@ namespace ww
@return true if a known inbuild character style
*/
- bool StandardStiIsCharStyle(sti eSti) throw();
+ bool StandardStiIsCharStyle(sti eSti) noexcept;
} // namespace ww
#endif
diff --git a/sw/source/filter/ww8/fields.cxx b/sw/source/filter/ww8/fields.cxx
index 68a58d856f33..36f8e8690b82 100644
--- a/sw/source/filter/ww8/fields.cxx
+++ b/sw/source/filter/ww8/fields.cxx
@@ -23,7 +23,7 @@
namespace ww
{
- const char *GetEnglishFieldName(eField eIndex) throw()
+ const char *GetEnglishFieldName(eField eIndex) noexcept
{
//0 Signifies the field names I can't find.
// #i43956# - field <eFOOTREF> = 5 should be mapped to "REF"
diff --git a/sw/source/filter/ww8/fields.hxx b/sw/source/filter/ww8/fields.hxx
index a539c645cf85..d11b92e2ad5b 100644
--- a/sw/source/filter/ww8/fields.hxx
+++ b/sw/source/filter/ww8/fields.hxx
@@ -40,7 +40,7 @@ namespace ww
@return 0 if not found, otherwise the fieldname as a C style ASCII
string
*/
-const char* GetEnglishFieldName(eField eIndex) throw();
+const char* GetEnglishFieldName(eField eIndex) noexcept;
}
#endif
diff --git a/sw/source/filter/ww8/styles.cxx b/sw/source/filter/ww8/styles.cxx
index 5da6157f732b..4c8c9bc49555 100644
--- a/sw/source/filter/ww8/styles.cxx
+++ b/sw/source/filter/ww8/styles.cxx
@@ -23,7 +23,7 @@
namespace
{
- const char **GetStiNames() throw()
+ const char **GetStiNames() noexcept
{
static const char *stiName[] =
{
@@ -128,7 +128,7 @@ namespace
namespace ww
{
- const char* GetEnglishNameFromSti(sti eSti) throw()
+ const char* GetEnglishNameFromSti(sti eSti) noexcept
{
if (eSti >= stiMax)
return nullptr;
@@ -136,7 +136,7 @@ namespace ww
return GetStiNames()[eSti];
}
- bool StandardStiIsCharStyle(sti eSti) throw()
+ bool StandardStiIsCharStyle(sti eSti) noexcept
{
switch (eSti)
{
@@ -152,7 +152,7 @@ namespace ww
}
}
- sti GetCanonicalStiFromStc(sal_uInt8 stc) throw()
+ sti GetCanonicalStiFromStc(sal_uInt8 stc) noexcept
{
if (stc == 0)
return stiNormal;
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index d43182d2e93a..e23d9986b7f5 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -573,10 +573,10 @@ class WW8FieldEntry
sw::hack::Position maStartPos;
sal_uInt16 mnFieldId;
sal_uLong mnObjLocFc;
- WW8FieldEntry(SwPosition const &rPos, sal_uInt16 nFieldId) throw();
- WW8FieldEntry(const WW8FieldEntry &rOther) throw();
- WW8FieldEntry &operator=(const WW8FieldEntry &rOther) throw();
- void Swap(WW8FieldEntry &rOther) throw();
+ WW8FieldEntry(SwPosition const &rPos, sal_uInt16 nFieldId) noexcept;
+ WW8FieldEntry(const WW8FieldEntry &rOther) noexcept;
+ WW8FieldEntry &operator=(const WW8FieldEntry &rOther) noexcept;
+ void Swap(WW8FieldEntry &rOther) noexcept;
SwNodeIndex GetPtNode() const { return maStartPos.GetPtNode(); };
sal_Int32 GetPtContent() const { return maStartPos.GetPtContent(); };
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 1bd48126ed35..3aa79d63e707 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -711,23 +711,23 @@ static bool AcceptableNestedField(sal_uInt16 nFieldCode)
}
}
-WW8FieldEntry::WW8FieldEntry(SwPosition const &rPos, sal_uInt16 nFieldId) throw()
+WW8FieldEntry::WW8FieldEntry(SwPosition const &rPos, sal_uInt16 nFieldId) noexcept
: maStartPos(rPos), mnFieldId(nFieldId), mnObjLocFc(0)
{
}
-WW8FieldEntry::WW8FieldEntry(const WW8FieldEntry &rOther) throw()
+WW8FieldEntry::WW8FieldEntry(const WW8FieldEntry &rOther) noexcept
: maStartPos(rOther.maStartPos), mnFieldId(rOther.mnFieldId), mnObjLocFc(rOther.mnObjLocFc)
{
}
-void WW8FieldEntry::Swap(WW8FieldEntry &rOther) throw()
+void WW8FieldEntry::Swap(WW8FieldEntry &rOther) noexcept
{
std::swap(maStartPos, rOther.maStartPos);
std::swap(mnFieldId, rOther.mnFieldId);
}
-WW8FieldEntry &WW8FieldEntry::operator=(const WW8FieldEntry &rOther) throw()
+WW8FieldEntry &WW8FieldEntry::operator=(const WW8FieldEntry &rOther) noexcept
{
WW8FieldEntry aTemp(rOther);
Swap(aTemp);
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index 387546eceda3..3ed4a25570d6 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -475,7 +475,7 @@ void SwXMLExport::ExportContent_()
GetTextParagraphExport()->exportText( xText, m_bShowProgress );
}
-const Sequence< sal_Int8 > & SwXMLExport::getUnoTunnelId() throw()
+const Sequence< sal_Int8 > & SwXMLExport::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSwXMLExportUnoTunnelId;
return theSwXMLExportUnoTunnelId.getSeq();
diff --git a/sw/source/filter/xml/xmlexp.hxx b/sw/source/filter/xml/xmlexp.hxx
index 42c5034c3f1c..53ab4431c645 100644
--- a/sw/source/filter/xml/xmlexp.hxx
+++ b/sw/source/filter/xml/xmlexp.hxx
@@ -129,7 +129,7 @@ public:
void SetShowProgress( bool b ) { m_bShowProgress = b; }
// XUnoTunnel
- 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;
const SwDoc* getDoc() const;
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index 0b78e0755871..28e7e3ff9db3 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -330,7 +330,7 @@ SwXMLImport::SwXMLImport(
InitItemImport();
}
-SwXMLImport::~SwXMLImport() throw ()
+SwXMLImport::~SwXMLImport() noexcept
{
if (HasShapeImport())
{
@@ -359,7 +359,7 @@ void SwXMLImport::setStyleInsertMode( SfxStyleFamily nFamilies,
m_bLoadDoc = false;
}
-const Sequence< sal_Int8 > & SwXMLImport::getUnoTunnelId() throw()
+const Sequence< sal_Int8 > & SwXMLImport::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSwXMLImportUnoTunnelId;
return theSwXMLImportUnoTunnelId.getSeq();
diff --git a/sw/source/filter/xml/xmlimp.hxx b/sw/source/filter/xml/xmlimp.hxx
index 83cee154bbc0..893d6066a0a0 100644
--- a/sw/source/filter/xml/xmlimp.hxx
+++ b/sw/source/filter/xml/xmlimp.hxx
@@ -110,14 +110,14 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rContext,
OUString const & implementationName, SvXMLImportFlags nImportFlags);
- virtual ~SwXMLImport() throw() override;
+ virtual ~SwXMLImport() noexcept override;
// css::xml::sax::XDocumentHandler
virtual void SAL_CALL startDocument() override;
virtual void SAL_CALL endDocument() override;
// XUnoTunnel
- 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;
// XInitialization
diff --git a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
index 00f9a079fbb7..482b1216f753 100644
--- a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
+++ b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
@@ -120,12 +120,12 @@ public:
return ::cppu::queryInterface(aType, static_cast<lang::XServiceInfo*>(this));
}
- void SAL_CALL acquire() throw () override
+ void SAL_CALL acquire() noexcept override
{
ToolboxController::acquire();
}
- void SAL_CALL release() throw () override
+ void SAL_CALL release() noexcept override
{
ToolboxController::release();
}
@@ -231,12 +231,12 @@ public:
return ::cppu::queryInterface(aType, static_cast<lang::XServiceInfo*>(this));
}
- void SAL_CALL acquire() throw () override
+ void SAL_CALL acquire() noexcept override
{
ToolboxController::acquire();
}
- void SAL_CALL release() throw () override
+ void SAL_CALL release() noexcept override
{
ToolboxController::release();
}
diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx
index 12fdd419db7d..1a11b5a40762 100644
--- a/sw/source/uibase/inc/unomod.hxx
+++ b/sw/source/uibase/inc/unomod.hxx
@@ -86,7 +86,7 @@ class SwXPrintSettings final : public comphelper::ChainablePropertySet
virtual void _postGetValues () override;
virtual ~SwXPrintSettings()
- throw() override;
+ noexcept override;
public:
SwXPrintSettings( SwXPrintSettingsType eType, SwDoc * pDoc = nullptr );
@@ -119,7 +119,7 @@ class SwXViewSettings final : public comphelper::ChainablePropertySet
virtual void _postGetValues () override;
virtual ~SwXViewSettings()
- throw() override;
+ noexcept override;
public:
SwXViewSettings(SwView* pView);
diff --git a/sw/source/uibase/inc/unotxvw.hxx b/sw/source/uibase/inc/unotxvw.hxx
index 1f52f7ea6230..614f2ac2749d 100644
--- a/sw/source/uibase/inc/unotxvw.hxx
+++ b/sw/source/uibase/inc/unotxvw.hxx
@@ -79,8 +79,8 @@ public:
SwXTextView(SwView* pSwView);
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx
index fe443c9aa99b..fb2f4f25790c 100644
--- a/sw/source/uibase/ribbar/workctrl.cxx
+++ b/sw/source/uibase/ribbar/workctrl.cxx
@@ -590,8 +590,8 @@ class NavElementToolBoxControl : public svt::ToolboxController,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -816,12 +816,12 @@ css::uno::Any SAL_CALL NavElementToolBoxControl::queryInterface( const css::uno:
return ::cppu::queryInterface( aType, static_cast< lang::XServiceInfo* >( this ) );
}
-void SAL_CALL NavElementToolBoxControl::acquire() throw ()
+void SAL_CALL NavElementToolBoxControl::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL NavElementToolBoxControl::release() throw ()
+void SAL_CALL NavElementToolBoxControl::release() noexcept
{
ToolboxController::release();
}
@@ -966,8 +966,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -1005,12 +1005,12 @@ css::uno::Any SAL_CALL PrevNextScrollToolboxController::queryInterface( const cs
return ::cppu::queryInterface( aType, static_cast< css::lang::XServiceInfo* >( this ) );
}
-void SAL_CALL PrevNextScrollToolboxController::acquire() throw ()
+void SAL_CALL PrevNextScrollToolboxController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL PrevNextScrollToolboxController::release() throw ()
+void SAL_CALL PrevNextScrollToolboxController::release() noexcept
{
ToolboxController::release();
}
diff --git a/sw/source/uibase/uno/SwXDocumentSettings.cxx b/sw/source/uibase/uno/SwXDocumentSettings.cxx
index 9a85ebeca264..26454819b9c1 100644
--- a/sw/source/uibase/uno/SwXDocumentSettings.cxx
+++ b/sw/source/uibase/uno/SwXDocumentSettings.cxx
@@ -284,7 +284,7 @@ SwXDocumentSettings::SwXDocumentSettings ( SwXTextDocument * pModel )
}
SwXDocumentSettings::~SwXDocumentSettings()
- throw()
+ noexcept
{
}
@@ -302,12 +302,12 @@ Any SAL_CALL SwXDocumentSettings::queryInterface( const Type& rType )
&dynamic_cast<XTypeProvider&>(*this));
}
void SwXDocumentSettings::acquire ()
- throw ()
+ noexcept
{
OWeakObject::acquire();
}
void SwXDocumentSettings::release ()
- throw ()
+ noexcept
{
OWeakObject::release();
}
diff --git a/sw/source/uibase/uno/SwXDocumentSettings.hxx b/sw/source/uibase/uno/SwXDocumentSettings.hxx
index 26a123ba7fe8..3d722e40ba80 100644
--- a/sw/source/uibase/uno/SwXDocumentSettings.hxx
+++ b/sw/source/uibase/uno/SwXDocumentSettings.hxx
@@ -54,16 +54,16 @@ class SwXDocumentSettings final :
virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue ) override;
virtual void _postGetValues () override;
virtual ~SwXDocumentSettings()
- throw() override;
+ noexcept override;
public:
SwXDocumentSettings( SwXTextDocument* pModel );
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
virtual void SAL_CALL acquire( )
- throw () override;
+ noexcept override;
virtual void SAL_CALL release( )
- throw () override;
+ noexcept override;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
diff --git a/sw/source/uibase/uno/unodefaults.cxx b/sw/source/uibase/uno/unodefaults.cxx
index 01e10aaaae5e..378ddc0b987e 100644
--- a/sw/source/uibase/uno/unodefaults.cxx
+++ b/sw/source/uibase/uno/unodefaults.cxx
@@ -30,9 +30,9 @@ SwSvxUnoDrawPool::SwSvxUnoDrawPool(SwDoc& rDoc)
{
}
-SwSvxUnoDrawPool::~SwSvxUnoDrawPool() throw() {}
+SwSvxUnoDrawPool::~SwSvxUnoDrawPool() noexcept {}
-SfxItemPool* SwSvxUnoDrawPool::getModelPool(bool /*bReadOnly*/) throw()
+SfxItemPool* SwSvxUnoDrawPool::getModelPool(bool /*bReadOnly*/) noexcept
{
// DVO, OD 01.10.2003 #i18732# - return item pool of writer document;
// it contains draw model item pool as secondary pool.
diff --git a/sw/source/uibase/uno/unodefaults.hxx b/sw/source/uibase/uno/unodefaults.hxx
index 14b892f94d22..91d7c8f2faa9 100644
--- a/sw/source/uibase/uno/unodefaults.hxx
+++ b/sw/source/uibase/uno/unodefaults.hxx
@@ -29,9 +29,9 @@ class SwSvxUnoDrawPool : public SvxUnoDrawPool
public:
SwSvxUnoDrawPool(SwDoc& rDoc);
- virtual ~SwSvxUnoDrawPool() throw() override;
+ virtual ~SwSvxUnoDrawPool() noexcept override;
- virtual SfxItemPool* getModelPool(bool bReadOnly) throw() override;
+ virtual SfxItemPool* getModelPool(bool bReadOnly) noexcept override;
};
#endif
diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx
index a67a08aab16b..e2662e00e342 100644
--- a/sw/source/uibase/uno/unomod.cxx
+++ b/sw/source/uibase/uno/unomod.cxx
@@ -264,7 +264,7 @@ SwXPrintSettings::SwXPrintSettings(SwXPrintSettingsType eType, SwDoc* pDoc)
}
SwXPrintSettings::~SwXPrintSettings()
- throw()
+ noexcept
{
}
@@ -539,7 +539,7 @@ SwXViewSettings::SwXViewSettings(SwView* pVw)
}
SwXViewSettings::~SwXViewSettings()
- throw()
+ noexcept
{
}
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 4f82c1c5cd90..890ccdd8fcc3 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -331,12 +331,12 @@ Any SAL_CALL SwXTextDocument::queryInterface( const uno::Type& rType )
return aRet;
}
-void SAL_CALL SwXTextDocument::acquire()throw()
+void SAL_CALL SwXTextDocument::acquire()noexcept
{
SfxBaseModel::acquire();
}
-void SAL_CALL SwXTextDocument::release()throw()
+void SAL_CALL SwXTextDocument::release()noexcept
{
SfxBaseModel::release();
}
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index 1874bec44ae3..3059016abdfe 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -150,12 +150,12 @@ Sequence< sal_Int8 > SAL_CALL SwXTextView::getImplementationId( )
return css::uno::Sequence<sal_Int8>();
}
-void SAL_CALL SwXTextView::acquire( )throw()
+void SAL_CALL SwXTextView::acquire( )noexcept
{
SfxBaseController::acquire();
}
-void SAL_CALL SwXTextView::release( )throw()
+void SAL_CALL SwXTextView::release( )noexcept
{
SfxBaseController::release();
}
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index 1456c29649cf..44cc0ec76edd 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -158,11 +158,11 @@ public:
m_bSequenceOfCallTestPassed( true )
{}
- void SAL_CALL acquire() throw () override
+ void SAL_CALL acquire() noexcept override
{
OWeakObject::acquire();
}
- void SAL_CALL release() throw () override
+ void SAL_CALL release() noexcept override
{
OWeakObject::release();
}
diff --git a/toolkit/inc/awt/vclxcontainer.hxx b/toolkit/inc/awt/vclxcontainer.hxx
index 9dffa8d116f0..d93c967b8365 100644
--- a/toolkit/inc/awt/vclxcontainer.hxx
+++ b/toolkit/inc/awt/vclxcontainer.hxx
@@ -35,8 +35,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/toolkit/inc/awt/vclxsystemdependentwindow.hxx b/toolkit/inc/awt/vclxsystemdependentwindow.hxx
index 7a1034fbaa89..4bab43c494ee 100644
--- a/toolkit/inc/awt/vclxsystemdependentwindow.hxx
+++ b/toolkit/inc/awt/vclxsystemdependentwindow.hxx
@@ -34,8 +34,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/toolkit/inc/awt/vclxtopwindow.hxx b/toolkit/inc/awt/vclxtopwindow.hxx
index e75c9ffa1ea9..ad07c2780cd7 100644
--- a/toolkit/inc/awt/vclxtopwindow.hxx
+++ b/toolkit/inc/awt/vclxtopwindow.hxx
@@ -43,8 +43,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/toolkit/inc/awt/vclxwindows.hxx b/toolkit/inc/awt/vclxwindows.hxx
index a8959f4ed1ff..7c8b4a42b21d 100644
--- a/toolkit/inc/awt/vclxwindows.hxx
+++ b/toolkit/inc/awt/vclxwindows.hxx
@@ -77,8 +77,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -108,8 +108,8 @@ public:
virtual ~VCLXFrame() override;
// css::uno::XInterface
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
@@ -134,8 +134,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -172,8 +172,8 @@ public:
virtual ~VCLXTabPage() override;
// css::uno::XInterface
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
@@ -202,8 +202,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
@@ -255,8 +255,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { VCLXWindow::acquire(); }
- void SAL_CALL release() throw() override { VCLXWindow::release(); }
+ void SAL_CALL acquire() noexcept override { VCLXWindow::acquire(); }
+ void SAL_CALL release() noexcept override { VCLXWindow::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -316,8 +316,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { VCLXWindow::acquire(); }
- void SAL_CALL release() throw() override { VCLXWindow::release(); }
+ void SAL_CALL acquire() noexcept override { VCLXWindow::acquire(); }
+ void SAL_CALL release() noexcept override { VCLXWindow::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -352,8 +352,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -413,8 +413,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -460,8 +460,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -503,8 +503,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -555,8 +555,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -600,8 +600,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -639,8 +639,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { VCLXWindow::acquire(); }
- void SAL_CALL release() throw() override { VCLXWindow::release(); }
+ void SAL_CALL acquire() noexcept override { VCLXWindow::acquire(); }
+ void SAL_CALL release() noexcept override { VCLXWindow::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -728,8 +728,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { SVTXFormattedField::acquire(); }
- void SAL_CALL release() throw() override { SVTXFormattedField::release(); }
+ void SAL_CALL acquire() noexcept override { SVTXFormattedField::acquire(); }
+ void SAL_CALL release() noexcept override { SVTXFormattedField::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
@@ -771,8 +771,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { SVTXFormattedField::acquire(); }
- void SAL_CALL release() throw() override { SVTXFormattedField::release(); }
+ void SAL_CALL acquire() noexcept override { SVTXFormattedField::acquire(); }
+ void SAL_CALL release() noexcept override { SVTXFormattedField::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/toolkit/inc/controls/controlmodelcontainerbase.hxx b/toolkit/inc/controls/controlmodelcontainerbase.hxx
index a08806ddd450..df5b4aac89a7 100644
--- a/toolkit/inc/controls/controlmodelcontainerbase.hxx
+++ b/toolkit/inc/controls/controlmodelcontainerbase.hxx
@@ -193,8 +193,8 @@ class ResourceListener final : public css::util::XModifyListener,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XModifyListener
virtual void SAL_CALL modified( const css::lang::EventObject& aEvent ) override;
diff --git a/toolkit/inc/controls/dialogcontrol.hxx b/toolkit/inc/controls/dialogcontrol.hxx
index 0bda793c5a02..68dbdc61bdf1 100644
--- a/toolkit/inc/controls/dialogcontrol.hxx
+++ b/toolkit/inc/controls/dialogcontrol.hxx
@@ -199,8 +199,8 @@ public:
DECLIMPL_SERVICEINFO_DERIVED( UnoMultiPageControl, ControlContainerBase, "com.sun.star.awt.UnoControlMultiPage" )
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return ControlContainerBase::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
// css::lang::XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/toolkit/inc/controls/geometrycontrolmodel.hxx b/toolkit/inc/controls/geometrycontrolmodel.hxx
index 600e9592046f..d6b204b197fa 100644
--- a/toolkit/inc/controls/geometrycontrolmodel.hxx
+++ b/toolkit/inc/controls/geometrycontrolmodel.hxx
@@ -107,8 +107,8 @@ namespace com::sun::star {
public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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:
// XTypeProvider
diff --git a/toolkit/inc/controls/roadmapcontrol.hxx b/toolkit/inc/controls/roadmapcontrol.hxx
index 01e9773a1e7a..eea7c1b2d84d 100644
--- a/toolkit/inc/controls/roadmapcontrol.hxx
+++ b/toolkit/inc/controls/roadmapcontrol.hxx
@@ -118,8 +118,8 @@ namespace toolkit
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoControlRoadmapModel_Base::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { UnoControlRoadmapModel_Base::acquire(); }
- void SAL_CALL release() throw() override { UnoControlRoadmapModel_Base::release(); }
+ void SAL_CALL acquire() noexcept override { UnoControlRoadmapModel_Base::acquire(); }
+ void SAL_CALL release() noexcept override { UnoControlRoadmapModel_Base::release(); }
// css::beans::XPropertySet
diff --git a/toolkit/inc/controls/stdtabcontroller.hxx b/toolkit/inc/controls/stdtabcontroller.hxx
index e995a143b8cf..37de42d7da27 100644
--- a/toolkit/inc/controls/stdtabcontroller.hxx
+++ b/toolkit/inc/controls/stdtabcontroller.hxx
@@ -54,8 +54,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return OWeakAggObject::queryInterface(rType); }
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
diff --git a/toolkit/inc/controls/stdtabcontrollermodel.hxx b/toolkit/inc/controls/stdtabcontrollermodel.hxx
index 7208223d6c09..4fa12d252e0e 100644
--- a/toolkit/inc/controls/stdtabcontrollermodel.hxx
+++ b/toolkit/inc/controls/stdtabcontrollermodel.hxx
@@ -87,8 +87,8 @@ public:
// css::uno::XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return OWeakAggObject::queryInterface(rType); }
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
diff --git a/toolkit/inc/controls/tkscrollbar.hxx b/toolkit/inc/controls/tkscrollbar.hxx
index fa77c7651ff9..74014cf6d18a 100644
--- a/toolkit/inc/controls/tkscrollbar.hxx
+++ b/toolkit/inc/controls/tkscrollbar.hxx
@@ -69,8 +69,8 @@ namespace toolkit
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return UnoControlBase::queryInterface(rType); }
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL acquire() throw() override { OWeakAggObject::acquire(); }
- void SAL_CALL release() throw() override { OWeakAggObject::release(); }
+ void SAL_CALL acquire() noexcept override { OWeakAggObject::acquire(); }
+ void SAL_CALL release() noexcept override { OWeakAggObject::release(); }
void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
void SAL_CALL disposing( const css::lang::EventObject& Source ) override { UnoControlBase::disposing( Source ); }
void SAL_CALL dispose( ) override;
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index 42ccde3b6592..f36dcee2f0ef 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -1069,12 +1069,12 @@ Any SAL_CALL ResourceListener::queryInterface( const Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL ResourceListener::acquire() throw ()
+void SAL_CALL ResourceListener::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL ResourceListener::release() throw ()
+void SAL_CALL ResourceListener::release() noexcept
{
OWeakObject::release();
}
diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx
index eb21d49bc07f..53a7f02d45ef 100644
--- a/toolkit/source/controls/geometrycontrolmodel.cxx
+++ b/toolkit/source/controls/geometrycontrolmodel.cxx
@@ -274,13 +274,13 @@
}
- void SAL_CALL OGeometryControlModel_Base::acquire( ) throw()
+ void SAL_CALL OGeometryControlModel_Base::acquire( ) noexcept
{
OGCM_Base::acquire();
}
- void SAL_CALL OGeometryControlModel_Base::release( ) throw()
+ void SAL_CALL OGeometryControlModel_Base::release( ) noexcept
{
OGCM_Base::release();
}
diff --git a/toolkit/source/controls/grid/gridcolumn.cxx b/toolkit/source/controls/grid/gridcolumn.cxx
index 1b7365468d65..9fe4719abd94 100644
--- a/toolkit/source/controls/grid/gridcolumn.cxx
+++ b/toolkit/source/controls/grid/gridcolumn.cxx
@@ -292,7 +292,7 @@ namespace toolkit
}
- Sequence< sal_Int8 > GridColumn::getUnoTunnelId() throw()
+ Sequence< sal_Int8 > GridColumn::getUnoTunnelId() noexcept
{
static ::cppu::OImplementationId const aId;
return aId.getImplementationId();
diff --git a/toolkit/source/controls/grid/gridcolumn.hxx b/toolkit/source/controls/grid/gridcolumn.hxx
index 6ff9d4fe73df..e533a72e5ce5 100644
--- a/toolkit/source/controls/grid/gridcolumn.hxx
+++ b/toolkit/source/controls/grid/gridcolumn.hxx
@@ -82,7 +82,7 @@ public:
// XUnoTunnel and friends
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& i_identifier ) override;
- static css::uno::Sequence< sal_Int8 > getUnoTunnelId() throw();
+ static css::uno::Sequence< sal_Int8 > getUnoTunnelId() noexcept;
// attribute access
void setIndex( sal_Int32 const i_index );
diff --git a/toolkit/source/controls/grid/grideventforwarder.cxx b/toolkit/source/controls/grid/grideventforwarder.cxx
index a8fa7810c85d..5baf5fdda334 100644
--- a/toolkit/source/controls/grid/grideventforwarder.cxx
+++ b/toolkit/source/controls/grid/grideventforwarder.cxx
@@ -46,13 +46,13 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::acquire() throw()
+ void SAL_CALL GridEventForwarder::acquire() noexcept
{
m_parent.acquire();
}
- void SAL_CALL GridEventForwarder::release() throw()
+ void SAL_CALL GridEventForwarder::release() noexcept
{
m_parent.release();
}
diff --git a/toolkit/source/controls/grid/grideventforwarder.hxx b/toolkit/source/controls/grid/grideventforwarder.hxx
index 713b54d04ee5..9578e62ee029 100644
--- a/toolkit/source/controls/grid/grideventforwarder.hxx
+++ b/toolkit/source/controls/grid/grideventforwarder.hxx
@@ -47,8 +47,8 @@ namespace toolkit
public:
// XInterface
- 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;
// XGridDataListener
virtual void SAL_CALL rowsInserted( const css::awt::grid::GridDataEvent& Event ) override;
diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx
index e657b2d613a2..6269d727d14a 100644
--- a/toolkit/source/controls/grid/sortablegriddatamodel.cxx
+++ b/toolkit/source/controls/grid/sortablegriddatamodel.cxx
@@ -127,8 +127,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () final override;
- virtual void SAL_CALL release( ) throw () override;
+ virtual void SAL_CALL acquire( ) noexcept final override;
+ virtual void SAL_CALL release( ) noexcept override;
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
@@ -269,13 +269,13 @@ void lcl_clear( STLCONTAINER& i_container )
}
- void SAL_CALL SortableGridDataModel::acquire( ) throw ()
+ void SAL_CALL SortableGridDataModel::acquire( ) noexcept
{
SortableGridDataModel_Base::acquire();
}
- void SAL_CALL SortableGridDataModel::release( ) throw ()
+ void SAL_CALL SortableGridDataModel::release( ) noexcept
{
SortableGridDataModel_Base::release();
}
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index f771ebf02428..fb6448366978 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -423,7 +423,7 @@ css::uno::Any UnoControlModel::queryAggregation( const css::uno::Type & rType )
// css::lang::XUnoTunnel
-const css::uno::Sequence< sal_Int8 >& UnoControlModel::getUnoTunnelId() throw()
+const css::uno::Sequence< sal_Int8 >& UnoControlModel::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theUnoControlModelUnoTunnelId;
return theUnoControlModelUnoTunnelId.getSeq();
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index d3395e6fd40c..91f9af3e8ea5 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -178,12 +178,12 @@ uno::Any SAL_CALL UnoEditControl::queryInterface( const uno::Type & rType )
return UnoControlBase::queryInterface( rType );
}
-void SAL_CALL UnoEditControl::acquire( ) throw ()
+void SAL_CALL UnoEditControl::acquire( ) noexcept
{
UnoControlBase::acquire();
}
-void SAL_CALL UnoEditControl::release( ) throw ()
+void SAL_CALL UnoEditControl::release( ) noexcept
{
UnoControlBase::release();
}
diff --git a/toolkit/source/hatchwindow/hatchwindow.cxx b/toolkit/source/hatchwindow/hatchwindow.cxx
index 6866fde51c12..b6a5cc1aed92 100644
--- a/toolkit/source/hatchwindow/hatchwindow.cxx
+++ b/toolkit/source/hatchwindow/hatchwindow.cxx
@@ -127,13 +127,13 @@ uno::Any SAL_CALL VCLXHatchWindow::queryInterface( const uno::Type & rType )
}
void SAL_CALL VCLXHatchWindow::acquire()
- throw()
+ noexcept
{
VCLXWindow::acquire();
}
void SAL_CALL VCLXHatchWindow::release()
- throw()
+ noexcept
{
VCLXWindow::release();
}
diff --git a/toolkit/source/hatchwindow/hatchwindow.hxx b/toolkit/source/hatchwindow/hatchwindow.hxx
index 71e3d84f2dd4..52e91d12e695 100644
--- a/toolkit/source/hatchwindow/hatchwindow.hxx
+++ b/toolkit/source/hatchwindow/hatchwindow.hxx
@@ -47,8 +47,8 @@ public:
// XInterface
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
- void SAL_CALL acquire() throw() override;
- void SAL_CALL release() throw() override;
+ void SAL_CALL acquire() noexcept override;
+ void SAL_CALL release() noexcept override;
// XTypeProvider
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/toolkit/source/helper/listenermultiplexer.cxx b/toolkit/source/helper/listenermultiplexer.cxx
index 80728a2dc20e..2cb6988f8a04 100644
--- a/toolkit/source/helper/listenermultiplexer.cxx
+++ b/toolkit/source/helper/listenermultiplexer.cxx
@@ -47,11 +47,11 @@ EventListenerMultiplexer::EventListenerMultiplexer( ::cppu::OWeakObject& rSource
{
}
-void SAL_CALL EventListenerMultiplexer::acquire() throw ()
+void SAL_CALL EventListenerMultiplexer::acquire() noexcept
{
return ListenerMultiplexerBase::acquire();
}
-void SAL_CALL EventListenerMultiplexer::release() throw ()
+void SAL_CALL EventListenerMultiplexer::release() noexcept
{
return ListenerMultiplexerBase::release();
}
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index 04f9d677b9f0..297453f1540c 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -390,9 +390,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
@@ -484,13 +484,13 @@ CCRS_PropertySetInfo::CCRS_PropertySetInfo(
// XInterface methods.
void SAL_CALL CCRS_PropertySetInfo::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL CCRS_PropertySetInfo::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
@@ -874,13 +874,13 @@ void CachedContentResultSet
// XInterface methods.
void SAL_CALL CachedContentResultSet::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL CachedContentResultSet::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/cacher/cachedcontentresultset.hxx b/ucb/source/cacher/cachedcontentresultset.hxx
index ebe18ec2d10a..99867a074894 100644
--- a/ucb/source/cacher/cachedcontentresultset.hxx
+++ b/ucb/source/cacher/cachedcontentresultset.hxx
@@ -188,9 +188,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx
index f570929e1ebf..19ca0dd060f8 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.cxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx
@@ -57,13 +57,13 @@ CachedContentResultSetStub::~CachedContentResultSetStub()
// XInterface methods.
void SAL_CALL CachedContentResultSetStub::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL CachedContentResultSetStub::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.hxx b/ucb/source/cacher/cachedcontentresultsetstub.hxx
index 16a89d284896..8c1aba4201a6 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.hxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.hxx
@@ -92,9 +92,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// own inherited
diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx
index c21bbf852bfb..b3464b66bdcb 100644
--- a/ucb/source/cacher/cacheddynamicresultset.cxx
+++ b/ucb/source/cacher/cacheddynamicresultset.cxx
@@ -76,13 +76,13 @@ void CachedDynamicResultSet
// XInterface methods.
void SAL_CALL CachedDynamicResultSet::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL CachedDynamicResultSet::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/cacher/cacheddynamicresultset.hxx b/ucb/source/cacher/cacheddynamicresultset.hxx
index a30aca238830..27b037718b34 100644
--- a/ucb/source/cacher/cacheddynamicresultset.hxx
+++ b/ucb/source/cacher/cacheddynamicresultset.hxx
@@ -54,9 +54,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx
index 8428f12283ca..dacc037ef228 100644
--- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx
+++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx
@@ -77,13 +77,13 @@ void CachedDynamicResultSetStub
// XInterface methods.
void SAL_CALL CachedDynamicResultSetStub::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL CachedDynamicResultSetStub::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.hxx b/ucb/source/cacher/cacheddynamicresultsetstub.hxx
index 1d4f18da5417..d6386625f01b 100644
--- a/ucb/source/cacher/cacheddynamicresultsetstub.hxx
+++ b/ucb/source/cacher/cacheddynamicresultsetstub.hxx
@@ -50,9 +50,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx
index 6699fc9df710..55aaab35c97e 100644
--- a/ucb/source/cacher/contentresultsetwrapper.cxx
+++ b/ucb/source/cacher/contentresultsetwrapper.cxx
@@ -1230,13 +1230,13 @@ ContentResultSetWrapperListener::~ContentResultSetWrapperListener()
// XInterface methods.
void SAL_CALL ContentResultSetWrapperListener::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentResultSetWrapperListener::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx
index 63e3602cbd75..abb1bd51d4c4 100644
--- a/ucb/source/cacher/contentresultsetwrapper.hxx
+++ b/ucb/source/cacher/contentresultsetwrapper.hxx
@@ -352,9 +352,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
//XEventListener
diff --git a/ucb/source/cacher/dynamicresultsetwrapper.cxx b/ucb/source/cacher/dynamicresultsetwrapper.cxx
index 274aff18dc6a..12bac33b5f57 100644
--- a/ucb/source/cacher/dynamicresultsetwrapper.cxx
+++ b/ucb/source/cacher/dynamicresultsetwrapper.cxx
@@ -434,13 +434,13 @@ DynamicResultSetWrapperListener::~DynamicResultSetWrapperListener()
// XInterface methods.
void SAL_CALL DynamicResultSetWrapperListener::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL DynamicResultSetWrapperListener::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/cacher/dynamicresultsetwrapper.hxx b/ucb/source/cacher/dynamicresultsetwrapper.hxx
index cde25dafc60d..3d0cb9e737b6 100644
--- a/ucb/source/cacher/dynamicresultsetwrapper.hxx
+++ b/ucb/source/cacher/dynamicresultsetwrapper.hxx
@@ -162,9 +162,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XEventListener ( base of XDynamicResultSetListener )
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx
index 3424b27aca94..337a1d8f1c42 100644
--- a/ucb/source/core/provprox.cxx
+++ b/ucb/source/core/provprox.cxx
@@ -108,13 +108,13 @@ UcbContentProviderProxy::~UcbContentProviderProxy()
// XInterface methods.
void SAL_CALL UcbContentProviderProxy::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL UcbContentProviderProxy::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/core/provprox.hxx b/ucb/source/core/provprox.hxx
index 4a95ada1ac26..a57516c37798 100644
--- a/ucb/source/core/provprox.hxx
+++ b/ucb/source/core/provprox.hxx
@@ -91,9 +91,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index 82a0ff409da2..e29afbf72ae5 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -1695,12 +1695,12 @@ namespace cmis
XTYPEPROVIDER_COMMON_IMPL( Content );
- void SAL_CALL Content::acquire() throw()
+ void SAL_CALL Content::acquire() noexcept
{
ContentImplHelper::acquire();
}
- void SAL_CALL Content::release() throw()
+ void SAL_CALL Content::release() noexcept
{
ContentImplHelper::release();
}
diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx
index cadfd3ea3112..54d7b6e41b08 100644
--- a/ucb/source/ucp/cmis/cmis_content.hxx
+++ b/ucb/source/ucp/cmis/cmis_content.hxx
@@ -164,9 +164,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx
index ded4483ecdfd..3807ebeac391 100644
--- a/ucb/source/ucp/cmis/cmis_provider.cxx
+++ b/ucb/source/ucp/cmis/cmis_provider.cxx
@@ -92,13 +92,13 @@ ContentProvider::~ContentProvider()
//XInterface
void SAL_CALL ContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/cmis/cmis_provider.hxx b/ucb/source/ucp/cmis/cmis_provider.hxx
index f6b627840da2..127ec46ca4f9 100644
--- a/ucb/source/ucp/cmis/cmis_provider.hxx
+++ b/ucb/source/ucp/cmis/cmis_provider.hxx
@@ -30,9 +30,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/cmis/std_inputstream.cxx b/ucb/source/ucp/cmis/std_inputstream.cxx
index a85f77d4e4e9..9ec4f6034f95 100644
--- a/ucb/source/ucp/cmis/std_inputstream.cxx
+++ b/ucb/source/ucp/cmis/std_inputstream.cxx
@@ -49,12 +49,12 @@ namespace cmis
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
- void SAL_CALL StdInputStream::acquire( ) throw( )
+ void SAL_CALL StdInputStream::acquire( ) noexcept
{
OWeakObject::acquire();
}
- void SAL_CALL StdInputStream::release( ) throw( )
+ void SAL_CALL StdInputStream::release( ) noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/cmis/std_inputstream.hxx b/ucb/source/ucp/cmis/std_inputstream.hxx
index 37bb4fb57339..82bf5e39b568 100644
--- a/ucb/source/ucp/cmis/std_inputstream.hxx
+++ b/ucb/source/ucp/cmis/std_inputstream.hxx
@@ -35,9 +35,9 @@ namespace cmis
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;
virtual sal_Int32 SAL_CALL
readBytes ( css::uno::Sequence< sal_Int8 >& aData,
diff --git a/ucb/source/ucp/cmis/std_outputstream.cxx b/ucb/source/ucp/cmis/std_outputstream.cxx
index becb8327dc62..deb70fb65f95 100644
--- a/ucb/source/ucp/cmis/std_outputstream.cxx
+++ b/ucb/source/ucp/cmis/std_outputstream.cxx
@@ -38,12 +38,12 @@ namespace cmis
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
- void SAL_CALL StdOutputStream::acquire( ) throw( )
+ void SAL_CALL StdOutputStream::acquire( ) noexcept
{
OWeakObject::acquire();
}
- void SAL_CALL StdOutputStream::release( ) throw( )
+ void SAL_CALL StdOutputStream::release( ) noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/cmis/std_outputstream.hxx b/ucb/source/ucp/cmis/std_outputstream.hxx
index 87afd47c8ee8..4cf10646e7b9 100644
--- a/ucb/source/ucp/cmis/std_outputstream.hxx
+++ b/ucb/source/ucp/cmis/std_outputstream.hxx
@@ -33,9 +33,9 @@ namespace cmis
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;
virtual void SAL_CALL writeBytes ( const css::uno::Sequence< sal_Int8 >& aData ) override;
diff --git a/ucb/source/ucp/file/filcmd.cxx b/ucb/source/ucp/file/filcmd.cxx
index a6f0f954cc98..6742f693d0e7 100644
--- a/ucb/source/ucp/file/filcmd.cxx
+++ b/ucb/source/ucp/file/filcmd.cxx
@@ -47,7 +47,7 @@ XCommandInfo_impl::~XCommandInfo_impl()
void SAL_CALL
XCommandInfo_impl::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -55,7 +55,7 @@ XCommandInfo_impl::acquire()
void SAL_CALL
XCommandInfo_impl::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/file/filcmd.hxx b/ucb/source/ucp/file/filcmd.hxx
index b3f74641ba3c..4a7729e89bd4 100644
--- a/ucb/source/ucp/file/filcmd.hxx
+++ b/ucb/source/ucp/file/filcmd.hxx
@@ -46,11 +46,11 @@ namespace fileaccess {
virtual void SAL_CALL
acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw() override;
+ noexcept override;
// XCommandInfo
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx
index 525e099b0cf4..9fa76da40c1a 100644
--- a/ucb/source/ucp/file/prov.cxx
+++ b/ucb/source/ucp/file/prov.cxx
@@ -210,11 +210,11 @@ public:
virtual void SAL_CALL
acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw() override;
+ noexcept override;
virtual Sequence< Property > SAL_CALL
@@ -254,7 +254,7 @@ XPropertySetInfoImpl2::XPropertySetInfoImpl2()
void SAL_CALL
XPropertySetInfoImpl2::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -262,7 +262,7 @@ XPropertySetInfoImpl2::acquire()
void SAL_CALL
XPropertySetInfoImpl2::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/ftp/ftpcontainer.hxx b/ucb/source/ucp/ftp/ftpcontainer.hxx
index 22da7d90a221..e555111a223d 100644
--- a/ucb/source/ucp/ftp/ftpcontainer.hxx
+++ b/ucb/source/ucp/ftp/ftpcontainer.hxx
@@ -40,7 +40,7 @@ public:
const void* pBuffer,
size_t size,
size_t nmemb
- ) throw();
+ ) noexcept;
sal_uInt32 m_nLen,m_nWritePos;
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index 7a6716ee06a0..a1f4a6a21fba 100644
--- a/ucb/source/ucp/ftp/ftpcontent.cxx
+++ b/ucb/source/ucp/ftp/ftpcontent.cxx
@@ -116,13 +116,13 @@ FTPContent::~FTPContent()
// XInterface methods.
void SAL_CALL FTPContent::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL FTPContent::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/ftp/ftpcontent.hxx b/ucb/source/ucp/ftp/ftpcontent.hxx
index b733bc45530c..ab0bda66ad73 100644
--- a/ucb/source/ucp/ftp/ftpcontent.hxx
+++ b/ucb/source/ucp/ftp/ftpcontent.hxx
@@ -64,9 +64,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
index 895711e0cfb4..7a237da55258 100644
--- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx
+++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
@@ -56,13 +56,13 @@ FTPContentProvider::~FTPContentProvider()
// XInterface methods.
void SAL_CALL FTPContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL FTPContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.hxx b/ucb/source/ucp/ftp/ftpcontentprovider.hxx
index 9de57e87ec38..3547de0f2a50 100644
--- a/ucb/source/ucp/ftp/ftpcontentprovider.hxx
+++ b/ucb/source/ucp/ftp/ftpcontentprovider.hxx
@@ -51,9 +51,9 @@ namespace ftp
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.cxx b/ucb/source/ucp/ftp/ftpresultsetbase.cxx
index ff2c970f181e..05422549fa25 100644
--- a/ucb/source/ucp/ftp/ftpresultsetbase.cxx
+++ b/ucb/source/ucp/ftp/ftpresultsetbase.cxx
@@ -49,7 +49,7 @@ ResultSetBase::~ResultSetBase()
void SAL_CALL
ResultSetBase::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -57,7 +57,7 @@ ResultSetBase::acquire()
void SAL_CALL
ResultSetBase::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
@@ -347,14 +347,14 @@ public:
}
void SAL_CALL acquire()
- throw() override
+ noexcept override
{
OWeakObject::acquire();
}
void SAL_CALL release()
- throw() override
+ noexcept override
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.hxx b/ucb/source/ucp/ftp/ftpresultsetbase.hxx
index 66e1f11186ba..f20a4eb4219c 100644
--- a/ucb/source/ucp/ftp/ftpresultsetbase.hxx
+++ b/ucb/source/ucp/ftp/ftpresultsetbase.hxx
@@ -60,11 +60,11 @@ namespace ftp {
virtual void SAL_CALL
acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw() override;
+ noexcept override;
// XComponent
virtual void SAL_CALL
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index d6afdc8610df..798dd9bed3a5 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -75,7 +75,7 @@ int MemoryContainer::append(
const void* pBuffer,
size_t size,
size_t nmemb
-) throw()
+) noexcept
{
sal_uInt32 nLen = size*nmemb;
sal_uInt32 tmp(nLen + m_nWritePos);
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index 7bb39eb616a3..31907611e880 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -1314,12 +1314,12 @@ css::uno::Sequence< css::ucb::CommandInfo > Content::getCommands( const css::uno
XTYPEPROVIDER_COMMON_IMPL( Content );
-void SAL_CALL Content::acquire() throw()
+void SAL_CALL Content::acquire() noexcept
{
ContentImplHelper::acquire();
}
-void SAL_CALL Content::release() throw()
+void SAL_CALL Content::release() noexcept
{
ContentImplHelper::release();
}
diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx
index 18eb3cd56858..e92eb57e56e5 100644
--- a/ucb/source/ucp/gio/gio_content.hxx
+++ b/ucb/source/ucp/gio/gio_content.hxx
@@ -146,9 +146,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
diff --git a/ucb/source/ucp/gio/gio_outputstream.hxx b/ucb/source/ucp/gio/gio_outputstream.hxx
index c76a1af3433f..40bdbcfc42db 100644
--- a/ucb/source/ucp/gio/gio_outputstream.hxx
+++ b/ucb/source/ucp/gio/gio_outputstream.hxx
@@ -45,8 +45,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type & type ) override;
- virtual void SAL_CALL acquire() throw () override { OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OWeakObject::release(); }
// XOutputStream
virtual void SAL_CALL writeBytes( const css::uno::Sequence< sal_Int8 >& aData ) override;
diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx
index 3472fcfdf609..b6dd31fbbcf1 100644
--- a/ucb/source/ucp/gio/gio_provider.cxx
+++ b/ucb/source/ucp/gio/gio_provider.cxx
@@ -68,13 +68,13 @@ ContentProvider::~ContentProvider()
// XInterface
void SAL_CALL ContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/gio/gio_provider.hxx b/ucb/source/ucp/gio/gio_provider.hxx
index 526c73b34729..5f895f2e3d93 100644
--- a/ucb/source/ucp/gio/gio_provider.hxx
+++ b/ucb/source/ucp/gio/gio_provider.hxx
@@ -33,8 +33,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<sal_Int8> SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/gio/gio_seekable.hxx b/ucb/source/ucp/gio/gio_seekable.hxx
index a17b81f1c6c5..9bf284b89023 100644
--- a/ucb/source/ucp/gio/gio_seekable.hxx
+++ b/ucb/source/ucp/gio/gio_seekable.hxx
@@ -41,8 +41,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& type) override;
- virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
+ virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); }
+ virtual void SAL_CALL release() noexcept override { OWeakObject::release(); }
// XSeekable
virtual void SAL_CALL seek(sal_Int64 location) override;
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
index 5afd6cc5bb3b..76391b4bfc51 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
@@ -154,7 +154,7 @@ HierarchyContent::~HierarchyContent()
// virtual
void SAL_CALL HierarchyContent::acquire()
- throw( )
+ noexcept
{
ContentImplHelper::acquire();
}
@@ -162,7 +162,7 @@ void SAL_CALL HierarchyContent::acquire()
// virtual
void SAL_CALL HierarchyContent::release()
- throw( )
+ noexcept
{
ContentImplHelper::release();
}
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
index 566ead8486f3..94e75730a900 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
@@ -200,9 +200,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx
index cfd4c5e500e5..253a1d8e79a7 100644
--- a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx
@@ -94,9 +94,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
@@ -496,13 +496,13 @@ HierarchyDataAccess::HierarchyDataAccess( const uno::Reference<
// XInterface methods.
void SAL_CALL HierarchyDataAccess::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL HierarchyDataAccess::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx
index c6ca49541d90..fa8cdaca8887 100644
--- a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx
@@ -63,13 +63,13 @@ HierarchyContentProvider::~HierarchyContentProvider()
// XInterface methods.
void SAL_CALL HierarchyContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL HierarchyContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
index 2625b5753048..55edb8448ebe 100644
--- a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
@@ -76,9 +76,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index dfda010f2f63..346a5781050d 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -276,7 +276,7 @@ Content::~Content()
// virtual
void SAL_CALL Content::acquire()
- throw( )
+ noexcept
{
ContentImplHelper::acquire();
}
@@ -284,7 +284,7 @@ void SAL_CALL Content::acquire()
// virtual
void SAL_CALL Content::release()
- throw( )
+ noexcept
{
ContentImplHelper::release();
}
diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx
index ffa603765e7a..38b26b2becc6 100644
--- a/ucb/source/ucp/package/pkgcontent.hxx
+++ b/ucb/source/ucp/package/pkgcontent.hxx
@@ -216,9 +216,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/package/pkgprovider.cxx b/ucb/source/ucp/package/pkgprovider.cxx
index 097eb09d44f3..05fd6481d2b8 100644
--- a/ucb/source/ucp/package/pkgprovider.cxx
+++ b/ucb/source/ucp/package/pkgprovider.cxx
@@ -68,10 +68,10 @@ public:
queryInterface( const uno::Type& aType ) override
{ return m_xNA->queryInterface( aType ); }
virtual void SAL_CALL
- acquire() throw() override
+ acquire() noexcept override
{ OWeakObject::acquire(); }
virtual void SAL_CALL
- release() throw() override
+ release() noexcept override
{ OWeakObject::release(); }
// XHierarchicalNameAccess
@@ -107,13 +107,13 @@ ContentProvider::~ContentProvider()
// XInterface methods.
void SAL_CALL ContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/package/pkgprovider.hxx b/ucb/source/ucp/package/pkgprovider.hxx
index ebec7524d32f..115d30e9c71b 100644
--- a/ucb/source/ucp/package/pkgprovider.hxx
+++ b/ucb/source/ucp/package/pkgprovider.hxx
@@ -56,9 +56,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 9dd1b6bf0b73..dcb800ee91c8 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -177,7 +177,7 @@ Content::~Content()
// virtual
void SAL_CALL Content::acquire()
- throw( )
+ noexcept
{
ContentImplHelper::acquire();
}
@@ -185,7 +185,7 @@ void SAL_CALL Content::acquire()
// virtual
void SAL_CALL Content::release()
- throw( )
+ noexcept
{
ContentImplHelper::release();
}
diff --git a/ucb/source/ucp/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx
index 1a9ffe0c8795..56117b1b0853 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.hxx
@@ -217,9 +217,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx b/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx
index cac1eaaf61e3..a5a8f742b41d 100644
--- a/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx
@@ -49,9 +49,9 @@ namespace tdoc_ucp
// XInterface
virtual uno::Any SAL_CALL queryInterface( const uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL release()
- throw () override;
+ noexcept override;
// XTypeProvider
virtual uno::Sequence< uno::Type > SAL_CALL getTypes() override;
@@ -81,7 +81,7 @@ namespace tdoc_ucp
// virtual
void SAL_CALL InteractionSupplyPassword::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -89,7 +89,7 @@ void SAL_CALL InteractionSupplyPassword::acquire()
// virtual
void SAL_CALL InteractionSupplyPassword::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx
index f468bbf12fc4..f6b187cca1a8 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx
@@ -66,13 +66,13 @@ ContentProvider::~ContentProvider()
// XInterface methods.
void SAL_CALL ContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx
index 08fff75d8891..406252ff23d3 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx
@@ -64,9 +64,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.cxx b/ucb/source/ucp/tdoc/tdoc_stgelems.cxx
index e3eff3f78dd4..ad1ac498db72 100644
--- a/ucb/source/ucp/tdoc/tdoc_stgelems.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_stgelems.cxx
@@ -160,7 +160,7 @@ uno::Any SAL_CALL Storage::queryInterface( const uno::Type& aType )
// virtual
void SAL_CALL Storage::acquire()
- throw ()
+ noexcept
{
osl_atomic_increment( &m_refCount );
}
@@ -168,7 +168,7 @@ void SAL_CALL Storage::acquire()
// virtual
void SAL_CALL Storage::release()
- throw ()
+ noexcept
{
//#i120738, Storage::release overrides OWeakObject::release(),
//need call OWeakObject::release() to release OWeakObject::m_pWeakConnectionPoint
diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
index 29bec5573377..eda5390f07b6 100644
--- a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx
@@ -85,9 +85,9 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) override;
virtual void SAL_CALL acquire()
- throw () override;
+ noexcept override;
virtual void SAL_CALL release()
- throw () override;
+ noexcept override;
// XTypeProvider (implemnented by base, but needs to be overridden for
// delegating to aggregate)
diff --git a/ucb/source/ucp/webdav-neon/NeonInputStream.hxx b/ucb/source/ucp/webdav-neon/NeonInputStream.hxx
index d00760b92758..aa685e28335f 100644
--- a/ucb/source/ucp/webdav-neon/NeonInputStream.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonInputStream.hxx
@@ -59,11 +59,11 @@ class NeonInputStream : public css::io::XInputStream,
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & type ) override;
virtual void SAL_CALL acquire()
- throw () override
+ noexcept override
{ OWeakObject::acquire(); }
virtual void SAL_CALL release()
- throw() override
+ noexcept override
{ OWeakObject::release(); }
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 472366469c76..0ef3028b6be9 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -280,7 +280,7 @@ Content::~Content()
// virtual
void SAL_CALL Content::acquire()
- throw( )
+ noexcept
{
ContentImplHelper::acquire();
}
@@ -288,7 +288,7 @@ void SAL_CALL Content::acquire()
// virtual
void SAL_CALL Content::release()
- throw( )
+ noexcept
{
ContentImplHelper::release();
}
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index ccdac291272a..f00f9a02465e 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -237,9 +237,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.cxx b/ucb/source/ucp/webdav-neon/webdavprovider.cxx
index 55d8619a94aa..87dc8b03188b 100644
--- a/ucb/source/ucp/webdav-neon/webdavprovider.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavprovider.cxx
@@ -63,13 +63,13 @@ ContentProvider::~ContentProvider()
// XInterface methods.
void SAL_CALL ContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.hxx b/ucb/source/ucp/webdav-neon/webdavprovider.hxx
index d03c310a3639..439ace674be9 100644
--- a/ucb/source/ucp/webdav-neon/webdavprovider.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavprovider.hxx
@@ -76,9 +76,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 887658755be8..e222213ce671 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -134,9 +134,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XContentEventListener
virtual void SAL_CALL contentEvent( const ContentEvent& evt ) override;
@@ -1285,13 +1285,13 @@ void Content_Impl::inserted()
// XInterface methods.
void SAL_CALL ContentEventListener_Impl::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentEventListener_Impl::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx
index f273d51907d4..8ca2bfddec6a 100644
--- a/ucbhelper/source/provider/contenthelper.cxx
+++ b/ucbhelper/source/provider/contenthelper.cxx
@@ -139,7 +139,7 @@ ContentImplHelper::~ContentImplHelper()
}
void SAL_CALL ContentImplHelper::release()
- throw()
+ noexcept
{
// #144882# - Call to OWeakObject::release may destroy m_xProvider.
// Prevent this.
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx
index f954ad8e99e8..f736bac8a789 100644
--- a/ucbhelper/source/provider/resultset.cxx
+++ b/ucbhelper/source/provider/resultset.cxx
@@ -104,9 +104,9 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
@@ -1427,13 +1427,13 @@ PropertySetInfo::PropertySetInfo(
// XInterface methods.
void SAL_CALL PropertySetInfo::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL PropertySetInfo::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/ucbhelper/source/provider/simplenameclashresolverequest.cxx b/ucbhelper/source/provider/simplenameclashresolverequest.cxx
index 04e9f9ebc7e6..51517f93dd51 100644
--- a/ucbhelper/source/provider/simplenameclashresolverequest.cxx
+++ b/ucbhelper/source/provider/simplenameclashresolverequest.cxx
@@ -47,9 +47,9 @@ public:
virtual css::uno::Any SAL_CALL
queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL
@@ -75,13 +75,13 @@ public:
};
void SAL_CALL InteractionSupplyName::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL InteractionSupplyName::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx
index cadd1b855b31..13a2275282ba 100644
--- a/unoidl/source/legacyprovider.cxx
+++ b/unoidl/source/legacyprovider.cxx
@@ -79,7 +79,7 @@ public:
RegistryKey const & key);
private:
- virtual ~Cursor() throw () override {}
+ virtual ~Cursor() noexcept override {}
virtual rtl::Reference< Entity > getNext(OUString * name) override;
@@ -135,7 +135,7 @@ public:
{}
private:
- virtual ~Module() throw () override {}
+ virtual ~Module() noexcept override {}
virtual std::vector< OUString > getMemberNames() const override;
@@ -821,7 +821,7 @@ rtl::Reference< Entity > LegacyProvider::findEntity(OUString const & name)
: rtl::Reference< Entity >();
}
-LegacyProvider::~LegacyProvider() throw () {}
+LegacyProvider::~LegacyProvider() noexcept {}
}
diff --git a/unoidl/source/legacyprovider.hxx b/unoidl/source/legacyprovider.hxx
index 41310ecdee70..caa1b38c84a4 100644
--- a/unoidl/source/legacyprovider.hxx
+++ b/unoidl/source/legacyprovider.hxx
@@ -30,7 +30,7 @@ public:
const override;
private:
- virtual ~LegacyProvider() throw () override;
+ virtual ~LegacyProvider() noexcept override;
Manager & manager_;
mutable RegistryKey ucr_;
diff --git a/unoidl/source/sourcefileprovider.cxx b/unoidl/source/sourcefileprovider.cxx
index c0fc695e4235..983b7d3c3403 100644
--- a/unoidl/source/sourcefileprovider.cxx
+++ b/unoidl/source/sourcefileprovider.cxx
@@ -27,7 +27,7 @@ public:
{}
private:
- virtual ~Cursor() throw () override {}
+ virtual ~Cursor() noexcept override {}
virtual rtl::Reference< Entity > getNext(OUString * name) override;
@@ -53,7 +53,7 @@ public:
std::map< OUString, rtl::Reference<Entity> > map;
private:
- virtual ~Module() throw () override {}
+ virtual ~Module() noexcept override {}
virtual std::vector<OUString> getMemberNames() const override;
@@ -128,7 +128,7 @@ rtl::Reference<Entity> SourceFileProvider::findEntity(OUString const & name)
}
}
-SourceFileProvider::~SourceFileProvider() throw () {}
+SourceFileProvider::~SourceFileProvider() noexcept {}
}
diff --git a/unoidl/source/sourcefileprovider.hxx b/unoidl/source/sourcefileprovider.hxx
index 2d986cc1f39d..52fd32f3c735 100644
--- a/unoidl/source/sourcefileprovider.hxx
+++ b/unoidl/source/sourcefileprovider.hxx
@@ -31,7 +31,7 @@ public:
virtual rtl::Reference<Entity> findEntity(OUString const& name) const override;
private:
- virtual ~SourceFileProvider() throw() override;
+ virtual ~SourceFileProvider() noexcept override;
std::map<OUString, rtl::Reference<Entity>> rootMap_;
};
diff --git a/unoidl/source/sourceprovider-scanner.hxx b/unoidl/source/sourceprovider-scanner.hxx
index 2d33c39cbf25..6cad6a540117 100644
--- a/unoidl/source/sourceprovider-scanner.hxx
+++ b/unoidl/source/sourceprovider-scanner.hxx
@@ -51,7 +51,7 @@ public:
std::vector<unoidl::EnumTypeEntity::Member> members;
private:
- virtual ~SourceProviderEnumTypeEntityPad() throw () override {}
+ virtual ~SourceProviderEnumTypeEntityPad() noexcept override {}
};
class SourceProviderPlainStructTypeEntityPad: public SourceProviderEntityPad {
@@ -68,7 +68,7 @@ public:
std::vector<unoidl::PlainStructTypeEntity::Member> members;
private:
- virtual ~SourceProviderPlainStructTypeEntityPad() throw () override {}
+ virtual ~SourceProviderPlainStructTypeEntityPad() noexcept override {}
};
class SourceProviderPolymorphicStructTypeTemplateEntityPad:
@@ -83,7 +83,7 @@ public:
std::vector<unoidl::PolymorphicStructTypeTemplateEntity::Member> members;
private:
- virtual ~SourceProviderPolymorphicStructTypeTemplateEntityPad() throw () override {}
+ virtual ~SourceProviderPolymorphicStructTypeTemplateEntityPad() noexcept override {}
};
class SourceProviderExceptionTypeEntityPad: public SourceProviderEntityPad {
@@ -100,7 +100,7 @@ public:
std::vector<unoidl::ExceptionTypeEntity::Member> members;
private:
- virtual ~SourceProviderExceptionTypeEntityPad() throw () override {}
+ virtual ~SourceProviderExceptionTypeEntityPad() noexcept override {}
};
class SourceProviderInterfaceTypeEntityPad: public SourceProviderEntityPad {
@@ -151,7 +151,7 @@ public:
std::map<OUString, Member> allMembers;
private:
- virtual ~SourceProviderInterfaceTypeEntityPad() throw () override {}
+ virtual ~SourceProviderInterfaceTypeEntityPad() noexcept override {}
bool checkBaseClashes(
YYLTYPE location, yyscan_t yyscanner, SourceProviderScannerData * data,
@@ -186,7 +186,7 @@ public:
std::vector<unoidl::ConstantGroupEntity::Member> members;
private:
- virtual ~SourceProviderConstantGroupEntityPad() throw () override {}
+ virtual ~SourceProviderConstantGroupEntityPad() noexcept override {}
};
class SourceProviderSingleInterfaceBasedServiceEntityPad:
@@ -232,7 +232,7 @@ public:
std::vector<Constructor> constructors;
private:
- virtual ~SourceProviderSingleInterfaceBasedServiceEntityPad() throw () override {}
+ virtual ~SourceProviderSingleInterfaceBasedServiceEntityPad() noexcept override {}
};
class SourceProviderAccumulationBasedServiceEntityPad:
@@ -251,7 +251,7 @@ public:
directProperties;
private:
- virtual ~SourceProviderAccumulationBasedServiceEntityPad() throw () override {}
+ virtual ~SourceProviderAccumulationBasedServiceEntityPad() noexcept override {}
};
struct SourceProviderEntity {
diff --git a/unoidl/source/sourcetreeprovider.cxx b/unoidl/source/sourcetreeprovider.cxx
index 498ab33b03bc..9531d057c979 100644
--- a/unoidl/source/sourcetreeprovider.cxx
+++ b/unoidl/source/sourcetreeprovider.cxx
@@ -97,7 +97,7 @@ public:
Cursor() {}
private:
- virtual ~Cursor() throw () override {}
+ virtual ~Cursor() noexcept override {}
virtual rtl::Reference<Entity> getNext(OUString *) override
{ return rtl::Reference<Entity>(); } //TODO
@@ -108,7 +108,7 @@ public:
SourceModuleEntity() {}
private:
- virtual ~SourceModuleEntity() throw () override {}
+ virtual ~SourceModuleEntity() noexcept override {}
virtual std::vector<OUString> getMemberNames() const override
{ return std::vector<OUString>(); } //TODO
@@ -203,7 +203,7 @@ rtl::Reference<Entity> SourceTreeProvider::findEntity(OUString const & name)
return ent;
}
-SourceTreeProvider::~SourceTreeProvider() throw () {}
+SourceTreeProvider::~SourceTreeProvider() noexcept {}
}
diff --git a/unoidl/source/sourcetreeprovider.hxx b/unoidl/source/sourcetreeprovider.hxx
index 3318a6dee02b..37bd6baa1286 100644
--- a/unoidl/source/sourcetreeprovider.hxx
+++ b/unoidl/source/sourcetreeprovider.hxx
@@ -31,7 +31,7 @@ public:
virtual rtl::Reference<Entity> findEntity(OUString const& name) const override;
private:
- virtual ~SourceTreeProvider() throw() override;
+ virtual ~SourceTreeProvider() noexcept override;
Manager& manager_;
OUString uri_;
diff --git a/unoidl/source/unoidl.cxx b/unoidl/source/unoidl.cxx
index e2c3a0f6fe81..b66a6f45e534 100644
--- a/unoidl/source/unoidl.cxx
+++ b/unoidl/source/unoidl.cxx
@@ -38,7 +38,7 @@ public:
{}
private:
- virtual ~AggregatingModule() throw () override {}
+ virtual ~AggregatingModule() noexcept override {}
virtual std::vector< OUString > getMemberNames() const override;
@@ -70,7 +70,7 @@ public:
{ findCursor(); }
private:
- virtual ~AggregatingCursor() throw () override {}
+ virtual ~AggregatingCursor() noexcept override {}
virtual rtl::Reference< Entity > getNext(OUString * name) override;
@@ -125,44 +125,44 @@ rtl::Reference< MapCursor > AggregatingModule::createCursor() const {
}
-NoSuchFileException::~NoSuchFileException() throw () {}
+NoSuchFileException::~NoSuchFileException() noexcept {}
-FileFormatException::~FileFormatException() throw () {}
+FileFormatException::~FileFormatException() noexcept {}
-Entity::~Entity() throw () {}
+Entity::~Entity() noexcept {}
-MapCursor::~MapCursor() throw () {}
+MapCursor::~MapCursor() noexcept {}
-ModuleEntity::~ModuleEntity() throw () {}
+ModuleEntity::~ModuleEntity() noexcept {}
-PublishableEntity::~PublishableEntity() throw () {}
+PublishableEntity::~PublishableEntity() noexcept {}
-EnumTypeEntity::~EnumTypeEntity() throw () {}
+EnumTypeEntity::~EnumTypeEntity() noexcept {}
-PlainStructTypeEntity::~PlainStructTypeEntity() throw () {}
+PlainStructTypeEntity::~PlainStructTypeEntity() noexcept {}
PolymorphicStructTypeTemplateEntity::~PolymorphicStructTypeTemplateEntity()
- throw ()
+ noexcept
{}
-ExceptionTypeEntity::~ExceptionTypeEntity() throw () {}
+ExceptionTypeEntity::~ExceptionTypeEntity() noexcept {}
-InterfaceTypeEntity::~InterfaceTypeEntity() throw () {}
+InterfaceTypeEntity::~InterfaceTypeEntity() noexcept {}
-TypedefEntity::~TypedefEntity() throw () {}
+TypedefEntity::~TypedefEntity() noexcept {}
-ConstantGroupEntity::~ConstantGroupEntity() throw () {}
+ConstantGroupEntity::~ConstantGroupEntity() noexcept {}
-SingleInterfaceBasedServiceEntity::~SingleInterfaceBasedServiceEntity() throw ()
+SingleInterfaceBasedServiceEntity::~SingleInterfaceBasedServiceEntity() noexcept
{}
-AccumulationBasedServiceEntity::~AccumulationBasedServiceEntity() throw () {}
+AccumulationBasedServiceEntity::~AccumulationBasedServiceEntity() noexcept {}
-InterfaceBasedSingletonEntity::~InterfaceBasedSingletonEntity() throw () {}
+InterfaceBasedSingletonEntity::~InterfaceBasedSingletonEntity() noexcept {}
-ServiceBasedSingletonEntity::~ServiceBasedSingletonEntity() throw () {}
+ServiceBasedSingletonEntity::~ServiceBasedSingletonEntity() noexcept {}
-Provider::~Provider() throw () {}
+Provider::~Provider() noexcept {}
rtl::Reference< Provider > Manager::addProvider(OUString const & uri) {
rtl::Reference< Provider > p(loadProvider(uri));
@@ -192,7 +192,7 @@ rtl::Reference< MapCursor > Manager::createCursor(OUString const & name)
return new AggregatingCursor(providers_, name);
}
-Manager::~Manager() throw () {}
+Manager::~Manager() noexcept {}
rtl::Reference< Provider > Manager::loadProvider(OUString const & uri) {
osl::DirectoryItem item;
diff --git a/unoidl/source/unoidlprovider.cxx b/unoidl/source/unoidlprovider.cxx
index 9450cab33428..b1c7788c2a40 100644
--- a/unoidl/source/unoidlprovider.cxx
+++ b/unoidl/source/unoidlprovider.cxx
@@ -665,7 +665,7 @@ public:
{}
private:
- virtual ~UnoidlCursor() throw () override {}
+ virtual ~UnoidlCursor() noexcept override {}
virtual rtl::Reference< Entity > getNext(OUString * name) override;
@@ -707,7 +707,7 @@ public:
}
private:
- virtual ~UnoidlModuleEntity() throw () override {}
+ virtual ~UnoidlModuleEntity() noexcept override {}
virtual std::vector< OUString > getMemberNames() const override;
@@ -1401,7 +1401,7 @@ rtl::Reference< Entity > UnoidlProvider::findEntity(OUString const & name) const
}
}
-UnoidlProvider::~UnoidlProvider() throw () {}
+UnoidlProvider::~UnoidlProvider() noexcept {}
}
diff --git a/unoidl/source/unoidlprovider.hxx b/unoidl/source/unoidlprovider.hxx
index 1e80d7e44b6b..734f8592b814 100644
--- a/unoidl/source/unoidlprovider.hxx
+++ b/unoidl/source/unoidlprovider.hxx
@@ -45,7 +45,7 @@ public:
const override;
private:
- virtual ~UnoidlProvider() throw () override;
+ virtual ~UnoidlProvider() noexcept override;
rtl::Reference< detail::MappedFile > file_;
NestedMap map_;
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx
index 8c6b21000fae..f7722d6fdf25 100644
--- a/unotools/source/config/confignode.cxx
+++ b/unotools/source/config/confignode.cxx
@@ -182,7 +182,7 @@ namespace utl
return sName;
}
- Sequence< OUString > OConfigurationNode::getNodeNames() const throw()
+ Sequence< OUString > OConfigurationNode::getNodeNames() const noexcept
{
OSL_ENSURE(m_xDirectAccess.is(), "OConfigurationNode::getNodeNames: object is invalid!");
Sequence< OUString > aReturn;
@@ -204,7 +204,7 @@ namespace utl
return aReturn;
}
- bool OConfigurationNode::removeNode(const OUString& _rName) const throw()
+ bool OConfigurationNode::removeNode(const OUString& _rName) const noexcept
{
OSL_ENSURE(m_xContainerAccess.is(), "OConfigurationNode::removeNode: object is invalid!");
if (m_xContainerAccess.is())
@@ -227,7 +227,7 @@ namespace utl
return false;
}
- OConfigurationNode OConfigurationNode::insertNode(const OUString& _rName,const Reference< XInterface >& _xNode) const throw()
+ OConfigurationNode OConfigurationNode::insertNode(const OUString& _rName,const Reference< XInterface >& _xNode) const noexcept
{
if(_xNode.is())
{
@@ -252,7 +252,7 @@ namespace utl
return OConfigurationNode();
}
- OConfigurationNode OConfigurationNode::createNode(const OUString& _rName) const throw()
+ OConfigurationNode OConfigurationNode::createNode(const OUString& _rName) const noexcept
{
Reference< XSingleServiceFactory > xChildFactory(m_xContainerAccess, UNO_QUERY);
OSL_ENSURE(xChildFactory.is(), "OConfigurationNode::createNode: object is invalid or read-only!");
@@ -274,7 +274,7 @@ namespace utl
return OConfigurationNode();
}
- OConfigurationNode OConfigurationNode::openNode(const OUString& _rPath) const throw()
+ OConfigurationNode OConfigurationNode::openNode(const OUString& _rPath) const noexcept
{
OSL_ENSURE(m_xDirectAccess.is(), "OConfigurationNode::openNode: object is invalid!");
OSL_ENSURE(m_xHierarchyAccess.is(), "OConfigurationNode::openNode: object is invalid!");
@@ -324,7 +324,7 @@ namespace utl
return bIsSet;
}
- bool OConfigurationNode::hasByHierarchicalName( const OUString& _rName ) const throw()
+ bool OConfigurationNode::hasByHierarchicalName( const OUString& _rName ) const noexcept
{
OSL_ENSURE( m_xHierarchyAccess.is(), "OConfigurationNode::hasByHierarchicalName: no hierarchy access!" );
try
@@ -341,7 +341,7 @@ namespace utl
return false;
}
- bool OConfigurationNode::hasByName(const OUString& _rName) const throw()
+ bool OConfigurationNode::hasByName(const OUString& _rName) const noexcept
{
OSL_ENSURE(m_xDirectAccess.is(), "OConfigurationNode::hasByName: object is invalid!");
try
@@ -356,7 +356,7 @@ namespace utl
return false;
}
- bool OConfigurationNode::setNodeValue(const OUString& _rPath, const Any& _rValue) const throw()
+ bool OConfigurationNode::setNodeValue(const OUString& _rPath, const Any& _rValue) const noexcept
{
bool bResult = false;
@@ -403,7 +403,7 @@ namespace utl
return bResult;
}
- Any OConfigurationNode::getNodeValue(const OUString& _rPath) const throw()
+ Any OConfigurationNode::getNodeValue(const OUString& _rPath) const noexcept
{
OSL_ENSURE(m_xDirectAccess.is(), "OConfigurationNode::hasByName: object is invalid!");
OSL_ENSURE(m_xHierarchyAccess.is(), "OConfigurationNode::hasByName: object is invalid!");
@@ -427,7 +427,7 @@ namespace utl
return aReturn;
}
- void OConfigurationNode::clear() throw()
+ void OConfigurationNode::clear() noexcept
{
m_xHierarchyAccess.clear();
m_xDirectAccess.clear();
@@ -500,13 +500,13 @@ namespace utl
}
}
- void OConfigurationTreeRoot::clear() throw()
+ void OConfigurationTreeRoot::clear() noexcept
{
OConfigurationNode::clear();
m_xCommitter.clear();
}
- bool OConfigurationTreeRoot::commit() const throw()
+ bool OConfigurationTreeRoot::commit() const noexcept
{
OSL_ENSURE(isValid(), "OConfigurationTreeRoot::commit: object is invalid!");
if (!isValid())
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index aaf8411e2a38..993cf8c8908f 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -393,7 +393,7 @@ bool utl::UCBContentHelper::EqualURLs(
bool utl::UCBContentHelper::ensureFolder(
const css::uno::Reference< css::uno::XComponentContext >& xCtx,
const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
- const OUString& rFolder, ucbhelper::Content & result) throw()
+ const OUString& rFolder, ucbhelper::Content & result) noexcept
{
try
{
diff --git a/unoxml/inc/node.hxx b/unoxml/inc/node.hxx
index bec0a8c9b8c1..e6974271f83a 100644
--- a/unoxml/inc/node.hxx
+++ b/unoxml/inc/node.hxx
@@ -117,7 +117,7 @@ namespace DOM
virtual ~CNode() override;
- static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+ static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept;
xmlNodePtr GetNodePtr() { return m_aNodePtr; }
diff --git a/unoxml/source/dom/domimplementation.cxx b/unoxml/source/dom/domimplementation.cxx
index 40afdb3196dd..41cf2c7c053c 100644
--- a/unoxml/source/dom/domimplementation.cxx
+++ b/unoxml/source/dom/domimplementation.cxx
@@ -41,8 +41,8 @@ namespace DOM
}
// there is just 1 static instance, so these must not delete it!
- void SAL_CALL CDOMImplementation::acquire() throw () { }
- void SAL_CALL CDOMImplementation::release() throw () { }
+ void SAL_CALL CDOMImplementation::acquire() noexcept { }
+ void SAL_CALL CDOMImplementation::release() noexcept { }
/**
Creates a DOM Document object of the specified type with its document element.
diff --git a/unoxml/source/dom/domimplementation.hxx b/unoxml/source/dom/domimplementation.hxx
index e2f2509445bc..955a4e32ea56 100644
--- a/unoxml/source/dom/domimplementation.hxx
+++ b/unoxml/source/dom/domimplementation.hxx
@@ -38,8 +38,8 @@ namespace DOM
static CDOMImplementation* get();
// there is just 1 static instance, so these must not delete it!
- 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;
/**
Creates a DOM Document object of the specified type with its document element.
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index ce6b9e7beb54..a6809cf7df47 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -162,7 +162,7 @@ namespace DOM
}
}
- const css::uno::Sequence< sal_Int8 > & CNode::getUnoTunnelId() throw()
+ const css::uno::Sequence< sal_Int8 > & CNode::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theCNodeUnoTunnelId;
return theCNodeUnoTunnelId.getSeq();
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index d6b0a41e029d..6ed9e552cef6 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -96,7 +96,7 @@ const char s_nsOOo [] = "http://openoffice.org/2004/office/rdfa/";
//FIXME: this approach is not ideal. can we use blank nodes instead?
-bool isInternalContext(librdf_node *i_pNode) throw ()
+bool isInternalContext(librdf_node *i_pNode) noexcept
{
OSL_ENSURE(i_pNode, "isInternalContext: context null");
OSL_ENSURE(librdf_node_is_resource(i_pNode),
@@ -638,7 +638,7 @@ class NodeArray : private std::vector<librdf_node*>
public:
NodeArray(int cnt) : std::vector<librdf_node*>(cnt) {}
- ~NodeArray() throw ()
+ ~NodeArray() noexcept
{
std::for_each(begin(), end(), safe_librdf_free_node);
}
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;
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
index 8eaebf364320..59c87cef40fc 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
@@ -54,7 +54,7 @@ XInputStream_impl::queryInterface( const uno::Type& rType )
void SAL_CALL
XInputStream_impl::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -62,7 +62,7 @@ XInputStream_impl::acquire()
void SAL_CALL
XInputStream_impl::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.hxx b/xmlhelp/source/cxxhelp/provider/inputstream.hxx
index 20f339e7a0d4..5f9146293b46 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.hxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.hxx
@@ -51,11 +51,11 @@ namespace chelp {
virtual void SAL_CALL
acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw() override;
+ noexcept override;
virtual sal_Int32 SAL_CALL
readBytes(
diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
index 76bd92482e69..ff31b25ee9aa 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
@@ -55,13 +55,13 @@ ContentProvider::~ContentProvider()
// XInterface methods.
void SAL_CALL ContentProvider::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
void SAL_CALL ContentProvider::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
diff --git a/xmlhelp/source/cxxhelp/provider/provider.hxx b/xmlhelp/source/cxxhelp/provider/provider.hxx
index 3a73309e5e1b..dba65918a3d8 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.hxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.hxx
@@ -53,9 +53,9 @@ namespace chelp {
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL release()
- throw() override;
+ noexcept override;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index 9f8d96150e74..90c928bbc789 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -49,7 +49,7 @@ ResultSetBase::~ResultSetBase()
void SAL_CALL
ResultSetBase::acquire()
- throw()
+ noexcept
{
OWeakObject::acquire();
}
@@ -57,7 +57,7 @@ ResultSetBase::acquire()
void SAL_CALL
ResultSetBase::release()
- throw()
+ noexcept
{
OWeakObject::release();
}
@@ -342,14 +342,14 @@ public:
}
void SAL_CALL acquire()
- throw() override
+ noexcept override
{
OWeakObject::acquire();
}
void SAL_CALL release()
- throw() override
+ noexcept override
{
OWeakObject::release();
}
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
index 0511595741e0..5a98d1a1fd19 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
@@ -61,11 +61,11 @@ namespace chelp {
virtual void SAL_CALL
acquire()
- throw() override;
+ noexcept override;
virtual void SAL_CALL
release()
- throw() override;
+ noexcept override;
// XComponent
virtual void SAL_CALL
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index a4f6d8f89aec..e06a8df419ce 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -294,8 +294,8 @@ public:
bool isRoot );
virtual Any SAL_CALL queryInterface( const 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;
virtual sal_Int32 SAL_CALL readBytes( Sequence< sal_Int8 >& aData,sal_Int32 nBytesToRead ) override;
@@ -888,13 +888,13 @@ Any SAL_CALL InputStreamTransformer::queryInterface( const Type& rType )
}
-void SAL_CALL InputStreamTransformer::acquire() throw()
+void SAL_CALL InputStreamTransformer::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL InputStreamTransformer::release() throw()
+void SAL_CALL InputStreamTransformer::release() noexcept
{
OWeakObject::release();
}
diff --git a/xmloff/inc/PropertySetMerger.hxx b/xmloff/inc/PropertySetMerger.hxx
index dba99d5b1b37..f002f4c8f639 100644
--- a/xmloff/inc/PropertySetMerger.hxx
+++ b/xmloff/inc/PropertySetMerger.hxx
@@ -23,6 +23,6 @@
extern css::uno::Reference<css::beans::XPropertySet> PropertySetMerger_CreateInstance(
const css::uno::Reference<css::beans::XPropertySet>& rPropSet1,
- const css::uno::Reference<css::beans::XPropertySet>& rPropSet2) throw();
+ const css::uno::Reference<css::beans::XPropertySet>& rPropSet2) noexcept;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx
index 71c85511d85f..b61b038be7d4 100644
--- a/xmloff/inc/SchXMLImport.hxx
+++ b/xmloff/inc/SchXMLImport.hxx
@@ -35,7 +35,7 @@ public:
SchXMLImport(const css::uno::Reference<css::uno::XComponentContext>& xContext,
OUString const& implementationName, SvXMLImportFlags nImportFlags);
- virtual ~SchXMLImport() throw() override;
+ virtual ~SchXMLImport() noexcept override;
SvXMLImportContext* CreateStylesContext();
diff --git a/xmloff/inc/XMLEmbeddedObjectExportFilter.hxx b/xmloff/inc/XMLEmbeddedObjectExportFilter.hxx
index 1513215fb776..c21321321af6 100644
--- a/xmloff/inc/XMLEmbeddedObjectExportFilter.hxx
+++ b/xmloff/inc/XMLEmbeddedObjectExportFilter.hxx
@@ -34,8 +34,8 @@ class XMLEmbeddedObjectExportFilter final : public cppu::WeakImplHelper<
css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > xExtHandler;
public:
- XMLEmbeddedObjectExportFilter( const css::uno::Reference< css::xml::sax::XDocumentHandler > & rHandler ) throw();
- virtual ~XMLEmbeddedObjectExportFilter () throw() override;
+ XMLEmbeddedObjectExportFilter( const css::uno::Reference< css::xml::sax::XDocumentHandler > & rHandler ) noexcept;
+ virtual ~XMLEmbeddedObjectExportFilter () noexcept override;
// css::xml::sax::XDocumentHandler
virtual void SAL_CALL startDocument() override;
diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx
index e3e696434604..284e998c5bf1 100644
--- a/xmloff/inc/xmlversion.hxx
+++ b/xmloff/inc/xmlversion.hxx
@@ -59,7 +59,7 @@ public:
XMLVersionListImport(
const css::uno::Reference< css::uno::XComponentContext >& rContext,
css::uno::Sequence < css::util::RevisionTag >& rVersions );
- virtual ~XMLVersionListImport() throw() override;
+ virtual ~XMLVersionListImport() noexcept override;
css::uno::Sequence < css::util::RevisionTag >&
GetList() { return maVersions; }
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx
index 893e83fa3a95..d0523a39dc02 100644
--- a/xmloff/source/chart/SchXMLImport.cxx
+++ b/xmloff/source/chart/SchXMLImport.cxx
@@ -248,7 +248,7 @@ SchXMLImport::SchXMLImport(
GetNamespaceMap().Add( GetXMLToken(XML_NP_CHART_EXT), GetXMLToken(XML_N_CHART_EXT), XML_NAMESPACE_CHART_EXT);
}
-SchXMLImport::~SchXMLImport() throw ()
+SchXMLImport::~SchXMLImport() noexcept
{
uno::Reference< chart2::XChartDocument > xChartDoc( GetModel(), uno::UNO_QUERY );
if( xChartDoc.is() && xChartDoc->hasControllersLocked() )
diff --git a/xmloff/source/core/PropertySetMerger.cxx b/xmloff/source/core/PropertySetMerger.cxx
index 812201024c86..bef82ea39923 100644
--- a/xmloff/source/core/PropertySetMerger.cxx
+++ b/xmloff/source/core/PropertySetMerger.cxx
@@ -223,7 +223,7 @@ sal_Bool SAL_CALL PropertySetMergerImpl::hasPropertyByName( const OUString& Name
return mxPropSet2Info->hasPropertyByName( Name );
}
-Reference< XPropertySet > PropertySetMerger_CreateInstance( const Reference< XPropertySet >& rPropSet1, const Reference< XPropertySet >& rPropSet2 ) throw()
+Reference< XPropertySet > PropertySetMerger_CreateInstance( const Reference< XPropertySet >& rPropSet1, const Reference< XPropertySet >& rPropSet2 ) noexcept
{
return new PropertySetMergerImpl( rPropSet1, rPropSet2 );
}
diff --git a/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx b/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
index e89c192a052f..78f302db2d27 100644
--- a/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
@@ -25,13 +25,13 @@ using namespace ::com::sun::star::xml::sax;
XMLEmbeddedObjectExportFilter::XMLEmbeddedObjectExportFilter(
- const Reference< XDocumentHandler > & rHandler ) throw() :
+ const Reference< XDocumentHandler > & rHandler ) noexcept :
xHandler( rHandler ),
xExtHandler( rHandler, UNO_QUERY )
{
}
-XMLEmbeddedObjectExportFilter::~XMLEmbeddedObjectExportFilter () throw()
+XMLEmbeddedObjectExportFilter::~XMLEmbeddedObjectExportFilter () noexcept
{
}
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx
index 5b709d1bc588..001033b711c3 100644
--- a/xmloff/source/core/unoatrcn.cxx
+++ b/xmloff/source/core/unoatrcn.cxx
@@ -86,7 +86,7 @@ sal_uInt16 SvUnoAttributeContainer::getIndexByName(const OUString& aName ) const
return USHRT_MAX;
}
-const css::uno::Sequence< sal_Int8 > & SvUnoAttributeContainer::getUnoTunnelId() throw()
+const css::uno::Sequence< sal_Int8 > & SvUnoAttributeContainer::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSvUnoAttributeContainerUnoTunnelId;
return theSvUnoAttributeContainerUnoTunnelId.getSeq();
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 980891ffc175..9bd811775185 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -433,7 +433,7 @@ SvXMLImport::SvXMLImport(
maNamespaceAttrList = new comphelper::AttributeList;
}
-void SvXMLImport::cleanup() throw ()
+void SvXMLImport::cleanup() noexcept
{
if (mxEventListener.is() && mxModel.is())
mxModel->removeEventListener(mxEventListener);
@@ -451,7 +451,7 @@ void SvXMLImport::cleanup() throw ()
DisposingModel();
}
-SvXMLImport::~SvXMLImport() throw ()
+SvXMLImport::~SvXMLImport() noexcept
{
cleanup();
}
@@ -465,7 +465,7 @@ bool SvXMLImport::addEmbeddedFont(const css::uno::Reference< css::io::XInputStre
return mxEmbeddedFontHelper->addEmbeddedFont(stream, fontName, extra, key, eot);
}
-const css::uno::Sequence<sal_Int8>& SvXMLImport::getUnoTunnelId() throw()
+const css::uno::Sequence<sal_Int8>& SvXMLImport::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theSvXMLImportUnoTunnelId;
return theSvXMLImportUnoTunnelId.getSeq();
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index c648e8133a2f..f39922967f48 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -1195,8 +1195,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const Type& aType ) 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;
// XAnimationNodeSupplier
Reference< XAnimationNode > SAL_CALL getAnimationNode() override;
@@ -1229,12 +1229,12 @@ Any SAL_CALL AnimationsImport::queryInterface( const Type& aType )
}
}
-void SAL_CALL AnimationsImport::acquire() throw ()
+void SAL_CALL AnimationsImport::acquire() noexcept
{
SvXMLImport::acquire();
}
-void SAL_CALL AnimationsImport::release() throw ()
+void SAL_CALL AnimationsImport::release() noexcept
{
SvXMLImport::release();
}
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 37d49afd1f12..cd334405d030 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -1051,7 +1051,7 @@ void FixZOrder(uno::Reference<drawing::XShapes> const& xShapes,
} // namespace xmloff
-void XMLShapeExport::seekShapes( const uno::Reference< drawing::XShapes >& xShapes ) throw()
+void XMLShapeExport::seekShapes( const uno::Reference< drawing::XShapes >& xShapes ) noexcept
{
if( xShapes.is() )
{
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx
index 1276e0e6fcdf..833db28db721 100644
--- a/xmloff/source/meta/xmlversion.cxx
+++ b/xmloff/source/meta/xmlversion.cxx
@@ -108,7 +108,7 @@ XMLVersionListImport::XMLVersionListImport(
{
}
-XMLVersionListImport::~XMLVersionListImport() throw()
+XMLVersionListImport::~XMLVersionListImport() noexcept
{}
SvXMLImportContext *XMLVersionListImport::CreateFastContext( sal_Int32 nElement,
diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx
index 09cce6ffd0ae..b1873e4c47a5 100644
--- a/xmloff/source/text/XMLAutoTextEventImport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventImport.cxx
@@ -46,7 +46,7 @@ XMLAutoTextEventImport::XMLAutoTextEventImport(
{
}
-XMLAutoTextEventImport::~XMLAutoTextEventImport() throw() {}
+XMLAutoTextEventImport::~XMLAutoTextEventImport() noexcept {}
void XMLAutoTextEventImport::initialize(const Sequence<Any>& rArguments)
{
diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx
index 58a2ee785993..b79b231c5308 100644
--- a/xmloff/source/text/XMLAutoTextEventImport.hxx
+++ b/xmloff/source/text/XMLAutoTextEventImport.hxx
@@ -43,7 +43,7 @@ public:
explicit XMLAutoTextEventImport(
const css::uno::Reference< css::uno::XComponentContext >& xContext);
- virtual ~XMLAutoTextEventImport() throw() override;
+ virtual ~XMLAutoTextEventImport() noexcept override;
// XInitialization
virtual void SAL_CALL initialize(
diff --git a/xmloff/source/transform/MutableAttrList.cxx b/xmloff/source/transform/MutableAttrList.cxx
index a8a55990a59c..fc11fb964716 100644
--- a/xmloff/source/transform/MutableAttrList.cxx
+++ b/xmloff/source/transform/MutableAttrList.cxx
@@ -57,7 +57,7 @@ XMLMutableAttributeList::~XMLMutableAttributeList()
m_xAttrList = nullptr;
}
-const css::uno::Sequence<sal_Int8>& XMLMutableAttributeList::getUnoTunnelId() throw()
+const css::uno::Sequence<sal_Int8>& XMLMutableAttributeList::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theXMLMutableAttributeListUnoTunnelId;
return theXMLMutableAttributeListUnoTunnelId.getSeq();
diff --git a/xmloff/source/transform/MutableAttrList.hxx b/xmloff/source/transform/MutableAttrList.hxx
index 6c72fd9112c1..c025ffc5cc94 100644
--- a/xmloff/source/transform/MutableAttrList.hxx
+++ b/xmloff/source/transform/MutableAttrList.hxx
@@ -47,7 +47,7 @@ public:
virtual ~XMLMutableAttributeList() override;
// XUnoTunnel
- 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;
// css::xml::sax::XAttributeList
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index ff947c0731ef..5495864bf120 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -1768,7 +1768,7 @@ OUString OOo2OasisTransformer::GetEventName( const OUString& rName, bool )
OOo2OasisTransformer::OOo2OasisTransformer( OUString const & rImplName,
OUString const & rSubServiceName )
- throw() :
+ noexcept :
XMLTransformerBase( aActionTable, aTokenMap ),
m_aImplName(rImplName),
m_aSubServiceName(rSubServiceName),
@@ -1823,7 +1823,7 @@ OOo2OasisTransformer::OOo2OasisTransformer( OUString const & rImplName,
rp.reset();
}
-OOo2OasisTransformer::~OOo2OasisTransformer() throw()
+OOo2OasisTransformer::~OOo2OasisTransformer() noexcept
{
for(auto & rp : m_aActions)
rp.reset();
@@ -1944,7 +1944,7 @@ void OOo2OasisTransformer::Initialize(
}
}
-const css::uno::Sequence<sal_Int8>& OOo2OasisTransformer::getUnoTunnelId() throw()
+const css::uno::Sequence<sal_Int8>& OOo2OasisTransformer::getUnoTunnelId() noexcept
{
static const UnoTunnelIdInit theOOo2OasisTransformerUnoTunnelId;
return theOOo2OasisTransformerUnoTunnelId.getSeq();
diff --git a/xmloff/source/transform/OOo2Oasis.hxx b/xmloff/source/transform/OOo2Oasis.hxx
index 64ce800f9199..43d69853f4ef 100644
--- a/xmloff/source/transform/OOo2Oasis.hxx
+++ b/xmloff/source/transform/OOo2Oasis.hxx
@@ -47,8 +47,8 @@ protected:
public:
OOo2OasisTransformer( OUString const & rImplName,
- OUString const & rSubServiceName ) throw();
- virtual ~OOo2OasisTransformer() throw() override;
+ OUString const & rSubServiceName ) noexcept;
+ virtual ~OOo2OasisTransformer() noexcept override;
// XInterface
@@ -59,10 +59,10 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire( ) throw () override
+ virtual void SAL_CALL acquire( ) noexcept override
{ XMLTransformerBase::acquire(); };
- virtual void SAL_CALL release( ) throw () override
+ virtual void SAL_CALL release( ) noexcept override
{ XMLTransformerBase::release(); };
// XInitialization
@@ -78,7 +78,7 @@ public:
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
// XUnoTunnel
- 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;
// XImporter
diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx
index c74013307d68..ceb5daeffcfd 100644
--- a/xmloff/source/transform/Oasis2OOo.cxx
+++ b/xmloff/source/transform/Oasis2OOo.cxx
@@ -1878,7 +1878,7 @@ OUString Oasis2OOoTransformer::GetEventName( const OUString& rName,
bForm ? m_pFormEventMap : nullptr );
}
-Oasis2OOoTransformer::Oasis2OOoTransformer() throw() :
+Oasis2OOoTransformer::Oasis2OOoTransformer() noexcept :
XMLTransformerBase( aActionTable, aTokenMap ),
m_pEventMap( nullptr ),
m_pFormEventMap( nullptr )
@@ -1935,7 +1935,7 @@ Oasis2OOoTransformer::Oasis2OOoTransformer() throw() :
rp.reset();
}
-Oasis2OOoTransformer::~Oasis2OOoTransformer() throw()
+Oasis2OOoTransformer::~Oasis2OOoTransformer() noexcept
{
for(auto & rp : m_aActions)
rp.reset();
@@ -1943,7 +1943,7 @@ Oasis2OOoTransformer::~Oasis2OOoTransformer() throw()
XMLEventOASISTransformerContext::FlushEventMap( m_pFormEventMap );
}
-const css::uno::Sequence<sal_Int8>& Oasis2OOoTransformer::getUnoTunnelId() throw()
+const css::uno::Sequence<sal_Int8>& Oasis2OOoTransformer::getUnoTunnelId() noexcept
{
static const class UnoTunnelIdInit theOasis2OOoTransformerUnoTunnelId;
return theOasis2OOoTransformerUnoTunnelId.getSeq();
diff --git a/xmloff/source/transform/Oasis2OOo.hxx b/xmloff/source/transform/Oasis2OOo.hxx
index c7d4ba6d349d..fe3db7ceafa8 100644
--- a/xmloff/source/transform/Oasis2OOo.hxx
+++ b/xmloff/source/transform/Oasis2OOo.hxx
@@ -40,8 +40,8 @@ protected:
virtual XMLTransformerActions *GetUserDefinedActions( sal_uInt16 n ) override;
public:
- Oasis2OOoTransformer () throw();
- virtual ~Oasis2OOoTransformer() throw() override;
+ Oasis2OOoTransformer () noexcept;
+ virtual ~Oasis2OOoTransformer() noexcept override;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;
@@ -49,7 +49,7 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
// XUnoTunnel
- 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;
virtual OUString GetEventName( const OUString& rName,
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 15a5859f95ef..c937e00ca2c4 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -175,7 +175,7 @@ XMLTransformerActions *XMLTransformerBase::GetUserDefinedActions( sal_uInt16 )
XMLTransformerBase::XMLTransformerBase( XMLTransformerActionInit const *pInit,
::xmloff::token::XMLTokenEnum const *pTKMapInit )
- throw () :
+ noexcept :
m_pNamespaceMap( new SvXMLNamespaceMap ),
m_ElemActions( pInit ),
m_TokenMap( pTKMapInit )
@@ -189,7 +189,7 @@ XMLTransformerBase::XMLTransformerBase( XMLTransformerActionInit const *pInit,
GetNamespaceMap().Add( GetXMLToken(XML_NP_OOOC), GetXMLToken(XML_N_OOOC), XML_NAMESPACE_OOOC );
}
-XMLTransformerBase::~XMLTransformerBase() throw ()
+XMLTransformerBase::~XMLTransformerBase() noexcept
{
}
diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx
index ae360165e403..8fb4e6adfd69 100644
--- a/xmloff/source/transform/TransformerBase.hxx
+++ b/xmloff/source/transform/TransformerBase.hxx
@@ -77,8 +77,8 @@ protected:
public:
XMLTransformerBase( XMLTransformerActionInit const *pInit,
- ::xmloff::token::XMLTokenEnum const *pTKMapInit ) throw();
- virtual ~XMLTransformerBase() throw() override;
+ ::xmloff::token::XMLTokenEnum const *pTKMapInit ) noexcept;
+ virtual ~XMLTransformerBase() noexcept override;
// css::xml::sax::XDocumentHandler
virtual void SAL_CALL startDocument() override;
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx
index c0e9d2900b77..1b4247ba822a 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -80,7 +80,7 @@ public:
explicit MGuard( std::unique_ptr<Mutex> const & pMutex )
: m_pMutex( pMutex.get() )
{ if (m_pMutex) m_pMutex->acquire(); }
- ~MGuard() throw ()
+ ~MGuard() noexcept
{ if (m_pMutex) m_pMutex->release(); }
};