[Libreoffice-commits] core.git: 67 commits - accessibility/inc accessibility/source basctl/source basic/inc basic/source chart2/inc chart2/source comphelper/source compilerplugins/clang connectivity/source cppuhelper/source cpputools/source cui/source dbaccess/source desktop/source dtrans/source editeng/source embeddedobj/source eventattacher/source extensions/source filter/source forms/source fpicker/source framework/inc framework/source helpcompiler/inc hwpfilter/source i18npool/inc i18npool/source idlc/inc include/basegfx include/canvas include/codemaker include/comphelper include/connectivity include/cppuhelper include/dbaccess include/editeng include/filter include/framework include/i18nutil include/linguistic include/oox include/salhelper include/sfx2 include/svl include/svtools include/svx include/toolkit include/ucbhelper include/unotools include/vbahelper include/vcl include/xmloff io/source lingucomponent/source linguistic/source lotuswordpro/source oox/inc oox/source package/inc packag e/source pyuno/inc pyuno/source reportdesign/inc reportdesign/source sax/inc sax/source scaddins/source sc/inc scripting/source sc/source sdext/source sd/inc sd/source sfx2/source sot/source starmath/source stoc/source svl/source svtools/source svx/inc svx/source sw/inc sw/source ucbhelper/source ucb/source UnoControls/source unotools/source unoxml/source uui/source vbahelper/source vcl/inc vcl/qa vcl/unx writerfilter/source writerperfect/source xmlhelp/source xmloff/inc xmloff/source xmlscript/source xmlsecurity/inc xmlsecurity/source
Stephan Bergmann
sbergman at redhat.com
Thu Jan 19 17:03:55 UTC 2017
UnoControls/source/base/registercontrols.cxx | 4
accessibility/inc/extended/AccessibleBrowseBoxBase.hxx | 8
accessibility/inc/extended/AccessibleBrowseBoxTable.hxx | 4
accessibility/inc/extended/AccessibleGridControlBase.hxx | 5
accessibility/inc/extended/AccessibleGridControlTable.hxx | 1
accessibility/inc/extended/accessibleiconchoicectrlentry.hxx | 5
accessibility/inc/extended/accessiblelistboxentry.hxx | 5
accessibility/inc/extended/listboxaccessible.hxx | 2
accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx | 1
accessibility/source/extended/AccessibleGridControlTableCell.cxx | 1
accessibility/source/extended/accessibleiconchoicectrlentry.cxx | 1
accessibility/source/extended/accessiblelistboxentry.cxx | 1
accessibility/source/standard/vclxaccessiblelist.cxx | 1
accessibility/source/standard/vclxaccessiblelistitem.cxx | 1
basctl/source/basicide/unomodel.hxx | 2
basctl/source/inc/basobj.hxx | 6
basctl/source/inc/dlgedobj.hxx | 7
basic/inc/sbobjmod.hxx | 1
basic/source/classes/errobject.cxx | 1
basic/source/classes/sbxmod.cxx | 2
basic/source/inc/errobject.hxx | 1
basic/source/inc/namecont.hxx | 11
chart2/inc/ChartModel.hxx | 4
chart2/source/controller/chartapiwrapper/TitleWrapper.hxx | 1
chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx | 8
chart2/source/controller/dialogs/ChartTypeDialogController.hxx | 1
chart2/source/controller/inc/AccessibleBase.hxx | 10
chart2/source/controller/inc/ChartDocumentWrapper.hxx | 1
chart2/source/controller/inc/ItemConverter.hxx | 4
chart2/source/inc/LifeTime.hxx | 4
chart2/source/inc/OPropertySet.hxx | 3
chart2/source/inc/WrappedProperty.hxx | 15
chart2/source/model/template/ChartTypeTemplate.hxx | 1
chart2/source/view/axes/VAxisOrGridBase.hxx | 1
chart2/source/view/inc/PlotterBase.hxx | 1
chart2/source/view/inc/VCoordinateSystem.hxx | 1
chart2/source/view/inc/VSeriesPlotter.hxx | 2
comphelper/source/eventattachermgr/eventattachermgr.cxx | 2
comphelper/source/property/propagg.cxx | 2
comphelper/source/property/propertysetinfo.cxx | 1
comphelper/source/xml/ofopxmlhelper.cxx | 1
compilerplugins/clang/dynexcspec.cxx | 151 +++++++
connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx | 1
connectivity/source/cpool/ZConnectionPool.hxx | 2
connectivity/source/cpool/ZPoolCollection.hxx | 2
connectivity/source/drivers/evoab2/NConnection.hxx | 1
connectivity/source/drivers/evoab2/NDriver.hxx | 4
connectivity/source/drivers/evoab2/NResultSetMetaData.hxx | 1
connectivity/source/drivers/firebird/Blob.hxx | 3
connectivity/source/drivers/firebird/Connection.hxx | 11
connectivity/source/drivers/firebird/Driver.hxx | 3
connectivity/source/drivers/firebird/PreparedStatement.hxx | 7
connectivity/source/drivers/firebird/ResultSet.hxx | 4
connectivity/source/drivers/firebird/ResultSetMetaData.hxx | 1
connectivity/source/drivers/firebird/StatementCommonBase.hxx | 5
connectivity/source/drivers/firebird/SubComponent.hxx | 1
connectivity/source/drivers/firebird/Util.hxx | 2
connectivity/source/drivers/mork/MConnection.hxx | 1
connectivity/source/drivers/mork/MDatabaseMetaData.hxx | 1
connectivity/source/drivers/mork/MResultSet.hxx | 15
connectivity/source/drivers/mork/MResultSetMetaData.hxx | 3
connectivity/source/drivers/mork/MStatement.hxx | 3
connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx | 1
connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx | 6
connectivity/source/drivers/odbc/ORealDriver.hxx | 1
connectivity/source/drivers/postgresql/pq_baseresultset.hxx | 5
connectivity/source/drivers/postgresql/pq_connection.cxx | 2
connectivity/source/drivers/postgresql/pq_connection.hxx | 2
connectivity/source/drivers/postgresql/pq_databasemetadata.hxx | 8
connectivity/source/drivers/postgresql/pq_preparedstatement.hxx | 3
connectivity/source/drivers/postgresql/pq_resultsetmetadata.hxx | 2
connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx | 2
connectivity/source/drivers/postgresql/pq_statement.cxx | 2
connectivity/source/drivers/postgresql/pq_statement.hxx | 3
connectivity/source/drivers/postgresql/pq_tools.hxx | 1
connectivity/source/drivers/postgresql/pq_updateableresultset.hxx | 2
connectivity/source/drivers/postgresql/pq_xcontainer.hxx | 1
connectivity/source/inc/FDatabaseMetaDataResultSet.hxx | 3
connectivity/source/inc/ParameterSubstitution.hxx | 3
connectivity/source/inc/calc/CDriver.hxx | 2
connectivity/source/inc/dbase/DDriver.hxx | 3
connectivity/source/inc/dbase/DTable.hxx | 3
connectivity/source/inc/file/FConnection.hxx | 3
connectivity/source/inc/file/FDriver.hxx | 2
connectivity/source/inc/file/FResultSet.hxx | 5
connectivity/source/inc/file/FResultSetMetaData.hxx | 2
connectivity/source/inc/file/FStatement.hxx | 4
connectivity/source/inc/file/fcomp.hxx | 14
connectivity/source/inc/flat/EDriver.hxx | 3
connectivity/source/inc/hsqldb/HDriver.hxx | 3
connectivity/source/inc/hsqldb/HUser.hxx | 2
connectivity/source/inc/java/sql/Driver.hxx | 3
connectivity/source/inc/java/sql/JStatement.hxx | 34 +
connectivity/source/inc/java/sql/ResultSet.hxx | 14
connectivity/source/inc/java/tools.hxx | 2
connectivity/source/inc/mysql/YDriver.hxx | 3
connectivity/source/inc/mysql/YUser.hxx | 2
connectivity/source/inc/odbc/OConnection.hxx | 1
connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx | 40 +
connectivity/source/inc/odbc/ODriver.hxx | 2
connectivity/source/inc/odbc/OPreparedStatement.hxx | 5
connectivity/source/inc/odbc/OResultSet.hxx | 18
connectivity/source/inc/odbc/OResultSetMetaData.hxx | 8
connectivity/source/inc/odbc/OStatement.hxx | 14
connectivity/source/inc/odbc/OTools.hxx | 19
connectivity/source/manager/mdrivermanager.cxx | 1
connectivity/source/manager/mdrivermanager.hxx | 3
cppuhelper/source/factory.cxx | 4
cppuhelper/source/weak.cxx | 2
cpputools/source/unoexe/unoexe.cxx | 4
cui/source/inc/colorpicker.hxx | 1
cui/source/inc/thesdlg.hxx | 2
dbaccess/source/core/api/CacheSet.hxx | 46 ++
dbaccess/source/core/api/KeySet.hxx | 4
dbaccess/source/core/api/RowSet.hxx | 5
dbaccess/source/core/api/RowSetBase.hxx | 2
dbaccess/source/core/dataaccess/ModelImpl.hxx | 1
dbaccess/source/core/dataaccess/connection.hxx | 1
dbaccess/source/core/dataaccess/databasecontext.hxx | 2
dbaccess/source/core/dataaccess/databasedocument.cxx | 1
dbaccess/source/core/dataaccess/databasedocument.hxx | 3
dbaccess/source/core/dataaccess/datasource.hxx | 4
dbaccess/source/core/dataaccess/documentdefinition.hxx | 1
dbaccess/source/core/dataaccess/intercept.hxx | 1
dbaccess/source/core/inc/DatabaseDataProvider.hxx | 2
dbaccess/source/core/inc/TableDeco.hxx | 1
dbaccess/source/core/inc/table.hxx | 2
dbaccess/source/ext/macromigration/macromigrationwizard.cxx | 2
dbaccess/source/filter/xml/xmlExport.cxx | 4
dbaccess/source/filter/xml/xmlExport.hxx | 2
dbaccess/source/filter/xml/xmlfilter.hxx | 3
dbaccess/source/inc/apitools.hxx | 7
dbaccess/source/ui/app/AppController.hxx | 2
dbaccess/source/ui/inc/RelationController.hxx | 2
dbaccess/source/ui/inc/TableController.hxx | 4
dbaccess/source/ui/inc/exsrcbrw.hxx | 2
dbaccess/source/ui/inc/formadapter.hxx | 1
dbaccess/source/ui/inc/querycontroller.hxx | 2
dbaccess/source/ui/inc/sbagrid.hxx | 2
dbaccess/source/ui/inc/unodatbr.hxx | 2
dbaccess/source/ui/inc/unosqlmessage.hxx | 2
dbaccess/source/ui/querydesign/limitboxcontroller.hxx | 8
dbaccess/source/ui/querydesign/querycontroller.cxx | 2
dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx | 2
dbaccess/source/ui/uno/ColumnControl.hxx | 8
dbaccess/source/ui/uno/ColumnModel.hxx | 8
dbaccess/source/ui/uno/DBTypeWizDlg.hxx | 2
dbaccess/source/ui/uno/DBTypeWizDlgSetup.hxx | 2
dbaccess/source/ui/uno/TableFilterDlg.hxx | 2
dbaccess/source/ui/uno/UserSettingsDlg.hxx | 2
dbaccess/source/ui/uno/admindlg.hxx | 2
dbaccess/source/ui/uno/composerdialogs.hxx | 16
dbaccess/source/ui/uno/copytablewizard.cxx | 2
dbaccess/source/ui/uno/dbinteraction.hxx | 16
dbaccess/source/ui/uno/textconnectionsettings_uno.cxx | 8
dbaccess/source/ui/uno/unoDirectSql.hxx | 8
desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | 1
desktop/source/deployment/manager/dp_extensionmanager.hxx | 7
desktop/source/deployment/registry/package/dp_package.cxx | 4
desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 1
desktop/source/splash/unxsplash.hxx | 1
dtrans/source/cnttype/mcnttype.hxx | 1
editeng/source/uno/unotext.cxx | 3
embeddedobj/source/inc/docholder.hxx | 3
embeddedobj/source/inc/oleembobj.hxx | 8
embeddedobj/source/msole/olepersist.hxx | 2
eventattacher/source/eventattacher.cxx | 7
extensions/source/bibliography/bibload.cxx | 1
extensions/source/bibliography/general.hxx | 2
extensions/source/bibliography/loadlisteneradapter.hxx | 1
extensions/source/bibliography/toolbar.hxx | 1
extensions/source/config/ldap/ldapaccess.hxx | 12
extensions/source/dbpilots/unoautopilot.hxx | 2
extensions/source/propctrlr/MasterDetailLinkDialog.hxx | 2
extensions/source/propctrlr/browserlistbox.hxx | 3
extensions/source/propctrlr/buttonnavigationhandler.hxx | 2
extensions/source/propctrlr/cellbindinghandler.hxx | 2
extensions/source/propctrlr/commoncontrol.hxx | 5
extensions/source/propctrlr/composeduiupdate.hxx | 1
extensions/source/propctrlr/controlfontdialog.hxx | 2
extensions/source/propctrlr/defaultforminspection.hxx | 2
extensions/source/propctrlr/defaulthelpprovider.hxx | 2
extensions/source/propctrlr/editpropertyhandler.hxx | 2
extensions/source/propctrlr/eformspropertyhandler.hxx | 2
extensions/source/propctrlr/eventhandler.hxx | 2
extensions/source/propctrlr/formcomponenthandler.hxx | 2
extensions/source/propctrlr/formcontroller.hxx | 4
extensions/source/propctrlr/formgeometryhandler.cxx | 2
extensions/source/propctrlr/genericpropertyhandler.hxx | 2
extensions/source/propctrlr/handlerhelper.hxx | 1
extensions/source/propctrlr/objectinspectormodel.cxx | 2
extensions/source/propctrlr/pcrunodialogs.hxx | 2
extensions/source/propctrlr/propcontroller.hxx | 2
extensions/source/propctrlr/submissionhandler.hxx | 2
extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx | 2
extensions/source/scanner/scanner.hxx | 1
extensions/source/update/check/updatecheckconfig.hxx | 2
filter/source/config/cache/basecontainer.hxx | 2
filter/source/config/cache/filtercache.hxx | 44 +-
filter/source/flash/swfuno.hxx | 6
filter/source/msfilter/msvbahelper.cxx | 1
filter/source/pdf/pdfdialog.hxx | 4
filter/source/pdf/pdffilter.hxx | 8
filter/source/pdf/pdfinteract.hxx | 8
filter/source/placeware/exporter.cxx | 3
filter/source/placeware/filter.hxx | 3
filter/source/svg/svgdialog.hxx | 8
filter/source/svg/svgfilter.hxx | 2
filter/source/t602/t602filter.hxx | 13
filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx | 10
filter/source/xsltdialog/xmlfilterdialogcomponent.cxx | 4
filter/source/xsltdialog/xmlfilterjar.cxx | 2
filter/source/xsltdialog/xmlfilterjar.hxx | 1
forms/source/component/DatabaseForm.hxx | 2
forms/source/component/formcontrolfont.cxx | 2
forms/source/inc/FormComponent.hxx | 2
forms/source/inc/InterfaceContainer.hxx | 2
forms/source/inc/controlfeatureinterception.hxx | 2
forms/source/inc/formcontrolfont.hxx | 3
forms/source/inc/formnavigation.hxx | 1
forms/source/xforms/binding.hxx | 2
forms/source/xforms/submission.hxx | 2
fpicker/source/office/OfficeFilePicker.hxx | 2
fpicker/source/office/OfficeFolderPicker.hxx | 1
fpicker/source/office/commonpicker.hxx | 2
framework/inc/classes/actiontriggerpropertyset.hxx | 3
framework/inc/classes/actiontriggerseparatorpropertyset.hxx | 2
framework/inc/dispatch/mailtodispatcher.hxx | 8
framework/inc/dispatch/oxt_handler.hxx | 6
framework/inc/dispatch/popupmenudispatcher.hxx | 6
framework/inc/dispatch/servicehandler.hxx | 8
framework/inc/dispatch/systemexec.hxx | 6
framework/inc/jobs/helponstartup.hxx | 6
framework/inc/jobs/shelljob.hxx | 6
framework/inc/macros/xserviceinfo.hxx | 7
framework/inc/recording/dispatchrecorder.hxx | 6
framework/inc/recording/dispatchrecordersupplier.hxx | 6
framework/inc/services/desktop.hxx | 1
framework/inc/services/layoutmanager.hxx | 2
framework/inc/services/mediatypedetectionhelper.hxx | 6
framework/inc/services/uriabbreviation.hxx | 6
framework/inc/tabwin/tabwinfactory.hxx | 6
framework/inc/threadhelp/transactionmanager.hxx | 4
framework/inc/uiconfiguration/imagemanager.hxx | 1
framework/inc/uielement/fontmenucontroller.hxx | 6
framework/inc/uielement/fontsizemenucontroller.hxx | 6
framework/inc/uielement/footermenucontroller.hxx | 1
framework/inc/uielement/headermenucontroller.hxx | 6
framework/inc/uielement/langselectionmenucontroller.hxx | 6
framework/inc/uielement/macrosmenucontroller.hxx | 6
framework/inc/uielement/newmenucontroller.hxx | 6
framework/inc/uielement/notebookbarmenucontroller.hxx | 6
framework/inc/uielement/progressbarwrapper.hxx | 5
framework/inc/uielement/toolbarmodemenucontroller.hxx | 6
framework/inc/uielement/toolbarsmenucontroller.hxx | 6
framework/inc/xml/imagesdocumenthandler.hxx | 10
framework/inc/xml/menudocumenthandler.hxx | 4
framework/inc/xml/statusbardocumenthandler.hxx | 4
framework/inc/xml/toolboxdocumenthandler.hxx | 10
framework/inc/xml/xmlnamespaces.hxx | 4
framework/source/fwe/helper/actiontriggerhelper.cxx | 3
framework/source/inc/dispatch/dispatchdisabler.hxx | 6
framework/source/inc/loadenv/loadenv.hxx | 3
framework/source/services/pathsettings.cxx | 2
framework/source/services/substitutepathvars.cxx | 5
framework/source/uiconfiguration/imagemanagerimpl.hxx | 29 +
framework/source/uielement/langselectionstatusbarcontroller.cxx | 1
helpcompiler/inc/HelpCompiler.hxx | 2
helpcompiler/inc/HelpLinker.hxx | 3
hwpfilter/source/hwpreader.hxx | 1
i18npool/inc/breakiteratorImpl.hxx | 2
i18npool/inc/breakiterator_ctl.hxx | 1
i18npool/inc/breakiterator_unicode.hxx | 1
i18npool/inc/calendar_gregorian.hxx | 14
i18npool/inc/characterclassificationImpl.hxx | 1
i18npool/inc/collatorImpl.hxx | 2
i18npool/inc/defaultnumberingprovider.hxx | 2
i18npool/inc/indexentrysupplier.hxx | 2
i18npool/inc/indexentrysupplier_common.hxx | 1
i18npool/inc/indexentrysupplier_default.hxx | 2
i18npool/inc/inputsequencechecker.hxx | 1
i18npool/inc/localedata.hxx | 17
i18npool/inc/nativenumbersupplier.hxx | 2
i18npool/inc/textconversionImpl.hxx | 1
i18npool/inc/transliterationImpl.hxx | 3
i18npool/inc/transliteration_Ignore.hxx | 1
i18npool/inc/transliteration_Numeric.hxx | 1
i18npool/inc/transliteration_caseignore.hxx | 1
i18npool/source/calendar/calendar_gregorian.cxx | 1
i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 3
i18npool/source/nativenumber/nativenumbersupplier.cxx | 3
i18npool/source/search/textsearch.hxx | 9
i18npool/source/transliteration/transliteration_body.cxx | 1
idlc/inc/options.hxx | 3
include/basegfx/tools/unotools.hxx | 2
include/canvas/base/disambiguationhelper.hxx | 1
include/codemaker/options.hxx | 2
include/comphelper/ChainablePropertySet.hxx | 39 +
include/comphelper/MasterPropertySet.hxx | 36 +
include/comphelper/SelectionMultiplex.hxx | 2
include/comphelper/accessiblecomponenthelper.hxx | 8
include/comphelper/accessiblekeybindinghelper.hxx | 2
include/comphelper/accessibleselectionhelper.hxx | 15
include/comphelper/accessibletexthelper.hxx | 19
include/comphelper/accessiblewrapper.hxx | 6
include/comphelper/containermultiplexer.hxx | 4
include/comphelper/eventattachermgr.hxx | 1
include/comphelper/extract.hxx | 2
include/comphelper/ofopxmlhelper.hxx | 4
include/comphelper/propagg.hxx | 2
include/comphelper/propertycontainer.hxx | 2
include/comphelper/propertysethelper.hxx | 15
include/comphelper/propmultiplex.hxx | 2
include/comphelper/proxyaggregation.hxx | 3
include/comphelper/storagehelper.hxx | 16
include/comphelper/types.hxx | 1
include/connectivity/CommonTools.hxx | 1
include/connectivity/dbconversion.hxx | 2
include/connectivity/dbexception.hxx | 18
include/connectivity/dbtools.hxx | 6
include/connectivity/sdbcx/VCollection.hxx | 1
include/connectivity/sdbcx/VDescriptor.hxx | 1
include/cppuhelper/propshlp.hxx | 6
include/dbaccess/IController.hxx | 2
include/editeng/AccessibleComponentBase.hxx | 1
include/editeng/AccessibleContextBase.hxx | 7
include/editeng/AccessibleStaticTextBase.hxx | 4
include/editeng/unofield.hxx | 2
include/editeng/unonrule.hxx | 4
include/editeng/unotext.hxx | 29 +
include/filter/msfilter/msvbahelper.hxx | 3
include/framework/dispatchhelper.hxx | 2
include/framework/menuconfiguration.hxx | 4
include/i18nutil/casefolding.hxx | 3
include/linguistic/lngprophelp.hxx | 4
include/oox/core/fastparser.hxx | 28 +
include/oox/core/filterbase.hxx | 1
include/oox/core/filterdetect.hxx | 1
include/oox/core/recordparser.hxx | 3
include/oox/core/xmlfilterbase.hxx | 1
include/oox/ppt/pptimport.hxx | 2
include/oox/vml/vmlinputstream.hxx | 6
include/salhelper/condition.hxx | 1
include/sfx2/docfilt.hxx | 3
include/sfx2/sfxbasemodel.hxx | 3
include/sfx2/unoctitm.hxx | 2
include/sfx2/userinputinterception.hxx | 4
include/svl/itemprop.hxx | 12
include/svtools/accessibleruler.hxx | 8
include/svtools/popupmenucontrollerbase.hxx | 1
include/svtools/toolbarmenu.hxx | 1
include/svtools/unoevent.hxx | 11
include/svx/AccessibleShape.hxx | 3
include/svx/ChildrenManager.hxx | 3
include/svx/IAccessibleParent.hxx | 2
include/svx/ShapeTypeHandler.hxx | 2
include/svx/fmtools.hxx | 6
include/svx/gridctrl.hxx | 1
include/svx/unoapi.hxx | 6
include/svx/unomaster.hxx | 18
include/svx/unomod.hxx | 2
include/svx/unopage.hxx | 3
include/svx/unopool.hxx | 4
include/svx/unoshape.hxx | 38 +
include/toolkit/awt/vclxwindows.hxx | 7
include/toolkit/controls/controlmodelcontainerbase.hxx | 4
include/toolkit/helper/vclunohelper.hxx | 1
include/ucbhelper/cancelcommandexecution.hxx | 4
include/ucbhelper/content.hxx | 85 ++++
include/ucbhelper/interactionrequest.hxx | 1
include/ucbhelper/macros.hxx | 25 -
include/ucbhelper/registerucb.hxx | 2
include/unotools/ZipPackageHelper.hxx | 2
include/unotools/accessiblerelationsethelper.hxx | 1
include/unotools/accessiblestatesethelper.hxx | 4
include/vbahelper/vbaaccesshelper.hxx | 1
include/vbahelper/vbaapplicationbase.hxx | 1
include/vbahelper/vbacollectionimpl.hxx | 9
include/vbahelper/vbadocumentbase.hxx | 1
include/vbahelper/vbadocumentsbase.hxx | 3
include/vbahelper/vbaeventshelperbase.hxx | 54 ++
include/vbahelper/vbafontbase.hxx | 1
include/vbahelper/vbahelper.hxx | 24 +
include/vbahelper/vbapagesetupbase.hxx | 5
include/vbahelper/vbashape.hxx | 5
include/vbahelper/vbashaperange.hxx | 1
include/vbahelper/vbashapes.hxx | 6
include/vbahelper/vbawindowbase.hxx | 6
include/vcl/dndhelp.hxx | 6
include/xmloff/unoatrcn.hxx | 1
include/xmloff/xmlerror.hxx | 1
io/source/TextInputStream/TextInputStream.cxx | 4
io/source/TextOutputStream/TextOutputStream.cxx | 1
io/source/acceptor/acceptor.cxx | 1
io/source/services.hxx | 8
io/source/stm/omark.cxx | 2
io/source/stm/streamhelper.hxx | 8
lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx | 1
lingucomponent/source/languageguessing/guesslang.cxx | 1
lingucomponent/source/spellcheck/spell/sspellimp.cxx | 1
lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 1
linguistic/source/convdiclist.cxx | 1
linguistic/source/dlistimp.cxx | 2
linguistic/source/gciterator.cxx | 2
linguistic/source/hhconvdic.cxx | 1
linguistic/source/lngopt.cxx | 1
linguistic/source/lngopt.hxx | 6
linguistic/source/lngsvcmgr.cxx | 2
linguistic/source/spelldsp.hxx | 4
lotuswordpro/source/filter/LotusWordProImportFilter.hxx | 1
oox/inc/services.hxx | 64 ++-
oox/source/core/filterbase.cxx | 2
oox/source/core/recordparser.cxx | 1
oox/source/core/xmlfilterbase.cxx | 1
oox/source/docprop/ooxmldocpropimport.cxx | 2
oox/source/helper/textinputstream.cxx | 1
oox/source/ole/olestorage.cxx | 2
oox/source/shape/ShapeFilterBase.hxx | 1
package/inc/ByteChucker.hxx | 6
package/inc/ByteGrabber.hxx | 11
package/inc/CRC32.hxx | 5
package/inc/ZipOutputStream.hxx | 14
package/inc/ZipPackage.hxx | 1
package/inc/ZipPackageFolder.hxx | 5
package/inc/ZipPackageStream.hxx | 1
package/source/manifest/ManifestImport.hxx | 5
package/source/xstor/owriteablestream.hxx | 1
package/source/xstor/xstorage.hxx | 9
package/source/zipapi/MemoryByteGrabber.hxx | 4
pyuno/inc/pyuno.hxx | 10
pyuno/source/loader/pyuno_loader.cxx | 3
pyuno/source/module/pyuno_except.cxx | 2
pyuno/source/module/pyuno_impl.hxx | 8
pyuno/source/module/pyuno_module.cxx | 1
pyuno/source/module/pyuno_runtime.cxx | 2
reportdesign/inc/ReportDefinition.hxx | 3
reportdesign/inc/RptObject.hxx | 1
reportdesign/source/core/inc/FixedLine.hxx | 2
reportdesign/source/core/inc/FixedText.hxx | 2
reportdesign/source/core/inc/FormatCondition.hxx | 2
reportdesign/source/core/inc/FormattedField.hxx | 2
reportdesign/source/core/inc/Function.hxx | 2
reportdesign/source/core/inc/Group.hxx | 1
reportdesign/source/core/inc/ImageControl.hxx | 2
reportdesign/source/core/inc/ReportControlModel.hxx | 18
reportdesign/source/core/inc/ReportEngineJFree.hxx | 6
reportdesign/source/core/inc/Section.hxx | 1
reportdesign/source/core/inc/Shape.hxx | 2
reportdesign/source/filter/xml/dbloader2.hxx | 2
reportdesign/source/filter/xml/xmlExport.hxx | 12
reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx | 2
reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx | 2
reportdesign/source/filter/xml/xmlfilter.hxx | 11
reportdesign/source/ui/dlg/GroupsSorting.cxx | 2
reportdesign/source/ui/inc/DataProviderHandler.hxx | 2
reportdesign/source/ui/inc/DefaultInspection.hxx | 2
reportdesign/source/ui/inc/FixedTextColor.hxx | 2
reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx | 1
reportdesign/source/ui/inc/GeometryHandler.hxx | 2
reportdesign/source/ui/inc/ReportComponentHandler.hxx | 2
reportdesign/source/ui/inc/ReportController.hxx | 2
reportdesign/source/ui/inc/statusbarcontroller.hxx | 2
reportdesign/source/ui/inc/toolboxcontroller.hxx | 2
sax/inc/xml2utf.hxx | 4
sax/source/expatwrap/saxwriter.cxx | 16
sax/source/fastparser/fastparser.cxx | 16
sc/inc/appluno.hxx | 10
sc/inc/cellsuno.hxx | 7
sc/inc/dapiuno.hxx | 2
sc/inc/dptabsrc.hxx | 1
sc/inc/styleuno.hxx | 12
sc/inc/viewuno.hxx | 2
sc/source/filter/inc/excelfilter.hxx | 1
sc/source/ui/inc/AccessibleCellBase.hxx | 4
sc/source/ui/inc/AccessibleContextBase.hxx | 11
sc/source/ui/inc/AccessibleCsvControl.hxx | 22 -
sc/source/ui/unoobj/docuno.cxx | 1
sc/source/ui/vba/excelvbahelper.cxx | 4
sc/source/ui/vba/excelvbahelper.hxx | 9
sc/source/ui/vba/vbaapplication.cxx | 18
sc/source/ui/vba/vbaapplication.hxx | 1
sc/source/ui/vba/vbaaxes.hxx | 2
sc/source/ui/vba/vbaaxis.hxx | 2
sc/source/ui/vba/vbacharacters.hxx | 2
sc/source/ui/vba/vbachart.hxx | 12
sc/source/ui/vba/vbachartobject.hxx | 2
sc/source/ui/vba/vbachartobjects.cxx | 2
sc/source/ui/vba/vbachartobjects.hxx | 1
sc/source/ui/vba/vbacomment.hxx | 6
sc/source/ui/vba/vbacomments.cxx | 1
sc/source/ui/vba/vbacondition.hxx | 3
sc/source/ui/vba/vbaeventshelper.cxx | 6
sc/source/ui/vba/vbaeventshelper.hxx | 25 -
sc/source/ui/vba/vbafont.cxx | 1
sc/source/ui/vba/vbafont.hxx | 1
sc/source/ui/vba/vbaformat.hxx | 63 +++
sc/source/ui/vba/vbaformatcondition.cxx | 1
sc/source/ui/vba/vbaformatcondition.hxx | 4
sc/source/ui/vba/vbaformatconditions.hxx | 5
sc/source/ui/vba/vbaglobals.hxx | 1
sc/source/ui/vba/vbahyperlink.hxx | 6
sc/source/ui/vba/vbahyperlinks.cxx | 14
sc/source/ui/vba/vbahyperlinks.hxx | 2
sc/source/ui/vba/vbainterior.hxx | 1
sc/source/ui/vba/vbamenu.hxx | 1
sc/source/ui/vba/vbamenubar.hxx | 1
sc/source/ui/vba/vbamenubars.cxx | 1
sc/source/ui/vba/vbamenubars.hxx | 1
sc/source/ui/vba/vbamenuitem.hxx | 1
sc/source/ui/vba/vbamenuitems.cxx | 1
sc/source/ui/vba/vbamenuitems.hxx | 1
sc/source/ui/vba/vbamenus.cxx | 1
sc/source/ui/vba/vbamenus.hxx | 1
sc/source/ui/vba/vbanames.cxx | 1
sc/source/ui/vba/vbapagebreak.hxx | 3
sc/source/ui/vba/vbapagebreaks.cxx | 7
sc/source/ui/vba/vbapagebreaks.hxx | 2
sc/source/ui/vba/vbapagesetup.hxx | 1
sc/source/ui/vba/vbapane.hxx | 1
sc/source/ui/vba/vbapivottables.cxx | 1
sc/source/ui/vba/vbarange.cxx | 34 +
sc/source/ui/vba/vbarange.hxx | 32 +
sc/source/ui/vba/vbasheetobject.hxx | 17
sc/source/ui/vba/vbasheetobjects.cxx | 54 ++
sc/source/ui/vba/vbasheetobjects.hxx | 8
sc/source/ui/vba/vbastyle.cxx | 2
sc/source/ui/vba/vbastyle.hxx | 7
sc/source/ui/vba/vbastyles.hxx | 3
sc/source/ui/vba/vbatextframe.hxx | 1
sc/source/ui/vba/vbawindow.cxx | 1
sc/source/ui/vba/vbawindow.hxx | 6
sc/source/ui/vba/vbawindows.cxx | 2
sc/source/ui/vba/vbaworkbooks.cxx | 1
sc/source/ui/vba/vbaworksheet.hxx | 6
sc/source/ui/vba/vbaworksheets.cxx | 1
sc/source/ui/vba/vbaworksheets.hxx | 2
scaddins/source/analysis/analysis.hxx | 7
scaddins/source/analysis/analysishelper.cxx | 2
scaddins/source/analysis/analysishelper.hxx | 142 ++++++
scaddins/source/analysis/bessel.cxx | 10
scaddins/source/analysis/bessel.hxx | 24 -
scaddins/source/datefunc/datefunc.cxx | 3
scaddins/source/datefunc/datefunc.hxx | 2
scaddins/source/pricing/pricing.hxx | 2
scripting/source/dlgprov/dlgevtatt.hxx | 1
scripting/source/dlgprov/dlgprov.hxx | 5
scripting/source/protocolhandler/scripthandler.hxx | 1
scripting/source/provider/BrowseNodeFactoryImpl.hxx | 1
scripting/source/provider/MasterScriptProvider.hxx | 1
scripting/source/provider/ProviderCache.hxx | 5
scripting/source/provider/URIHelper.hxx | 2
scripting/source/stringresource/stringresource.hxx | 16
scripting/source/vbaevents/eventhelper.cxx | 1
sd/inc/CustomAnimationEffect.hxx | 1
sd/inc/sdpage.hxx | 10
sd/inc/stlfamily.hxx | 4
sd/inc/stlpool.hxx | 1
sd/inc/stlsheet.hxx | 2
sd/inc/textapi.hxx | 1
sd/source/core/CustomAnimationEffect.cxx | 1
sd/source/filter/eppt/pptx-epptooxml.cxx | 1
sd/source/ui/controller/slidelayoutcontroller.cxx | 4
sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx | 1
sd/source/ui/framework/configuration/ResourceFactoryManager.hxx | 5
sd/source/ui/framework/factories/BasicPaneFactory.hxx | 1
sd/source/ui/framework/factories/BasicToolBarFactory.hxx | 1
sd/source/ui/inc/AccessibleSlideSorterObject.hxx | 2
sd/source/ui/inc/AccessibleSlideSorterView.hxx | 2
sd/source/ui/inc/DrawController.hxx | 2
sd/source/ui/inc/SdUnoDrawView.hxx | 1
sd/source/ui/inc/facreg.hxx | 4
sd/source/ui/inc/framework/Configuration.hxx | 2
sd/source/ui/inc/framework/ConfigurationController.hxx | 3
sd/source/ui/inc/framework/ModuleController.hxx | 1
sd/source/ui/inc/framework/Pane.hxx | 4
sd/source/ui/inc/framework/PresentationFactory.hxx | 1
sd/source/ui/inc/slideshow.hxx | 1
sd/source/ui/inc/tools/PropertySet.hxx | 2
sd/source/ui/inc/tools/SlotStateListener.hxx | 2
sd/source/ui/inc/unomodel.hxx | 2
sd/source/ui/inc/unopage.hxx | 3
sd/source/ui/inc/unosrch.hxx | 1
sd/source/ui/presenter/PresenterCanvas.cxx | 1
sd/source/ui/presenter/PresenterCanvas.hxx | 2
sd/source/ui/presenter/PresenterPreviewCache.hxx | 2
sd/source/ui/presenter/PresenterTextView.hxx | 2
sd/source/ui/presenter/SlideRenderer.hxx | 3
sd/source/ui/slideshow/slideshowimpl.hxx | 5
sd/source/ui/slideshow/slideshowviewimpl.hxx | 2
sd/source/ui/slidesorter/shell/SlideSorterService.hxx | 2
sd/source/ui/unoidl/unoobj.hxx | 6
sdext/source/minimizer/pppoptimizerdialog.hxx | 1
sdext/source/minimizer/unodialog.hxx | 1
sdext/source/presenter/PresenterAccessibility.cxx | 1
sdext/source/presenter/PresenterButton.hxx | 1
sdext/source/presenter/PresenterHelpView.hxx | 2
sdext/source/presenter/PresenterPaneBase.hxx | 2
sdext/source/presenter/PresenterPaneBorderPainter.hxx | 1
sdext/source/presenter/PresenterPaneFactory.hxx | 1
sdext/source/presenter/PresenterProtocolHandler.hxx | 1
sdext/source/presenter/PresenterSlidePreview.hxx | 2
sdext/source/presenter/PresenterSlideShowView.hxx | 2
sdext/source/presenter/PresenterSlideSorter.hxx | 2
sdext/source/presenter/PresenterToolBar.hxx | 2
sdext/source/presenter/PresenterViewFactory.hxx | 1
sdext/source/presenter/PresenterWindowManager.hxx | 1
sfx2/source/appl/shutdownicon.hxx | 1
sfx2/source/bastyp/fltlst.hxx | 2
sfx2/source/control/thumbnailviewacc.hxx | 2
sfx2/source/doc/SfxDocumentMetaData.cxx | 1
sfx2/source/doc/doctemplateslocal.hxx | 3
sfx2/source/doc/iframe.cxx | 2
sfx2/source/doc/ownsubfilterservice.cxx | 2
sfx2/source/inc/macroloader.hxx | 4
sot/source/unoolestorage/xolesimplestorage.hxx | 2
starmath/source/register.hxx | 4
starmath/source/smdetect.hxx | 1
stoc/source/corereflection/base.hxx | 5
stoc/source/corereflection/crefl.cxx | 2
stoc/source/invocation/invocation.cxx | 2
stoc/source/invocation_adapterfactory/iafactory.cxx | 2
stoc/source/javaloader/javaloader.cxx | 2
stoc/source/javavm/javavm.cxx | 5
stoc/source/proxy_factory/proxyfac.cxx | 2
stoc/source/typeconv/convert.cxx | 2
stoc/source/uriproc/UriReference.hxx | 17
svl/source/inc/passwordcontainer.hxx | 13
svtools/source/control/toolbarmenuimp.hxx | 14
svtools/source/control/valueimp.hxx | 1
svtools/source/graphic/graphicunofactory.cxx | 1
svtools/source/uno/treecontrolpeer.hxx | 4
svtools/source/uno/unoevent.cxx | 1
svtools/source/uno/unoimap.cxx | 1
svx/inc/AccessibleTableShape.hxx | 2
svx/source/accessibility/ChildrenManagerImpl.hxx | 4
svx/source/form/filtnav.cxx | 1
svx/source/form/fmundo.cxx | 1
svx/source/inc/AccessibleFrameSelector.hxx | 1
svx/source/inc/GraphCtlAccessibleContext.hxx | 5
svx/source/inc/coreservices.hxx | 12
svx/source/inc/fmservs.hxx | 3
svx/source/inc/formcontroller.hxx | 1
svx/source/inc/formdispatchinterceptor.hxx | 1
svx/source/inc/svxpixelctlaccessiblecontext.hxx | 4
svx/source/inc/svxrectctaccessiblecontext.hxx | 12
svx/source/inc/xmlxtexp.hxx | 1
svx/source/table/accessibletableshape.cxx | 5
svx/source/table/cell.hxx | 1
svx/source/table/propertyset.hxx | 1
svx/source/table/tablecolumn.hxx | 1
svx/source/table/tablecolumns.hxx | 1
svx/source/table/tablemodel.hxx | 2
svx/source/table/tablerow.hxx | 1
svx/source/table/tablerows.hxx | 1
svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx | 1
svx/source/unodraw/XPropertyTable.cxx | 3
svx/source/unodraw/unoprov.cxx | 3
sw/inc/textboxhelper.hxx | 2
sw/inc/unochart.hxx | 4
sw/inc/unocrsrhelper.hxx | 36 +
sw/inc/unodraw.hxx | 4
sw/inc/unoframe.hxx | 2
sw/inc/unosett.hxx | 2
sw/inc/unostyle.hxx | 3
sw/inc/unotbl.hxx | 1
sw/inc/unotext.hxx | 3
sw/inc/unotextrange.hxx | 1
sw/source/core/access/acccontext.hxx | 1
sw/source/core/access/accpara.hxx | 5
sw/source/core/access/accselectionhelper.hxx | 11
sw/source/core/access/acctable.cxx | 3
sw/source/core/access/textmarkuphelper.cxx | 2
sw/source/core/access/textmarkuphelper.hxx | 8
sw/source/core/inc/unobookmark.hxx | 6
sw/source/core/inc/unofreg.hxx | 2
sw/source/core/inc/unometa.hxx | 4
sw/source/core/inc/unoport.hxx | 13
sw/source/core/unocore/unocoll.cxx | 1
sw/source/core/unocore/unoidx.cxx | 4
sw/source/core/unocore/unoobj.cxx | 3
sw/source/core/unocore/unoobj2.cxx | 3
sw/source/core/unocore/unoparagraph.cxx | 12
sw/source/core/unocore/unosect.cxx | 8
sw/source/core/unocore/unosrch.cxx | 3
sw/source/core/unocore/unostyle.cxx | 4
sw/source/core/unocore/unotbl.cxx | 2
sw/source/core/unocore/unotext.cxx | 6
sw/source/filter/ww8/docxexportfilter.cxx | 1
sw/source/filter/ww8/rtfexportfilter.hxx | 1
sw/source/ui/vba/vbaaddin.hxx | 1
sw/source/ui/vba/vbaaddins.hxx | 1
sw/source/ui/vba/vbaautotextentry.hxx | 2
sw/source/ui/vba/vbabookmark.hxx | 2
sw/source/ui/vba/vbabookmarks.cxx | 2
sw/source/ui/vba/vbabookmarks.hxx | 2
sw/source/ui/vba/vbacell.hxx | 1
sw/source/ui/vba/vbacells.cxx | 1
sw/source/ui/vba/vbacells.hxx | 1
sw/source/ui/vba/vbacolumn.hxx | 2
sw/source/ui/vba/vbacolumns.hxx | 3
sw/source/ui/vba/vbadocumentproperties.cxx | 1
sw/source/ui/vba/vbadocuments.cxx | 1
sw/source/ui/vba/vbafield.cxx | 1
sw/source/ui/vba/vbafield.hxx | 4
sw/source/ui/vba/vbafind.hxx | 7
sw/source/ui/vba/vbafont.cxx | 2
sw/source/ui/vba/vbafont.hxx | 1
sw/source/ui/vba/vbaframe.hxx | 1
sw/source/ui/vba/vbaframes.cxx | 1
sw/source/ui/vba/vbaglobals.hxx | 1
sw/source/ui/vba/vbaheaderfooter.hxx | 1
sw/source/ui/vba/vbaheaderfooterhelper.hxx | 8
sw/source/ui/vba/vbainformationhelper.hxx | 3
sw/source/ui/vba/vbalistformat.hxx | 1
sw/source/ui/vba/vbalistgalleries.hxx | 1
sw/source/ui/vba/vbalistgallery.hxx | 1
sw/source/ui/vba/vbalisthelper.hxx | 15
sw/source/ui/vba/vbalistlevel.hxx | 1
sw/source/ui/vba/vbalistlevels.hxx | 1
sw/source/ui/vba/vbalisttemplate.hxx | 2
sw/source/ui/vba/vbalisttemplates.hxx | 1
sw/source/ui/vba/vbapagesetup.hxx | 2
sw/source/ui/vba/vbapane.hxx | 1
sw/source/ui/vba/vbaparagraph.cxx | 2
sw/source/ui/vba/vbaparagraph.hxx | 2
sw/source/ui/vba/vbaparagraphformat.hxx | 1
sw/source/ui/vba/vbarange.hxx | 9
sw/source/ui/vba/vbarangehelper.hxx | 6
sw/source/ui/vba/vbareplacement.hxx | 1
sw/source/ui/vba/vbarevision.hxx | 2
sw/source/ui/vba/vbarevisions.cxx | 2
sw/source/ui/vba/vbarow.hxx | 2
sw/source/ui/vba/vbarows.hxx | 6
sw/source/ui/vba/vbasection.hxx | 1
sw/source/ui/vba/vbasections.cxx | 3
sw/source/ui/vba/vbaselection.hxx | 10
sw/source/ui/vba/vbastyle.hxx | 5
sw/source/ui/vba/vbastyles.hxx | 2
sw/source/ui/vba/vbatable.hxx | 1
sw/source/ui/vba/vbatablehelper.hxx | 11
sw/source/ui/vba/vbatableofcontents.hxx | 1
sw/source/ui/vba/vbatablesofcontents.cxx | 1
sw/source/ui/vba/vbatablesofcontents.hxx | 1
sw/source/ui/vba/vbatabstop.hxx | 1
sw/source/ui/vba/vbatabstops.cxx | 3
sw/source/ui/vba/vbatabstops.hxx | 1
sw/source/ui/vba/vbavariable.hxx | 1
sw/source/ui/vba/vbavariables.cxx | 1
sw/source/ui/vba/vbaview.hxx | 3
sw/source/ui/vba/vbawindow.hxx | 1
sw/source/ui/vba/vbawrapformat.hxx | 3
sw/source/ui/vba/wordvbahelper.hxx | 8
sw/source/uibase/inc/unoatxt.hxx | 1
sw/source/uibase/uno/unomailmerge.cxx | 1
ucb/source/cacher/cachedcontentresultset.cxx | 21 -
ucb/source/cacher/cachedcontentresultset.hxx | 12
ucb/source/cacher/cachedcontentresultsetstub.cxx | 21 -
ucb/source/cacher/cachedcontentresultsetstub.hxx | 7
ucb/source/cacher/cacheddynamicresultset.cxx | 21 -
ucb/source/cacher/cacheddynamicresultsetstub.cxx | 21 -
ucb/source/cacher/contentresultsetwrapper.hxx | 8
ucb/source/cacher/dynamicresultsetwrapper.hxx | 4
ucb/source/core/FileAccess.cxx | 4
ucb/source/core/cmdenv.cxx | 2
ucb/source/core/provprox.cxx | 21 -
ucb/source/core/ucb.cxx | 21 -
ucb/source/core/ucb.hxx | 3
ucb/source/core/ucbcmds.cxx | 14
ucb/source/core/ucbprops.cxx | 21 -
ucb/source/core/ucbstore.cxx | 21 -
ucb/source/sorter/sortdynres.cxx | 1
ucb/source/sorter/sortdynres.hxx | 2
ucb/source/sorter/sortresult.hxx | 9
ucb/source/ucp/cmis/cmis_content.hxx | 14
ucb/source/ucp/cmis/cmis_provider.cxx | 21 -
ucb/source/ucp/cmis/cmis_repo_content.hxx | 1
ucb/source/ucp/ext/ucpext_provider.hxx | 2
ucb/source/ucp/file/bc.hxx | 3
ucb/source/ucp/file/filrset.hxx | 2
ucb/source/ucp/file/filstr.hxx | 3
ucb/source/ucp/file/filtask.hxx | 9
ucb/source/ucp/ftp/ftpcontent.hxx | 1
ucb/source/ucp/ftp/ftpcontentprovider.cxx | 1
ucb/source/ucp/ftp/ftpurl.hxx | 14
ucb/source/ucp/gio/gio_content.hxx | 9
ucb/source/ucp/gio/gio_provider.cxx | 21 -
ucb/source/ucp/hierarchy/hierarchycontent.hxx | 4
ucb/source/ucp/hierarchy/hierarchydatasource.cxx | 15
ucb/source/ucp/hierarchy/hierarchydatasource.hxx | 1
ucb/source/ucp/hierarchy/hierarchyprovider.cxx | 21 -
ucb/source/ucp/package/pkgcontent.hxx | 5
ucb/source/ucp/package/pkgprovider.cxx | 21 -
ucb/source/ucp/tdoc/tdoc_content.cxx | 7
ucb/source/ucp/tdoc/tdoc_content.hxx | 17
ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx | 2
ucb/source/ucp/tdoc/tdoc_provider.cxx | 22 -
ucb/source/ucp/tdoc/tdoc_provider.hxx | 6
ucb/source/ucp/tdoc/tdoc_stgelems.hxx | 1
ucb/source/ucp/tdoc/tdoc_storage.hxx | 41 +
ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx | 1
ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx | 29 +
ucb/source/ucp/webdav-neon/DAVSession.hxx | 20
ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx | 1
ucb/source/ucp/webdav-neon/NeonSession.hxx | 4
ucb/source/ucp/webdav-neon/NeonUri.hxx | 2
ucb/source/ucp/webdav-neon/webdavcontent.hxx | 25 +
ucb/source/ucp/webdav-neon/webdavprovider.cxx | 21 -
ucbhelper/source/client/content.cxx | 11
unotools/source/accessibility/accessiblerelationsethelper.cxx | 6
unotools/source/accessibility/accessiblestatesethelper.cxx | 5
unotools/source/config/eventcfg.cxx | 11
unotools/source/ucbhelper/ucblockbytes.cxx | 2
unoxml/source/dom/documentbuilder.hxx | 1
uui/source/passwordcontainer.cxx | 2
vbahelper/source/msforms/vbacontrol.hxx | 11
vbahelper/source/msforms/vbalistcontrolhelper.hxx | 6
vbahelper/source/msforms/vbanewfont.hxx | 1
vbahelper/source/msforms/vbapages.hxx | 1
vbahelper/source/msforms/vbauserform.hxx | 2
vbahelper/source/vbahelper/vbacommandbar.hxx | 2
vbahelper/source/vbahelper/vbacommandbarcontrol.hxx | 4
vbahelper/source/vbahelper/vbacommandbarcontrols.hxx | 2
vbahelper/source/vbahelper/vbacommandbarhelper.hxx | 10
vbahelper/source/vbahelper/vbacommandbars.cxx | 1
vbahelper/source/vbahelper/vbacommandbars.hxx | 1
vbahelper/source/vbahelper/vbadocumentsbase.cxx | 3
vbahelper/source/vbahelper/vbafillformat.hxx | 2
vbahelper/source/vbahelper/vbahelper.cxx | 1
vbahelper/source/vbahelper/vbalineformat.hxx | 1
vbahelper/source/vbahelper/vbapictureformat.hxx | 3
vcl/inc/canvasbitmap.hxx | 1
vcl/inc/dndeventdispatcher.hxx | 6
vcl/qa/cppunit/canvasbitmaptest.cxx | 1
vcl/unx/gtk/a11y/atkaction.cxx | 1
vcl/unx/gtk/a11y/atkcomponent.cxx | 1
vcl/unx/gtk/a11y/atkeditabletext.cxx | 1
vcl/unx/gtk/a11y/atkhypertext.cxx | 1
vcl/unx/gtk/a11y/atkimage.cxx | 1
vcl/unx/gtk/a11y/atkselection.cxx | 1
vcl/unx/gtk/a11y/atktable.cxx | 1
vcl/unx/gtk/a11y/atktext.cxx | 4
vcl/unx/gtk/a11y/atktextattributes.cxx | 1
vcl/unx/gtk/a11y/atkutil.cxx | 14
vcl/unx/gtk/a11y/atkvalue.cxx | 1
vcl/unx/gtk/fpicker/SalGtkPicker.hxx | 4
vcl/unx/kde4/KDE4FilePicker.hxx | 23 +
writerfilter/source/dmapper/DomainMapper_Impl.hxx | 1
writerfilter/source/dmapper/PropertyMap.hxx | 5
writerfilter/source/filter/WriterFilterDetection.cxx | 1
writerfilter/source/ooxml/OOXMLFastContextHandler.hxx | 10
writerperfect/source/writer/WordPerfectImportFilter.hxx | 2
xmlhelp/source/cxxhelp/provider/provider.cxx | 1
xmlhelp/source/cxxhelp/provider/urlparameter.hxx | 3
xmloff/inc/facreg.hxx | 51 ++
xmloff/source/text/XMLAutoTextEventImport.hxx | 1
xmloff/source/transform/OOo2Oasis.hxx | 2
xmloff/source/transform/XMLFilterRegistration.hxx | 209 ++++++++--
xmlscript/source/xmldlg_imexp/imp_share.hxx | 2
xmlsecurity/inc/certificate.hxx | 2
xmlsecurity/inc/framework/saxeventkeeperimpl.hxx | 3
xmlsecurity/inc/framework/securityengine.hxx | 4
xmlsecurity/inc/framework/signaturecreatorimpl.hxx | 3
xmlsecurity/inc/framework/signatureengine.hxx | 2
xmlsecurity/inc/framework/signatureverifierimpl.hxx | 3
xmlsecurity/inc/xmlsec/saxhelper.hxx | 14
xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx | 6
xmlsecurity/source/component/certificatecontainer.hxx | 5
xmlsecurity/source/component/documentdigitalsignatures.hxx | 6
xmlsecurity/source/framework/decryptorimpl.hxx | 3
xmlsecurity/source/framework/encryptionengine.hxx | 2
xmlsecurity/source/framework/encryptorimpl.hxx | 3
xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx | 2
xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx | 2
xmlsecurity/source/xmlsec/nss/nssinitializer.hxx | 3
xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx | 17
xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx | 3
xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.hxx | 1
xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx | 2
xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.hxx | 2
xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx | 2
xmlsecurity/source/xmlsec/serialnumberadapter.hxx | 2
xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx | 4
882 files changed, 4538 insertions(+), 360 deletions(-)
New commits:
commit 28ec4d1456ae17711749e4131e9f8e96eccb1b95
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:01:57 2017 +0100
New loplugin:dynexcspec: Add @throws documentation
See the mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
"Dynamic Exception Specifications" for details.
* The check for missing @throws documentation is not too specific, it just
checks whether a function with dynamic exception specification has /any/
@throws clause, not necessarily exactly matching the exception types. (Many
of the details in the existing dynamic exception specifications are probably
not very useful, anyway.)
* When adding @throws clauses, I bluntly copied the exception specifications
except for dropping any mentions of std::exception (except in the rare cases
where that was the only exception typed mentioned).
* In many places it might have looked more natural to use trailing Doxygen
comments of the
///< @throws ...
kind, but Clang's getCommentForDecl unfortunately doesn't detect trailing
comments on function decls.
* Also, Clang's getCommentForDecl doesn't look into macros, so some trivial
silly macros were expanded along the way to add comments where necessary.
Change-Id: I1831d72df2d9c801d4b8dd7d708d9cefea039589
diff --git a/compilerplugins/clang/dynexcspec.cxx b/compilerplugins/clang/dynexcspec.cxx
new file mode 100644
index 0000000..d92bf4f
--- /dev/null
+++ b/compilerplugins/clang/dynexcspec.cxx
@@ -0,0 +1,151 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <algorithm>
+#include <functional>
+
+#include "clang/AST/Comment.h"
+
+#include "plugin.hxx"
+
+// Remove dynamic exception specifications. See the mail thread starting at
+// <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
+// "Dynamic Exception Specifications" for details.
+
+namespace {
+
+bool isOverriding(FunctionDecl const * decl) {
+ return decl->hasAttr<OverrideAttr>();
+}
+
+class DynExcSpec:
+ public RecursiveASTVisitor<DynExcSpec>, public loplugin::RewritePlugin
+{
+public:
+ explicit DynExcSpec(InstantiationData const & data): RewritePlugin(data) {}
+
+ void run() override {
+ // See the mail thread mentioned above for why !LIBO_INTERNAL_ONLY is
+ // excluded for now:
+ if (!compiler.getPreprocessor().getIdentifierInfo("LIBO_INTERNAL_ONLY")
+ ->hasMacroDefinition())
+ {
+ return;
+ }
+ if (compiler.getLangOpts().CPlusPlus) {
+ TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
+ }
+ }
+
+ bool VisitFunctionDecl(FunctionDecl const * decl) {
+ if (ignoreLocation(decl)) {
+ return true;
+ }
+ auto proto = dyn_cast<FunctionProtoType>(decl->getType());
+ if (proto == nullptr || proto->getExceptionSpecType() != EST_Dynamic) {
+ return true;
+ }
+ if (decl->isCanonicalDecl() && !isOverriding(decl)
+ && !anyRedeclHasThrowsDocumentation(decl))
+ {
+ report(
+ DiagnosticsEngine::Warning,
+ ("function declaration has dynamic exception specification but"
+ " no corresponding documentation comment"),
+ decl->getLocation())
+ << decl->getSourceRange();
+ return true;
+ }
+#if 0 // will be enabled later
+ bool dtor = isa<CXXDestructorDecl>(decl);
+ auto source = decl->getExceptionSpecSourceRange();
+ if (rewriter != nullptr && source.isValid()) {
+ if (dtor) {
+ if (replaceText(source, "noexcept(false)")) {
+ return true;
+ }
+ } else {
+ auto beg = source.getBegin();
+ if (beg.isFileID()) {
+ for (;;) {
+ auto prev = Lexer::GetBeginningOfToken(
+ beg.getLocWithOffset(-1),
+ compiler.getSourceManager(),
+ compiler.getLangOpts());
+ auto n = Lexer::MeasureTokenLength(
+ prev, compiler.getSourceManager(),
+ compiler.getLangOpts());
+ auto s = StringRef(
+ compiler.getSourceManager().getCharacterData(prev),
+ n);
+ while (s.startswith("\\\n")) {
+ s = s.drop_front(2);
+ while (!s.empty()
+ && (s.front() == ' ' || s.front() == '\t'
+ || s.front() == '\n' || s.front() == '\v'
+ || s.front() == '\f'))
+ {
+ s = s.drop_front(1);
+ }
+ }
+ if (!s.empty() && s != "\\") {
+ break;
+ }
+ beg = prev;
+ }
+ }
+ if (removeText(SourceRange(beg, source.getEnd()))) {
+ return true;
+ }
+ }
+ }
+ report(
+ DiagnosticsEngine::Warning,
+ (dtor
+ ? "replace dynamic exception specification with 'noexcept(false)'"
+ : "remove dynamic exception specification"),
+ source.isValid() ? source.getBegin() : decl->getLocation())
+ << (source.isValid() ? source : decl->getSourceRange());
+#endif
+ return true;
+ }
+
+private:
+ bool hasThrowsDocumentation(FunctionDecl const * decl) {
+ if (auto cmt = compiler.getASTContext().getCommentForDecl(
+ decl, &compiler.getPreprocessor()))
+ {
+ for (auto i = cmt->child_begin(); i != cmt->child_end(); ++i) {
+ if (auto bcc = dyn_cast<comments::BlockCommandComment>(*i)) {
+ if (compiler.getASTContext().getCommentCommandTraits()
+ .getCommandInfo(bcc->getCommandID())->IsThrowsCommand)
+ {
+ return true;
+ }
+ }
+ }
+ }
+ return false;
+ }
+
+ bool anyRedeclHasThrowsDocumentation(FunctionDecl const * decl) {
+ return std::any_of(
+ decl->redecls_begin(), decl->redecls_end(),
+ [this](FunctionDecl * d) { return hasThrowsDocumentation(d); });
+ // std::bind(
+ // &DynExcSpec::hasThrowsDocumentation, this,
+ // std::placeholders::_1));
+ }
+};
+
+loplugin::Plugin::Registration<DynExcSpec> X("dynexcspec", true);
+
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
commit 416252b1f6d60d36f8cb0b57c71a0edf33395a44
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:01:28 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, UnoControls
Change-Id: Iedbef454a22b34df777e6c32fad95fed96f2fdce
diff --git a/UnoControls/source/base/registercontrols.cxx b/UnoControls/source/base/registercontrols.cxx
index e3ecfa4..09de6a5 100644
--- a/UnoControls/source/base/registercontrols.cxx
+++ b/UnoControls/source/base/registercontrols.cxx
@@ -31,6 +31,7 @@
namespace {
+/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL FrameControl_createInstance(
css::uno::Reference<css::lang::XMultiServiceFactory> const &
rServiceManager)
@@ -41,6 +42,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL FrameControl_createInstance(
comphelper::getComponentContext(rServiceManager)));
}
+/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL ProgressBar_createInstance(
css::uno::Reference<css::lang::XMultiServiceFactory> const &
rServiceManager)
@@ -51,6 +53,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL ProgressBar_createInstance(
comphelper::getComponentContext(rServiceManager)));
}
+/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL
ProgressMonitor_createInstance(
css::uno::Reference<css::lang::XMultiServiceFactory> const &
@@ -62,6 +65,7 @@ ProgressMonitor_createInstance(
comphelper::getComponentContext(rServiceManager)));
}
+/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL
StatusIndicator_createInstance(
css::uno::Reference<css::lang::XMultiServiceFactory> const &
commit 68044e9ec6d17cac1695b0e87c8430df98ace80e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:01:19 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, accessibility
Change-Id: I4857292372116bd8330403456d415476a5435f11
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
index dd65a8e..81e81aa 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
@@ -289,12 +289,16 @@ protected:
/** Locks all mutex's and calculates the bounding box relative to the
parent window.
- @return The bounding box (VCL rect.) relative to the parent object. */
+ @return The bounding box (VCL rect.) relative to the parent object.
+ @throws css::lang::DisposedException
+ */
Rectangle getBoundingBox()
throw ( css::lang::DisposedException );
/** Locks all mutex's and calculates the bounding box in screen
coordinates.
- @return The bounding box (VCL rect.) in screen coordinates. */
+ @return The bounding box (VCL rect.) in screen coordinates.
+ @throws css::lang::DisposedException
+ */
Rectangle getBoundingBoxOnScreen()
throw ( css::lang::DisposedException );
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
index 2a2a741..c4a3f01 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
@@ -137,7 +137,9 @@ protected:
// internal helper methods
/** @attention This method requires a locked mutex.
- @return The XAccessibleTable interface of the specified header bar. */
+ @return The XAccessibleTable interface of the specified header bar.
+ @throws css::uno::RuntimeException
+ */
css::uno::Reference< css::accessibility::XAccessibleTable >
implGetHeaderBar( sal_Int32 nChildIndex )
throw ( css::uno::RuntimeException );
diff --git a/accessibility/inc/extended/AccessibleGridControlBase.hxx b/accessibility/inc/extended/AccessibleGridControlBase.hxx
index 4f05285..3776fb4 100644
--- a/accessibility/inc/extended/AccessibleGridControlBase.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlBase.hxx
@@ -260,12 +260,15 @@ protected:
/** Locks all mutex's and calculates the bounding box relative to the
parent window.
- @return The bounding box (VCL rect.) relative to the parent object. */
+ @return The bounding box (VCL rect.) relative to the parent object.
+ @throws css::lang::DisposedException
+ */
Rectangle getBoundingBox()
throw ( css::lang::DisposedException );
///** Locks all mutex's and calculates the bounding box in screen
// coordinates.
// @return The bounding box (VCL rect.) in screen coordinates. */
+ /// @throws css::lang::DisposedException
Rectangle getBoundingBoxOnScreen()
throw ( css::lang::DisposedException );
diff --git a/accessibility/inc/extended/AccessibleGridControlTable.hxx b/accessibility/inc/extended/AccessibleGridControlTable.hxx
index a2faeb0..ab88c02 100644
--- a/accessibility/inc/extended/AccessibleGridControlTable.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlTable.hxx
@@ -195,6 +195,7 @@ protected:
//// internal helper methods
///** @attention This method requires a locked mutex.
// @return The XAccessibleTable interface of the specified header bar. */
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::accessibility::XAccessibleTable >
implGetHeaderBar( sal_Int32 nChildIndex )
throw ( css::uno::RuntimeException );
diff --git a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
index 66cfc09..6217ea7 100644
--- a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
+++ b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
@@ -78,12 +78,17 @@ namespace accessibility
bool IsAlive_Impl() const;
bool IsShowing_Impl() const;
+ /// @throws css::lang::DisposedException
+ /// @throws css::uno::RuntimeException
Rectangle GetBoundingBox()
throw (css::lang::DisposedException,
css::uno::RuntimeException);
+ /// @throws css::lang::DisposedException
+ /// @throws css::uno::RuntimeException
Rectangle GetBoundingBoxOnScreen()
throw (css::lang::DisposedException,
css::uno::RuntimeException);
+ /// @throws css::lang::DisposedException
void EnsureIsAlive() const throw ( css::lang::DisposedException );
protected:
diff --git a/accessibility/inc/extended/accessiblelistboxentry.hxx b/accessibility/inc/extended/accessiblelistboxentry.hxx
index 55cb1bb..7b0a495 100644
--- a/accessibility/inc/extended/accessiblelistboxentry.hxx
+++ b/accessibility/inc/extended/accessiblelistboxentry.hxx
@@ -94,12 +94,17 @@ namespace accessibility
bool IsAlive_Impl() const;
bool IsShowing_Impl() const;
+ /// @throws css::lang::DisposedException
+ /// @throws css::uno::RuntimeException
Rectangle GetBoundingBox()
throw (css::lang::DisposedException,
css::uno::RuntimeException);
+ /// @throws css::lang::DisposedException
+ /// @throws css::uno::RuntimeException
Rectangle GetBoundingBoxOnScreen()
throw (css::lang::DisposedException,
css::uno::RuntimeException);
+ /// @throws css::lang::DisposedException
void EnsureIsAlive() const throw ( css::lang::DisposedException );
void NotifyAccessibleEvent( sal_Int16 _nEventId, const css::uno::Any& _aOldValue, const css::uno::Any& _aNewValue );
diff --git a/accessibility/inc/extended/listboxaccessible.hxx b/accessibility/inc/extended/listboxaccessible.hxx
index 013644a..58576fd 100644
--- a/accessibility/inc/extended/listboxaccessible.hxx
+++ b/accessibility/inc/extended/listboxaccessible.hxx
@@ -57,6 +57,8 @@ namespace accessibility
<p>Usually, you derive your class from both ListBoxAccessibleBase and XComponent,
and call XComponent::dispose here.</p>
+
+ @throws css::uno::RuntimeException
*/
virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) = 0;
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
index ce61700e..edf9429 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
@@ -27,6 +27,7 @@ namespace accessibility
{
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex >= _sText.getLength() )
diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
index 7703b3f..016eea2 100644
--- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
@@ -30,6 +30,7 @@ namespace accessibility
{
// FIXME this is a copy'n'paste from
// source/extended/AccessibleBrowseBoxTableCell.cxx, get rid of that...
+ /// @throws css::lang::IndexOutOfBoundsException
void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex >= _sText.getLength() )
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index 591c254..ba08bff 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -42,6 +42,7 @@
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkActionIndex_Impl( sal_Int32 _nIndex ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex < 0 || _nIndex >= ACCESSIBLE_ACTION_COUNT )
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index e2706d9..ba5500f 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -47,6 +47,7 @@
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkActionIndex_Impl( sal_Int32 _nIndex ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex < 0 || _nIndex >= ACCESSIBLE_ACTION_COUNT )
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index d0f87d3..f134ca7 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -41,6 +41,7 @@ using namespace ::accessibility;
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkSelection_Impl( sal_Int32 _nIndex, const IComboListBoxHelper& _rListBox, bool bSelected )
throw (css::lang::IndexOutOfBoundsException)
{
diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx
index 0ee2bb1..07b7ea9 100644
--- a/accessibility/source/standard/vclxaccessiblelistitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx
@@ -43,6 +43,7 @@
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex < 0 || _nIndex > _sText.getLength() )
commit 079abb8b46a53600352c6f99a391153684ed8a98
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:01:07 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, basegfx
Change-Id: I83cd12d9eb2d65ec5ff903b7536f28b2a0ae3c69
diff --git a/include/basegfx/tools/unotools.hxx b/include/basegfx/tools/unotools.hxx
index f459622..8d28ec8 100644
--- a/include/basegfx/tools/unotools.hxx
+++ b/include/basegfx/tools/unotools.hxx
@@ -25,7 +25,7 @@ class B2DPolyPolygon;
namespace unotools
{
-
+ /// @throws css::lang::IllegalArgumentException
BASEGFX_DLLPUBLIC B2DPolyPolygon polyPolygonBezierToB2DPolyPolygon(const css::drawing::PolyPolygonBezierCoords& rSourcePolyPolygon)
throw( css::lang::IllegalArgumentException );
commit ff46e5335896903fd9f20f321b96b7e5b72cda5d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:00:56 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, basctl
Change-Id: I34a1b868176f26c1bab841547b97bca56113e47e
diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx
index bb64ca0..baea509 100644
--- a/basctl/source/basicide/unomodel.hxx
+++ b/basctl/source/basicide/unomodel.hxx
@@ -28,6 +28,7 @@ namespace basctl
class SIDEModel : public SfxBaseModel,
public com::sun::star::lang::XServiceInfo
{
+ /// @throws css::io::IOException
static void notImplemented() throw ( css::io::IOException );
public:
explicit SIDEModel(SfxObjectShell *pObjSh = nullptr);
@@ -64,6 +65,7 @@ public:
static OUString getImplementationName_Static();
};
+/// @throws com::sun::star::uno::Exception
css::uno::Reference< css::uno::XInterface > SAL_CALL SIDEModel_createInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
throw( com::sun::star::uno::Exception );
diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx
index 1dd039d..91bc550 100644
--- a/basctl/source/inc/basobj.hxx
+++ b/basctl/source/inc/basobj.hxx
@@ -81,6 +81,8 @@ namespace basctl
bool bChooseOnly, const OUString& rMacroDesc )
{ return ChooseMacro(rxLimitToDocument, css::uno::Reference< css::frame::XFrame >(), bChooseOnly, rMacroDesc); }
+ /// @throws css::container::NoSuchElementException
+ /// @throws css::uno::RuntimeException
css::uno::Sequence< OUString > GetMethodNames(
const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName )
throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
@@ -93,6 +95,10 @@ namespace basctl
/** renames a dialog
Will show an error message when renaming fails because the new name is already used.
+
+ @throws css::container::ElementExistException
+ @throws css::container::NoSuchElementException
+ @throws css::uno::RuntimeException
*/
bool RenameDialog(
vcl::Window* pErrorParent, const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rOldName, const OUString& rNewName )
diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx
index 3eb50a2..34393d4 100644
--- a/basctl/source/inc/dlgedobj.hxx
+++ b/basctl/source/inc/dlgedobj.hxx
@@ -115,15 +115,22 @@ public:
css::uno::Reference< css::awt::XControl > GetControl() const;
virtual void PositionAndSizeChange( const css::beans::PropertyChangeEvent& evt );
+ /// @throws css::container::NoSuchElementException
+ /// @throws css::uno::RuntimeException
void SAL_CALL NameChange( const css::beans::PropertyChangeEvent& evt ) throw(css::container::NoSuchElementException, css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void SAL_CALL TabIndexChange( const css::beans::PropertyChangeEvent& evt ) throw( css::uno::RuntimeException);
// PropertyChangeListener
+ /// @throws css::uno::RuntimeException
void SAL_CALL _propertyChange(const css::beans::PropertyChangeEvent& evt) throw (css::uno::RuntimeException, std::exception);
// ContainerListener
+ /// @throws css::uno::RuntimeException
void SAL_CALL _elementInserted( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void SAL_CALL _elementReplaced( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void SAL_CALL _elementRemoved( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException);
virtual void SetLayer(SdrLayerID nLayer) override;
commit 0f5da9c1c6e3e29de46f9ad48864945074004586
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:00:50 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, basic
Change-Id: Ic3e265e05c69942c5c1c7d1b83f65f2cbe35ca1f
diff --git a/basic/inc/sbobjmod.hxx b/basic/inc/sbobjmod.hxx
index 58504c6..1b63cc4 100644
--- a/basic/inc/sbobjmod.hxx
+++ b/basic/inc/sbobjmod.hxx
@@ -44,6 +44,7 @@ public:
using SbxValue::GetObject;
SbxVariable* GetObject();
+ /// @throws css::uno::RuntimeException
void SetUnoObject( const css::uno::Any& aObj )throw ( css::uno::RuntimeException, std::exception ) ;
};
diff --git a/basic/source/classes/errobject.cxx b/basic/source/classes/errobject.cxx
index 190aec3..1401dcd 100644
--- a/basic/source/classes/errobject.cxx
+++ b/basic/source/classes/errobject.cxx
@@ -58,6 +58,7 @@ public:
virtual OUString SAL_CALL getDefaultPropertyName( ) throw (uno::RuntimeException, std::exception) override;
// Helper method
+ /// @throws css::uno::RuntimeException
void setData( const uno::Any& Number, const uno::Any& Source, const uno::Any& Description,
const uno::Any& HelpFile, const uno::Any& HelpContext ) throw (uno::RuntimeException);
};
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 972c47b..6f07eb3 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -93,7 +93,9 @@ class DocObjectWrapper : public DocObjectWrapper_BASE
Reference< XTypeProvider > m_xAggregateTypeProv;
Sequence< Type > m_Types;
SbModule* m_pMod;
+ /// @throws css::uno::RuntimeException
SbMethodRef getMethod( const OUString& aName ) throw (RuntimeException, std::exception);
+ /// @throws css::uno::RuntimeException
SbPropertyRef getProperty( const OUString& aName ) throw (RuntimeException, std::exception);
public:
diff --git a/basic/source/inc/errobject.hxx b/basic/source/inc/errobject.hxx
index 427f2f1..07ac40f 100644
--- a/basic/source/inc/errobject.hxx
+++ b/basic/source/inc/errobject.hxx
@@ -35,6 +35,7 @@ public:
static SbxVariableRef const & getErrObject();
static css::uno::Reference< ooo::vba::XErrObject > const & getUnoErrObject();
+ /// @throws css::uno::RuntimeException
void setNumberAndDescription( ::sal_Int32 _number, const OUString& _description )
throw (css::uno::RuntimeException);
};
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx
index fd0e9e3..832061d 100644
--- a/basic/source/inc/namecont.hxx
+++ b/basic/source/inc/namecont.hxx
@@ -94,12 +94,19 @@ public:
void setEventSource( css::uno::XInterface* pxEventSource )
{ mpxEventSource = pxEventSource; }
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::container::ElementExistException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
void insertCheck(const OUString& aName, const css::uno::Any& aElement)
throw (css::lang::IllegalArgumentException,
css::container::ElementExistException,
css::lang::WrappedTargetException,
css::uno::RuntimeException, std::exception);
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
void insertNoCheck(const OUString& aName, const css::uno::Any& aElement)
throw (css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
@@ -287,6 +294,7 @@ protected:
const OUString& StorageURL, bool ReadOnly ) = 0;
virtual css::uno::Any SAL_CALL createEmptyLibraryElement() = 0;
virtual bool SAL_CALL isLibraryElementValid(const css::uno::Any& rElement) const = 0;
+ /// @throws css::uno::Exception
virtual void SAL_CALL writeLibraryElement
(
const css::uno::Reference< css::container::XNameContainer>& xLibrary,
@@ -313,6 +321,8 @@ protected:
const OUString& aTargetURL,
const css::uno::Reference< css::ucb::XSimpleFileAccess3 >& rToUseSFI, const css::uno::Reference< css::task::XInteractionHandler >& Handler );
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual bool implLoadPasswordLibrary( SfxLibrary* pLib, const OUString& Name,
bool bVerifyPasswordOnly=false )
throw(css::lang::WrappedTargetException,
@@ -346,6 +356,7 @@ protected:
OUString& aStorageURL,
OUString& aUnexpandedStorageURL
);
+ /// @throws css::uno::RuntimeException
OUString expand_url( const OUString& url )
throw(css::uno::RuntimeException);
commit d08e466c465b6d10c381937fd5e7ba8a160e7b85
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:00:44 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, canvas
Change-Id: I70b52921291da551da7cc970e82f38b319f0ded8
diff --git a/include/canvas/base/disambiguationhelper.hxx b/include/canvas/base/disambiguationhelper.hxx
index 6e3c12c..ca9d36f 100644
--- a/include/canvas/base/disambiguationhelper.hxx
+++ b/include/canvas/base/disambiguationhelper.hxx
@@ -61,6 +61,7 @@ namespace canvas
virtual void disposeThis()
{}
+ /// @throws css::uno::RuntimeException
virtual void disposeEventSource( const css::lang::EventObject& ) throw (css::uno::RuntimeException)
{}
commit ea88107a65e93cde3729c46a4cc738ce396890ca
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:00:34 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, chart2
Change-Id: I9b558b713186c64054914ebfc4c122ff769b71a1
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx
index d45b67f..4cbdbfd 100644
--- a/chart2/inc/ChartModel.hxx
+++ b/chart2/inc/ChartModel.hxx
@@ -179,16 +179,20 @@ private:
bool
impl_isControllerConnected( const css::uno::Reference< com::sun::star::frame::XController >& xController );
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::frame::XController >
impl_getCurrentController()
throw( css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void SAL_CALL
impl_notifyModifiedListeners()
throw( css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void SAL_CALL
impl_notifyCloseListeners()
throw( css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void SAL_CALL
impl_notifyStorageChangeListeners()
throw(css::uno::RuntimeException);
diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx
index 9eb67a8..4017385 100644
--- a/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx
@@ -91,6 +91,7 @@ protected:
// character properties have to be handled differently (via the XFormattedString elements)
void getFastCharacterPropertyValue( sal_Int32 nHandle, css::uno::Any& rValue );
+ /// @throws css::uno::Exception
void setFastCharacterPropertyValue( sal_Int32 nHandle, const css::uno::Any& rValue )
throw (css::uno::Exception);
diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx
index 4722e51..164731d 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx
@@ -66,8 +66,16 @@ public:
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) override;
protected: //methods
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
void setPropertyValue( tScaleProperty eScaleProperty, const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
css::uno::Any getPropertyValue( tScaleProperty eScaleProperty, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx
index ec36f07..39647f9 100644
--- a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx
+++ b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx
@@ -111,6 +111,7 @@ public:
virtual void fillExtraControls( const ChartTypeParameter& rParameter
, const css::uno::Reference< css::chart2::XChartDocument >& xChartModel
, const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const;
+ /// @throws css::uno::RuntimeException
virtual void setTemplateProperties( const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const throw (css::uno::RuntimeException);
bool isSubType( const OUString& rServiceName );
diff --git a/chart2/source/controller/inc/AccessibleBase.hxx b/chart2/source/controller/inc/AccessibleBase.hxx
index dd95d8a..d822c39 100644
--- a/chart2/source/controller/inc/AccessibleBase.hxx
+++ b/chart2/source/controller/inc/AccessibleBase.hxx
@@ -113,6 +113,7 @@ protected:
object is already disposed
@return true, if the component is already disposed and bThrowException is false,
false otherwise
+ @throws css::lang::DisposedException
*/
bool CheckDisposeState( bool bThrowException = true ) const throw (css::lang::DisposedException);
@@ -132,11 +133,15 @@ protected:
bool NotifyEvent( EventType eType, const AccessibleUniqueId & rId );
/** Adds a state to the set.
+
+ @throws css::uno::RuntimeException
*/
void AddState( sal_Int16 aState ) throw (css::uno::RuntimeException);
/** Removes a state from the set if the set contains the state, otherwise
nothing is done.
+
+ @throws css::uno::RuntimeException
*/
void RemoveState( sal_Int16 aState ) throw (css::uno::RuntimeException);
@@ -200,6 +205,9 @@ protected:
/** Is called from getAccessibleChild(). Before this method is called, an
update of children is done if necessary.
+
+ @throws css::lang::IndexOutOfBoundsException
+ @throws css::uno::RuntimeException
*/
virtual css::uno::Reference< css::accessibility::XAccessible >
ImplGetAccessibleChildById( sal_Int32 i ) const
@@ -208,6 +216,8 @@ protected:
/** Is called from getAccessibleChildCount(). Before this method is called,
an update of children is done if necessary.
+
+ @throws css::uno::RuntimeException
*/
virtual sal_Int32 ImplGetAccessibleChildCount() const
throw (css::uno::RuntimeException);
diff --git a/chart2/source/controller/inc/ChartDocumentWrapper.hxx b/chart2/source/controller/inc/ChartDocumentWrapper.hxx
index c0112a8..3cf3aa7 100644
--- a/chart2/source/controller/inc/ChartDocumentWrapper.hxx
+++ b/chart2/source/controller/inc/ChartDocumentWrapper.hxx
@@ -80,6 +80,7 @@ public:
css::uno::Reference< css::drawing::XShapes > getAdditionalShapes() const;
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::drawing::XDrawPage > impl_getDrawPage() const
throw (css::uno::RuntimeException);
diff --git a/chart2/source/controller/inc/ItemConverter.hxx b/chart2/source/controller/inc/ItemConverter.hxx
index df54e14..5763318 100644
--- a/chart2/source/controller/inc/ItemConverter.hxx
+++ b/chart2/source/controller/inc/ItemConverter.hxx
@@ -145,6 +145,8 @@ protected:
false.
The default implementation does nothing except showing an assertion
+
+ @throws css::uno::Exception
*/
virtual void FillSpecialItem( sal_uInt16 nWhichId, SfxItemSet & rOutItemSet ) const
throw (css::uno::Exception, std::exception);
@@ -157,6 +159,8 @@ protected:
The default implementation returns just false and shows an assertion
@return true if the item changed a property, false otherwise.
+
+ @throws css::uno::Exception
*/
virtual bool ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSet & rItemSet )
throw( css::uno::Exception );
diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx
index 64f33af..ba65267 100644
--- a/chart2/source/inc/LifeTime.hxx
+++ b/chart2/source/inc/LifeTime.hxx
@@ -43,6 +43,7 @@ public:
virtual ~LifeTimeManager();
bool impl_isDisposed( bool bAssert=true );
+ /// @throws css::uno::RuntimeException
bool dispose() throw(css::uno::RuntimeException);
public:
@@ -89,12 +90,15 @@ OOO_DLLPUBLIC_CHARTTOOLS CloseableLifeTimeManager( css::util::XCloseable* pCl
OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager() override;
OOO_DLLPUBLIC_CHARTTOOLS bool impl_isDisposedOrClosed( bool bAssert=true );
+/// @throws css::uno::Exception
OOO_DLLPUBLIC_CHARTTOOLS bool g_close_startTryClose(bool bDeliverOwnership)
throw ( css::uno::Exception );
+/// @throws css::util::CloseVetoException
OOO_DLLPUBLIC_CHARTTOOLS bool g_close_isNeedToCancelLongLastingCalls( bool bDeliverOwnership, css::util::CloseVetoException& ex )
throw ( css::util::CloseVetoException );
OOO_DLLPUBLIC_CHARTTOOLS void g_close_endTryClose(bool bDeliverOwnership, bool bMyVeto );
OOO_DLLPUBLIC_CHARTTOOLS void g_close_endTryClose_doClose();
+/// @throws css::uno::RuntimeException
OOO_DLLPUBLIC_CHARTTOOLS void g_addCloseListener( const css::uno::Reference< css::util::XCloseListener > & xListener )
throw(css::uno::RuntimeException);
diff --git a/chart2/source/inc/OPropertySet.hxx b/chart2/source/inc/OPropertySet.hxx
index a5c7de8..0d0f5fa 100644
--- a/chart2/source/inc/OPropertySet.hxx
+++ b/chart2/source/inc/OPropertySet.hxx
@@ -64,6 +64,9 @@ protected:
/** implement this method to provide default values for all properties
supporting defaults. If a property does not have a default value, you
may throw an UnknownPropertyException.
+
+ @throws css::beans::UnknownPropertyException
+ @throws css::uno::RuntimeException
*/
virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
throw (css::beans::UnknownPropertyException,
diff --git a/chart2/source/inc/WrappedProperty.hxx b/chart2/source/inc/WrappedProperty.hxx
index 062d795..c22a0cb 100644
--- a/chart2/source/inc/WrappedProperty.hxx
+++ b/chart2/source/inc/WrappedProperty.hxx
@@ -40,18 +40,33 @@ public:
const OUString& getOuterName() const { return m_aOuterName;}
virtual OUString getInnerName() const;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual css::uno::Any getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::uno::RuntimeException
virtual void setPropertyToDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
throw (css::beans::UnknownPropertyException, css::uno::RuntimeException);
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual css::uno::Any getPropertyDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::uno::RuntimeException
virtual css::beans::PropertyState getPropertyState( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const
throw (css::beans::UnknownPropertyException, css::uno::RuntimeException);
diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx
index 3ae8a9a..6bc9fae 100644
--- a/chart2/source/model/template/ChartTypeTemplate.hxx
+++ b/chart2/source/model/template/ChartTypeTemplate.hxx
@@ -114,6 +114,7 @@ protected:
const css::uno::Reference< css::chart2::XDiagram >& xDiagram )
throw (css::uno::RuntimeException, std::exception) override;
+ /// @throws css::uno::RuntimeException
void SAL_CALL applyStyles(
const css::uno::Reference< css::chart2::XDiagram >& xDiagram )
throw (css::uno::RuntimeException);
diff --git a/chart2/source/view/axes/VAxisOrGridBase.hxx b/chart2/source/view/axes/VAxisOrGridBase.hxx
index c8884d8..be81876 100644
--- a/chart2/source/view/axes/VAxisOrGridBase.hxx
+++ b/chart2/source/view/axes/VAxisOrGridBase.hxx
@@ -40,6 +40,7 @@ public:
virtual ~VAxisOrGridBase() override;
virtual void setTransformationSceneToScreen( const css::drawing::HomogenMatrix& rMatrix ) override;
+ /// @throws css::uno::RuntimeException
virtual void setExplicitScaleAndIncrement(
const ExplicitScaleData& rScale
, const ExplicitIncrementData& rIncrement )
diff --git a/chart2/source/view/inc/PlotterBase.hxx b/chart2/source/view/inc/PlotterBase.hxx
index de4c979..1d12d86 100644
--- a/chart2/source/view/inc/PlotterBase.hxx
+++ b/chart2/source/view/inc/PlotterBase.hxx
@@ -48,6 +48,7 @@ public:
PlotterBase( sal_Int32 nDimension );
virtual ~PlotterBase();
+ /// @throws css::uno::RuntimeException
virtual void initPlotter(
const css::uno::Reference< css::drawing::XShapes >& xLogicTarget
, const css::uno::Reference< css::drawing::XShapes >& xFinalTarget
diff --git a/chart2/source/view/inc/VCoordinateSystem.hxx b/chart2/source/view/inc/VCoordinateSystem.hxx
index 5382853..aac8622 100644
--- a/chart2/source/view/inc/VCoordinateSystem.hxx
+++ b/chart2/source/view/inc/VCoordinateSystem.hxx
@@ -50,6 +50,7 @@ public:
static VCoordinateSystem* createCoordinateSystem( const css::uno::Reference<
css::chart2::XCoordinateSystem >& xCooSysModel );
+ /// @throws css::uno::RuntimeException
void initPlottingTargets(
const css::uno::Reference< css::drawing::XShapes >& xLogicTarget
, const css::uno::Reference< css::drawing::XShapes >& xFinalTarget
diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx
index cd8cf9f..470de99 100644
--- a/chart2/source/view/inc/VSeriesPlotter.hxx
+++ b/chart2/source/view/inc/VSeriesPlotter.hxx
@@ -152,6 +152,8 @@ public:
The parameter nAxisIndex matches this DataSeries property 'AttachedAxisIndex'.
nAxisIndex must be greater than 0. nAxisIndex==1 referres to the first secondary axis.
)
+
+ @throws css::uno::RuntimeException
*/
void addSecondaryValueScale( const ExplicitScaleData& rScale, sal_Int32 nAxisIndex )
commit 2b385f20e7ddefd37f4ad6080b869c2120e67435
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:00:13 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, codemaker
Change-Id: I94a9f72fc81439fc97c884009447d353c6c6a517
diff --git a/include/codemaker/options.hxx b/include/codemaker/options.hxx
index 5a0f0db..019f098 100644
--- a/include/codemaker/options.hxx
+++ b/include/codemaker/options.hxx
@@ -45,6 +45,7 @@ public:
Options();
virtual ~Options();
+ /// @throws IllegalArgument
virtual bool initOptions(int ac, char* av[], bool bCmdFile=false)
throw( IllegalArgument ) = 0;
@@ -52,6 +53,7 @@ public:
const ::rtl::OString& getProgramName() const { return m_program;}
bool isValid(const ::rtl::OString& option) const;
+ /// @throws IllegalArgument
const OString& getOption(const ::rtl::OString& option) const
throw( IllegalArgument );
commit a10b95bcc97896f7f8d8643593a5d759f41ac82d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 18:00:00 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, comphelper
Change-Id: I115c5c34cf97858d9fdd96432cb57bde6d4537cb
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx
index ce8f381..6917380 100644
--- a/comphelper/source/eventattachermgr/eventattachermgr.cxx
+++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx
@@ -127,6 +127,7 @@ public:
virtual void SAL_CALL read(const Reference< XObjectInputStream >& InStream) throw( IOException, RuntimeException, std::exception ) override;
private:
+ /// @throws Exception
Reference< XIdlReflection > getReflection() throw( Exception );
/** checks if <arg>_nIndex</arg> is a valid index, throws an <type>IllegalArgumentException</type> if not
@@ -147,6 +148,7 @@ class AttacherAllListener_Impl : public WeakImplHelper< XAllListener >
OUString aScriptType;
OUString aScriptCode;
+ /// @throws CannotConvertException
void convertToEventReturn( Any & rRet, const Type & rRetType )
throw( CannotConvertException );
public:
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index e68ad49..e8383c3 100644
--- a/comphelper/source/property/propagg.cxx
+++ b/comphelper/source/property/propagg.cxx
@@ -272,6 +272,8 @@ namespace internal
bool isResponsibleFor( sal_Int32 _nHandle );
/// actually forwards a property value to the aggregate
+ ///
+ /// @throws Exception
void doForward( sal_Int32 _nHandle, const Any& _rValue ) throw ( Exception );
sal_Int32 getCurrentlyForwardedProperty( ) const { return m_nCurrentlyForwarding; }
diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx
index 9329336..9125d69 100644
--- a/comphelper/source/property/propertysetinfo.cxx
+++ b/comphelper/source/property/propertysetinfo.cxx
@@ -44,6 +44,7 @@ public:
const PropertyMap& getPropertyMap() const throw() { return maPropertyMap;}
+ /// @throws UnknownPropertyException
Property getPropertyByName( const OUString& aName ) throw( UnknownPropertyException );
bool hasPropertyByName( const OUString& aName ) throw();
diff --git a/comphelper/source/xml/ofopxmlhelper.cxx b/comphelper/source/xml/ofopxmlhelper.cxx
index 062c723..eebe3c2 100644
--- a/comphelper/source/xml/ofopxmlhelper.cxx
+++ b/comphelper/source/xml/ofopxmlhelper.cxx
@@ -85,6 +85,7 @@ public:
namespace OFOPXMLHelper {
+/// @throws css::uno::Exception
static uno::Sequence<uno::Sequence< beans::StringPair>> ReadSequence_Impl(
const uno::Reference<io::XInputStream>& xInStream,
const OUString& aStringID, sal_uInt16 nFormat,
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx
index 3a7a7c9..8135a77 100644
--- a/include/comphelper/ChainablePropertySet.hxx
+++ b/include/comphelper/ChainablePropertySet.hxx
@@ -63,12 +63,22 @@ namespace comphelper
SolarMutex* mpMutex;
rtl::Reference < ChainablePropertySetInfo > mxInfo;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _preSetValues ()
throw (css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _setSingleValue(const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue)
throw (css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
@@ -76,6 +86,11 @@ namespace comphelper
css::lang::WrappedTargetException,
css::uno::RuntimeException,
std::exception) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _postSetValues ()
throw (css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
@@ -83,28 +98,52 @@ namespace comphelper
css::lang::WrappedTargetException,
css::uno::RuntimeException) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _preGetValues ()
throw (css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue )
throw (css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
css::uno::RuntimeException) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
virtual void _postGetValues ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
static void _preGetPropertyState ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException );
+ /// @throws css::beans::UnknownPropertyException
static void _getPropertyState( const comphelper::PropertyInfo& rInfo, css::beans::PropertyState& rState )
throw(css::beans::UnknownPropertyException );
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
static void _postGetPropertyState ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException );
+ /// @throws css::beans::UnknownPropertyException
static void _setPropertyToDefault( const comphelper::PropertyInfo& rEntry )
throw(css::beans::UnknownPropertyException );
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
static css::uno::Any _getPropertyDefault( const comphelper::PropertyInfo& rEntry )
throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException );
diff --git a/include/comphelper/MasterPropertySet.hxx b/include/comphelper/MasterPropertySet.hxx
index 37182a9..6c056bb 100644
--- a/include/comphelper/MasterPropertySet.hxx
+++ b/include/comphelper/MasterPropertySet.hxx
@@ -66,33 +66,69 @@ namespace comphelper
std::map< sal_uInt8, comphelper::SlaveData* > maSlaveMap;
rtl::Reference< MasterPropertySetInfo > mxInfo;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
virtual void _preSetValues ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue )
throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException,
css::lang::IllegalArgumentException, css::lang::WrappedTargetException,
css::uno::RuntimeException, std::exception) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
virtual void _postSetValues ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
virtual void _preGetValues ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue )
throw (css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
css::uno::RuntimeException) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
virtual void _postGetValues ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
static void _preGetPropertyState ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException );
+ /// @throws css::beans::UnknownPropertyException
static void _getPropertyState( const comphelper::PropertyInfo& rInfo, css::beans::PropertyState& rState )
throw(css::beans::UnknownPropertyException );
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
static void _postGetPropertyState ()
throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException );
+ /// @throws css::beans::UnknownPropertyException
static void _setPropertyToDefault( const comphelper::PropertyInfo& rEntry )
throw(css::beans::UnknownPropertyException );
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
static css::uno::Any _getPropertyDefault( const comphelper::PropertyInfo& rEntry )
throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException );
diff --git a/include/comphelper/SelectionMultiplex.hxx b/include/comphelper/SelectionMultiplex.hxx
index bc1c023..c63cd8f 100644
--- a/include/comphelper/SelectionMultiplex.hxx
+++ b/include/comphelper/SelectionMultiplex.hxx
@@ -51,7 +51,9 @@ namespace comphelper
: m_pAdapter(nullptr), m_rMutex(_rMutex) { }
virtual ~OSelectionChangeListener();
+ /// @throws css::uno::RuntimeException
virtual void _selectionChanged( const css::lang::EventObject& aEvent ) throw (css::uno::RuntimeException) = 0;
+ /// @throws css::uno::RuntimeException
virtual void _disposing(const css::lang::EventObject& _rSource)
throw (css::uno::RuntimeException, std::exception);
diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx
index de445a2..5c895d4 100644
--- a/include/comphelper/accessiblecomponenthelper.hxx
+++ b/include/comphelper/accessiblecomponenthelper.hxx
@@ -46,17 +46,25 @@ namespace comphelper
protected:
/// implements the calculation of the bounding rectangle - still waiting to be overwritten
+ ///
+ /// @throws css::uno::RuntimeException
virtual css::awt::Rectangle implGetBounds( ) throw (css::uno::RuntimeException, std::exception) = 0;
protected:
/** non-virtual versions of the methods which can be implemented using <method>implGetBounds</method>
note: getLocationOnScreen relies on a valid parent (XAccessibleContext::getParent()->getAccessibleContext()),
which itself implements XAccessibleComponent
+
+ @throws css::uno::RuntimeException
*/
bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::awt::Point SAL_CALL getLocation( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::awt::Point SAL_CALL getLocationOnScreen( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::awt::Size SAL_CALL getSize( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::awt::Rectangle SAL_CALL getBounds( ) throw (css::uno::RuntimeException);
};
diff --git a/include/comphelper/accessiblekeybindinghelper.hxx b/include/comphelper/accessiblekeybindinghelper.hxx
index 4ad6f42..dd7d12a 100644
--- a/include/comphelper/accessiblekeybindinghelper.hxx
+++ b/include/comphelper/accessiblekeybindinghelper.hxx
@@ -57,7 +57,9 @@ namespace comphelper
OAccessibleKeyBindingHelper();
OAccessibleKeyBindingHelper( const OAccessibleKeyBindingHelper& rHelper );
+ /// @throws css::uno::RuntimeException
void AddKeyBinding( const css::uno::Sequence< css::awt::KeyStroke >& rKeyBinding ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void AddKeyBinding( const css::awt::KeyStroke& rKeyStroke ) throw (css::uno::RuntimeException);
// XAccessibleKeyBinding
diff --git a/include/comphelper/accessibleselectionhelper.hxx b/include/comphelper/accessibleselectionhelper.hxx
index bb222c3..0b5140b 100644
--- a/include/comphelper/accessibleselectionhelper.hxx
+++ b/include/comphelper/accessibleselectionhelper.hxx
@@ -50,16 +50,19 @@ namespace comphelper
protected:
// access to context - still waiting to be overwritten
+ /// @throws css::uno::RuntimeException
virtual css::uno::Reference< css::accessibility::XAccessibleContext >
implGetAccessibleContext()
throw ( css::uno::RuntimeException ) = 0;
// return if the specified child is visible => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
+ /// @throws css::uno::RuntimeException
virtual bool
implIsSelected( sal_Int32 nAccessibleChildIndex )
throw (css::uno::RuntimeException) = 0;
// select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
+ /// @throws css::uno::RuntimeException
virtual void
implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect )
throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) = 0;
@@ -67,13 +70,25 @@ namespace comphelper
protected:
/** non-virtual versions of the methods which can be implemented using <method>implIsSelected</method> and <method>implSelect</method>
+
+ @throws css::lang::IndexOutOfBoundsException
+ @throws css::uno::RuntimeException
*/
void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void SAL_CALL clearAccessibleSelection( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void SAL_CALL selectAllAccessibleChildren( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
};
diff --git a/include/comphelper/accessibletexthelper.hxx b/include/comphelper/accessibletexthelper.hxx
index 368e468..d01f5a7 100644
--- a/include/comphelper/accessibletexthelper.hxx
+++ b/include/comphelper/accessibletexthelper.hxx
@@ -63,16 +63,35 @@ namespace comphelper
virtual void implGetLineBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nIndex );
/** non-virtual versions of the methods
+
+ @throws css::lang::IndexOutOfBoundsException
+ @throws css::uno::RuntimeException
*/
sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
sal_Int32 SAL_CALL getCharacterCount() throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
OUString SAL_CALL getSelectedText() throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
sal_Int32 SAL_CALL getSelectionStart() throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
sal_Int32 SAL_CALL getSelectionEnd() throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
OUString SAL_CALL getText() throw (css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::uno::RuntimeException
css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::uno::RuntimeException
css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::uno::RuntimeException
css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException);
public:
diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx
index d2f769f..2cfae97 100644
--- a/include/comphelper/accessiblewrapper.hxx
+++ b/include/comphelper/accessiblewrapper.hxx
@@ -199,8 +199,12 @@ namespace comphelper
DECLARE_XTYPEPROVIDER( )
// XAccessibleContext
+ /// @throws css::uno::RuntimeException
sal_Int32 baseGetAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::accessibility::XAccessible > baseGetAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception);
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::accessibility::XAccessibleRelationSet > baseGetAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception);
// XAccessibleEventListener
@@ -220,6 +224,8 @@ namespace comphelper
<p>The mutex of the BroadcastHelper passed to the instance's ctor is <em>not</em> locked when calling
into this method</p>
+
+ @throws css::uno::RuntimeException
*/
virtual void notifyTranslatedEvent( const css::accessibility::AccessibleEventObject& _rEvent ) throw (css::uno::RuntimeException) = 0;
diff --git a/include/comphelper/containermultiplexer.hxx b/include/comphelper/containermultiplexer.hxx
index 8b3b545..946ff69 100644
--- a/include/comphelper/containermultiplexer.hxx
+++ b/include/comphelper/containermultiplexer.hxx
@@ -50,15 +50,19 @@ namespace comphelper
OContainerListener(::osl::Mutex& _rMutex);
virtual ~OContainerListener();
+ /// @throws css::uno::RuntimeException
virtual void _elementInserted( const css::container::ContainerEvent& _rEvent )
throw (css::uno::RuntimeException,
std::exception);
+ /// @throws css::uno::RuntimeException
virtual void _elementRemoved( const css::container::ContainerEvent& _rEvent )
throw (css::uno::RuntimeException,
std::exception);
+ /// @throws css::uno::RuntimeException
virtual void _elementReplaced( const css::container::ContainerEvent& _rEvent )
throw (css::uno::RuntimeException,
std::exception);
+ /// @throws css::uno::RuntimeException
virtual void _disposing(const css::lang::EventObject& _rSource)
throw (css::uno::RuntimeException,
std::exception);
diff --git a/include/comphelper/eventattachermgr.hxx b/include/comphelper/eventattachermgr.hxx
index 77b26a8..ec5071e 100644
--- a/include/comphelper/eventattachermgr.hxx
+++ b/include/comphelper/eventattachermgr.hxx
@@ -40,6 +40,7 @@ namespace beans {
namespace comphelper
{
+/// @throws css::uno::Exception
COMPHELPER_DLLPUBLIC css::uno::Reference< css::script::XEventAttacherManager >
createEventAttacherManager(
const css::uno::Reference< css::uno::XComponentContext > & rxContext )
diff --git a/include/comphelper/extract.hxx b/include/comphelper/extract.hxx
index 36597f8..272c818 100644
--- a/include/comphelper/extract.hxx
+++ b/include/comphelper/extract.hxx
@@ -70,6 +70,7 @@ inline bool enum2int( sal_Int32 & rnEnum, const css::uno::Any & rAny )
* @param rAny enum or int
* @param eRet the enum value as int. If there is not enum of the given type or
* a css::lang::IllegalArgumentException is thrown
+ * @throws css::lang::IllegalArgumentException
*/
template< typename E >
inline void any2enum( E & eRet, const css::uno::Any & rAny )
@@ -92,6 +93,7 @@ inline void any2enum( E & eRet, const css::uno::Any & rAny )
* an any. If there is no bool or integer inside the any
* a css::lang::IllegalArgumentException is thrown
*
+ * @throws css::lang::IllegalArgumentException
*/
inline bool any2bool( const css::uno::Any & rAny )
throw( css::lang::IllegalArgumentException )
diff --git a/include/comphelper/ofopxmlhelper.hxx b/include/comphelper/ofopxmlhelper.hxx
index 3f03a39..d582681 100644
--- a/include/comphelper/ofopxmlhelper.hxx
+++ b/include/comphelper/ofopxmlhelper.hxx
@@ -36,6 +36,7 @@ namespace OFOPXMLHelper {
// returns sequence of elements, where each element is described by sequence of tags,
// where each tag is described by StringPair ( First - name, Second - value )
// the first tag of each element sequence must be "Id"
+ /// @throws css::uno::Exception
COMPHELPER_DLLPUBLIC
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > >
ReadRelationsInfoSequence(
@@ -49,6 +50,7 @@ namespace OFOPXMLHelper {
// by StringPair object ( First - Extension, Second - ContentType )
// the second sequence describes "Override" elements, where each element is described
// by StringPair object ( First - PartName, Second - ContentType )
+ /// @throws css::uno::Exception
COMPHELPER_DLLPUBLIC
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > >
ReadContentTypeSequence(
@@ -59,6 +61,7 @@ namespace OFOPXMLHelper {
// writes sequence of elements, where each element is described by sequence of tags,
// where each tag is described by StringPair ( First - name, Second - value )
// the first tag of each element sequence must be "Id"
+ /// @throws css::uno::Exception
COMPHELPER_DLLPUBLIC
void WriteRelationsInfoSequence(
const css::uno::Reference< css::io::XOutputStream >& xOutStream,
@@ -71,6 +74,7 @@ namespace OFOPXMLHelper {
// by StringPair object ( First - Extension, Second - ContentType )
// the second sequence describes "Override" elements, where each element is described
// by StringPair object ( First - PartName, Second - ContentType )
+ /// @throws css::uno::Exception
COMPHELPER_DLLPUBLIC
void WriteContentSequence(
const css::uno::Reference< css::io::XOutputStream >& xOutStream,
diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx
index 102f2c5..c28a586 100644
--- a/include/comphelper/propagg.hxx
+++ b/include/comphelper/propagg.hxx
@@ -312,6 +312,8 @@ protected:
virtual void forwardedPropertyValue( sal_Int32 _nHandle );
/// must be called before aggregation, if aggregation is used
+ ///
+ /// @throws css::lang::IllegalArgumentException
void setAggregation(const css::uno::Reference< css::uno::XInterface >&) throw( css::lang::IllegalArgumentException );
void startListening();
};
diff --git a/include/comphelper/propertycontainer.hxx b/include/comphelper/propertycontainer.hxx
index 45b9363..3e31eff 100644
--- a/include/comphelper/propertycontainer.hxx
+++ b/include/comphelper/propertycontainer.hxx
@@ -49,6 +49,8 @@ protected:
OPropertyContainer(::cppu::OBroadcastHelper& _rBHelper);
/// for scripting : the types of the interfaces supported by this class
+ ///
+ /// @throws css::uno::RuntimeException
static css::uno::Sequence< css::uno::Type > getBaseTypes() throw (css::uno::RuntimeException, std::exception);
// OPropertySetHelper overridables
diff --git a/include/comphelper/propertysethelper.hxx b/include/comphelper/propertysethelper.hxx
index 87a2c24..7cdf5ff 100644
--- a/include/comphelper/propertysethelper.hxx
+++ b/include/comphelper/propertysethelper.hxx
@@ -40,11 +40,26 @@ private:
std::unique_ptr<PropertySetHelperImpl> mpImpl;
protected:
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const css::uno::Any* pValues ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, css::uno::Any* pValue ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) = 0;
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::uno::RuntimeException
virtual void _getPropertyStates( const comphelper::PropertyMapEntry** ppEntries, css::beans::PropertyState* pStates ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException );
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::uno::RuntimeException
virtual void _setPropertyToDefault( const comphelper::PropertyMapEntry* pEntry ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException );
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
virtual css::uno::Any _getPropertyDefault( const comphelper::PropertyMapEntry* pEntry ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException );
public:
diff --git a/include/comphelper/propmultiplex.hxx b/include/comphelper/propmultiplex.hxx
index a65ce86..628a809 100644
--- a/include/comphelper/propmultiplex.hxx
+++ b/include/comphelper/propmultiplex.hxx
@@ -50,8 +50,10 @@ namespace comphelper
: m_pAdapter(nullptr), m_rMutex(_rMutex) { }
virtual ~OPropertyChangeListener();
+ /// @throws css::uno::RuntimeException
virtual void _propertyChanged(const css::beans::PropertyChangeEvent& _rEvent)
throw (css::uno::RuntimeException, std::exception) = 0;
+ /// @throws css::uno::RuntimeException
virtual void _disposing(const css::lang::EventObject& _rSource)
throw( css::uno::RuntimeException, std::exception);
diff --git a/include/comphelper/proxyaggregation.hxx b/include/comphelper/proxyaggregation.hxx
index 2af3737..03ce2d9 100644
--- a/include/comphelper/proxyaggregation.hxx
+++ b/include/comphelper/proxyaggregation.hxx
@@ -105,7 +105,9 @@ namespace comphelper
);
// XInterface and XTypeProvider
+ /// @throws css::uno::RuntimeException
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& _rType ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw (css::uno::RuntimeException);
private:
@@ -166,6 +168,7 @@ namespace comphelper
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
// XComponent
+ /// @throws css::uno::RuntimeException
virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) = 0;
private:
diff --git a/include/comphelper/storagehelper.hxx b/include/comphelper/storagehelper.hxx
index 6748198..fb58cf6 100644
--- a/include/comphelper/storagehelper.hxx
+++ b/include/comphelper/storagehelper.hxx
@@ -66,18 +66,21 @@ public:
class COMPHELPER_DLLPUBLIC OStorageHelper
{
public:
+ /// @throws css::uno::Exception
static css::uno::Reference< css::lang::XSingleServiceFactory >
GetStorageFactory(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
= css::uno::Reference< css::uno::XComponentContext >() )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::lang::XSingleServiceFactory >
GetFileSystemStorageFactory(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
= css::uno::Reference< css::uno::XComponentContext >() )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetTemporaryStorage(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
@@ -85,6 +88,8 @@ public:
throw ( css::uno::Exception );
/// this one will only return Storage
+ ///
+ /// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageFromURL(
const OUString& aURL,
@@ -94,6 +99,8 @@ public:
throw ( css::uno::Exception );
/// this one will return either Storage or FileSystemStorage
+ ///
+ /// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageFromURL2(
const OUString& aURL,
@@ -103,6 +110,7 @@ public:
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageFromInputStream(
const css::uno::Reference < css::io::XInputStream >& xStream,
@@ -110,6 +118,7 @@ public:
= css::uno::Reference< css::uno::XComponentContext >() )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageFromStream(
const css::uno::Reference < css::io::XStream >& xStream,
@@ -118,27 +127,32 @@ public:
= css::uno::Reference< css::uno::XComponentContext >() )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static void CopyInputToOutput(
const css::uno::Reference< css::io::XInputStream >& xInput,
const css::uno::Reference< css::io::XOutputStream >& xOutput )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::io::XInputStream >
GetInputStreamFromURL(
const OUString& aURL,
const css::uno::Reference< css::uno::XComponentContext >& context )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static void SetCommonStorageEncryptionData(
const css::uno::Reference< css::embed::XStorage >& xStorage,
const css::uno::Sequence< css::beans::NamedValue >& aEncryptionData )
throw ( css::uno::Exception );
// the following method supports only storages of OOo formats
+ /// @throws css::uno::Exception
static sal_Int32 GetXStorageFormat(
const css::uno::Reference< css::embed::XStorage >& xStorage )
throw ( css::uno::Exception, std::exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageOfFormatFromURL(
const OUString& aFormat,
@@ -148,6 +162,7 @@ public:
= css::uno::Reference< css::uno::XComponentContext >() )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageOfFormatFromInputStream(
const OUString& aFormat,
@@ -158,6 +173,7 @@ public:
bool bUseBufferedStream = false )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageOfFormatFromStream(
const OUString& aFormat,
diff --git a/include/comphelper/types.hxx b/include/comphelper/types.hxx
index a194374..16ced87 100644
--- a/include/comphelper/types.hxx
+++ b/include/comphelper/types.hxx
@@ -90,6 +90,7 @@ namespace comphelper
COMPHELPER_DLLPUBLIC OUString getString(const css::uno::Any& _rAny);
COMPHELPER_DLLPUBLIC bool getBOOL(const css::uno::Any& _rAny);
+ /// @throws css::lang::IllegalArgumentException
COMPHELPER_DLLPUBLIC sal_Int32 getEnumAsINT32(const css::uno::Any& _rAny) throw(css::lang::IllegalArgumentException);
} // namespace comphelper
commit 5b2b75ac26961d3cef093ca546a5316be6f2d782
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 17:59:45 2017 +0100
New loplugin:dynexcspec: Add @throws documentation, connectivity
Change-Id: Id8711eaeac65efaa228b60d5786169016bfb61a3
diff --git a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
index 3d89a55..f3192a1 100644
--- a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
@@ -873,6 +873,7 @@ void SAL_CALL ODatabaseMetaDataResultSet::initialize( const Sequence< Any >& _aA
namespace connectivity
{
+ /// @throws Exception
Reference< XInterface > SAL_CALL ODatabaseMetaDataResultSet_CreateInstance(const Reference< XComponentContext >& ) throw( Exception )
{
return *(new ODatabaseMetaDataResultSet());
diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx
index c4aa511..e598adb 100644
--- a/connectivity/source/cpool/ZConnectionPool.hxx
+++ b/connectivity/source/cpool/ZConnectionPool.hxx
@@ -137,6 +137,8 @@ namespace connectivity
// delete all refs
void clear(bool _bDispose);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnectionWithInfo( const OUString& url, const css::uno::Sequence< css::beans::PropertyValue >& info ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
// XEventListener
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/connectivity/source/cpool/ZPoolCollection.hxx b/connectivity/source/cpool/ZPoolCollection.hxx
index 316fb7a..1f64980 100644
--- a/connectivity/source/cpool/ZPoolCollection.hxx
+++ b/connectivity/source/cpool/ZPoolCollection.hxx
@@ -125,7 +125,9 @@ namespace connectivity
// XServiceInfo - static methods
static css::uno::Reference< css::uno::XInterface > SAL_CALL CreateInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >&);
+ /// @throws css::uno::RuntimeException
static OUString SAL_CALL getImplementationName_Static( ) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException);
// XEventListener
diff --git a/connectivity/source/drivers/evoab2/NConnection.hxx b/connectivity/source/drivers/evoab2/NConnection.hxx
index ecc7b76..bc1a396 100644
--- a/connectivity/source/drivers/evoab2/NConnection.hxx
+++ b/connectivity/source/drivers/evoab2/NConnection.hxx
@@ -65,6 +65,7 @@ namespace connectivity
public:
explicit OEvoabConnection( OEvoabDriver& _rDriver );
+ /// @throws css::sdbc::SQLException
virtual void construct(const OUString& _rUrl,const css::uno::Sequence< css::beans::PropertyValue >& _rInfo ) throw( css::sdbc::SQLException);
inline OString const & getPassword() { return m_aPassword; }
diff --git a/connectivity/source/drivers/evoab2/NDriver.hxx b/connectivity/source/drivers/evoab2/NDriver.hxx
index e0dc13d..952b9a0 100644
--- a/connectivity/source/drivers/evoab2/NDriver.hxx
+++ b/connectivity/source/drivers/evoab2/NDriver.hxx
@@ -33,7 +33,7 @@ namespace connectivity
{
namespace evoab
{
-
+ /// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface > SAL_CALL OEvoabDriver_CreateInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& _rxFactory) throw( css::uno::Exception );
@@ -57,7 +57,9 @@ namespace connectivity
virtual void SAL_CALL disposing() override;
// XInterface
+ /// @throws css::uno::RuntimeException
static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
static css::uno::Sequence< OUString > getSupportedServiceNames_Static( ) throw (css::uno::RuntimeException);
// XServiceInfo
diff --git a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
index 7cae149..eca3a00 100644
--- a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
+++ b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
@@ -43,6 +43,7 @@ namespace connectivity
virtual ~OEvoabResultSetMetaData() override;
public:
explicit OEvoabResultSetMetaData(const OUString& _aTableName);
+ /// @throws css::sdbc::SQLException
void setEvoabFields(const ::rtl::Reference<connectivity::OSQLColumns> &xColumns) throw(css::sdbc::SQLException);
inline sal_uInt32 fieldAtColumn(sal_Int32 columnIndex) const
{ return m_aEvoabFields[columnIndex - 1]; }
diff --git a/connectivity/source/drivers/firebird/Blob.hxx b/connectivity/source/drivers/firebird/Blob.hxx
index 89daeac..c8fd8c7 100644
--- a/connectivity/source/drivers/firebird/Blob.hxx
+++ b/connectivity/source/drivers/firebird/Blob.hxx
@@ -45,11 +45,14 @@ namespace connectivity
ISC_STATUS_ARRAY m_statusVector;
+ /// @throws css::sdbc::SQLException
void ensureBlobIsOpened()
throw(css::sdbc::SQLException);
/**
* Closes the blob and cleans up resources -- can be used to reset
* the blob if we e.g. want to read from the beginning again.
+ *
+ * @throws css::sdbc::SQLException
*/
void closeBlob()
throw(css::sdbc::SQLException);
diff --git a/connectivity/source/drivers/firebird/Connection.hxx b/connectivity/source/drivers/firebird/Connection.hxx
index 420f0d7..9e8d917 100644
--- a/connectivity/source/drivers/firebird/Connection.hxx
+++ b/connectivity/source/drivers/firebird/Connection.hxx
@@ -156,6 +156,7 @@ namespace connectivity
/** Statements owned by this connection. */
OWeakRefArray m_aStatements;
+ /// @throws css::sdbc::SQLException
void buildTypeInfo()
throw (css::sdbc::SQLException);
@@ -163,6 +164,8 @@ namespace connectivity
* Creates a new transaction with the desired parameters, if
* necessary discarding an existing transaction. This has to be done
* anytime we change the transaction isolation, or autocommiting.
+ *
+ * @throws css::sdbc::SQLException
*/
void setupTransaction()
throw(css::sdbc::SQLException);
@@ -180,6 +183,8 @@ namespace connectivity
explicit Connection(FirebirdDriver* _pDriver);
virtual ~Connection() override;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void construct( const ::rtl::OUString& url,
const css::uno::Sequence< css::beans::PropertyValue >& info)
throw(css::sdbc::SQLException,
@@ -189,6 +194,7 @@ namespace connectivity
const OUString& getConnectionURL() const {return m_sConnectionURL;}
bool isEmbedded() const {return m_bIsEmbedded;}
isc_db_handle& getDBHandle() {return m_aDBHandle;}
+ /// @throws css::sdbc::SQLException
isc_tr_handle& getTransaction()
throw(css::sdbc::SQLException);
@@ -206,11 +212,16 @@ namespace connectivity
* Create a new Blob tied to this connection. Blobs are tied to a
* transaction and not to a statement, hence the connection should
* deal with their management.
+ *
+ * @throws css::sdbc::SQLException
+ * @throws css::uno::RuntimeException
*/
css::uno::Reference< css::sdbc::XBlob>
createBlob(ISC_QUAD* pBlobID)
throw(css::sdbc::SQLException,
css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::sdbc::XClob>
createClob(ISC_QUAD* pBlobID)
throw(css::sdbc::SQLException,
diff --git a/connectivity/source/drivers/firebird/Driver.hxx b/connectivity/source/drivers/firebird/Driver.hxx
index ac017d7..a48b13e11 100644
--- a/connectivity/source/drivers/firebird/Driver.hxx
+++ b/connectivity/source/drivers/firebird/Driver.hxx
@@ -38,6 +38,7 @@ namespace connectivity
// 3: Is IB6 -- minimum required for delimited identifiers.
static const int FIREBIRD_SQL_DIALECT = 3;
+ /// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface > SAL_CALL FirebirdDriver_CreateInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& _rxFactory) throw( css::uno::Exception, std::exception );
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XDriver,
@@ -66,7 +67,9 @@ namespace connectivity
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XInterface
+ /// @throws css::uno::RuntimeException
static ::rtl::OUString getImplementationName_Static( ) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
static css::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static( ) throw (css::uno::RuntimeException);
// XServiceInfo
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.hxx b/connectivity/source/drivers/firebird/PreparedStatement.hxx
index 21f1d3b..0062110 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.hxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.hxx
@@ -53,6 +53,8 @@ namespace connectivity
XSQLDA* m_pOutSqlda;
XSQLDA* m_pInSqlda;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void checkParameterIndex(sal_Int32 nParameterIndex)
throw(css::sdbc::SQLException,
css::uno::RuntimeException);
@@ -60,12 +62,17 @@ namespace connectivity
/**
* Set a numeric value in the input SQLDA. If the destination
* parameter is not of nType then an Exception will be thrown.
+ *
+ * @throws css::sdbc::SQLException
+ * @throws css::uno::RuntimeException
*/
template <typename T> void setValue(sal_Int32 nIndex, T& nValue, ISC_SHORT nType)
throw(css::sdbc::SQLException,
css::uno::RuntimeException);
void setParameterNull(sal_Int32 nParameterIndex, bool bSetNull = true);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void ensurePrepared()
throw(css::sdbc::SQLException,
css::uno::RuntimeException);
diff --git a/connectivity/source/drivers/firebird/ResultSet.hxx b/connectivity/source/drivers/firebird/ResultSet.hxx
index 834e25e..7d2a7c4 100644
--- a/connectivity/source/drivers/firebird/ResultSet.hxx
+++ b/connectivity/source/drivers/firebird/ResultSet.hxx
@@ -113,9 +113,13 @@ namespace connectivity
virtual ::cppu::IPropertyArrayHelper* createArrayHelper() const override;
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void SAL_CALL checkColumnIndex( sal_Int32 index )
throw (css::sdbc::SQLException,
css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void SAL_CALL checkRowIndex()
throw (css::sdbc::SQLException,
css::uno::RuntimeException);
diff --git a/connectivity/source/drivers/firebird/ResultSetMetaData.hxx b/connectivity/source/drivers/firebird/ResultSetMetaData.hxx
index 17539bd..a183e97 100644
--- a/connectivity/source/drivers/firebird/ResultSetMetaData.hxx
+++ b/connectivity/source/drivers/firebird/ResultSetMetaData.hxx
@@ -43,6 +43,7 @@ namespace connectivity
virtual ~OResultSetMetaData() override;
+ /// @throws css::sdbc::SQLException
void verifyValidColumn(sal_Int32 column) throw(css::sdbc::SQLException);
public:
// a constructor, which is required for returning objects:
diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.hxx b/connectivity/source/drivers/firebird/StatementCommonBase.hxx
index ea5006f..11d9c3d 100644
--- a/connectivity/source/drivers/firebird/StatementCommonBase.hxx
+++ b/connectivity/source/drivers/firebird/StatementCommonBase.hxx
@@ -65,6 +65,7 @@ namespace connectivity
protected:
virtual void disposeResultSet();
+ /// @throws css::sdbc::SQLException
void freeStatementHandle()
throw (css::sdbc::SQLException);
@@ -87,15 +88,19 @@ namespace connectivity
sal_Int32 nHandle) const override;
virtual ~OStatementCommonBase() override;
+ /// @throws css::sdbc::SQLException
void prepareAndDescribeStatement(const OUString& sqlIn,
XSQLDA*& pOutSqlda,
XSQLDA* pInSqlda=nullptr)
throw (css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
short getSqlInfoItem(char aInfoItem)
throw (css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
bool isDDLStatement()
throw (css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
sal_Int32 getStatementChangeCount()
throw (css::sdbc::SQLException);
diff --git a/connectivity/source/drivers/firebird/SubComponent.hxx b/connectivity/source/drivers/firebird/SubComponent.hxx
index 609c07a..9a6739e 100644
--- a/connectivity/source/drivers/firebird/SubComponent.hxx
+++ b/connectivity/source/drivers/firebird/SubComponent.hxx
@@ -55,6 +55,7 @@ namespace connectivity
css::uno::Reference< css::uno::XInterface >& _xInterface,
css::lang::XComponent* _pObject);
+ /// @throws css::lang::DisposedException
void checkDisposed(bool _bThrow) throw ( css::lang::DisposedException );
diff --git a/connectivity/source/drivers/firebird/Util.hxx b/connectivity/source/drivers/firebird/Util.hxx
index 04d96d4..c66ecd7 100644
--- a/connectivity/source/drivers/firebird/Util.hxx
+++ b/connectivity/source/drivers/firebird/Util.hxx
@@ -55,6 +55,8 @@ namespace connectivity
/**
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list