[Libreoffice-commits] core.git: accessibility/source basctl/source basegfx/source basic/source binaryurp/source bridges/source canvas/source chart2/source codemaker/source compilerplugins/clang configmgr/source connectivity/source cppuhelper/source cppu/source cui/source dbaccess/source desktop/source drawinglayer/source editeng/source embeddedobj/source embedserv/source emfio/source extensions/source filter/source forms/source formula/source hwpfilter/source i18npool/source idlc/source include/sal jvmfwk/plugins libreofficekit/source lotuswordpro/source oox/source package/source registry/tools reportdesign/source sal/osl sal/rtl sax/source sc/source sd/source sfx2/source slideshow/source starmath/source store/source svgio/source svl/source svtools/source svx/source sw/source toolkit/source tools/source ucbhelper/source ucb/source unoidl/source unotools/source vcl/headless vcl/osx vcl/qt5 vcl/quartz vcl/source vcl/unx vcl/win winaccessibility/source writerfilter/source xmloff/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Dec 8 12:28:47 UTC 2018
accessibility/source/standard/vclxaccessibletoolbox.cxx | 2
basctl/source/basicide/basides1.cxx | 2
basctl/source/basicide/bastype3.cxx | 2
basegfx/source/polygon/b2dlinegeometry.cxx | 2
basegfx/source/polygon/b2dsvgpolypolygon.cxx | 16 +-
basic/source/comp/loops.cxx | 4
basic/source/sbx/sbxbool.cxx | 2
basic/source/sbx/sbxbyte.cxx | 2
basic/source/sbx/sbxchar.cxx | 2
basic/source/sbx/sbxdate.cxx | 2
basic/source/sbx/sbxdbl.cxx | 2
basic/source/sbx/sbxdec.cxx | 2
basic/source/sbx/sbxint.cxx | 6
basic/source/sbx/sbxlng.cxx | 2
basic/source/sbx/sbxsng.cxx | 2
basic/source/sbx/sbxstr.cxx | 2
basic/source/sbx/sbxuint.cxx | 2
basic/source/sbx/sbxulng.cxx | 2
binaryurp/source/incomingrequest.cxx | 2
binaryurp/source/marshal.cxx | 2
bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx | 2
bridges/source/cpp_uno/gcc3_ios/uno2cpp.cxx | 4
bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx | 2
bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx | 4
bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx | 2
bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx | 2
bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx | 2
bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx | 2
bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx | 2
bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx | 2
bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx | 2
bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx | 2
bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx | 2
bridges/source/jni_uno/jni_data.cxx | 2
canvas/source/cairo/cairo_canvashelper.cxx | 2
canvas/source/cairo/cairo_canvashelper_text.cxx | 2
canvas/source/vcl/canvashelper.cxx | 2
chart2/source/controller/dialogs/res_ErrorBar.cxx | 2
codemaker/source/codemaker/typemanager.cxx | 2
codemaker/source/cppumaker/dependencies.cxx | 2
codemaker/source/cppumaker/includes.cxx | 2
codemaker/source/javamaker/javatype.cxx | 2
compilerplugins/clang/test/dodgyswitch.cxx | 2
configmgr/source/access.cxx | 2
configmgr/source/components.cxx | 4
configmgr/source/configurationregistry.cxx | 2
configmgr/source/type.cxx | 2
configmgr/source/valueparser.cxx | 4
configmgr/source/xcdparser.cxx | 2
configmgr/source/xcsparser.cxx | 4
configmgr/source/xcuparser.cxx | 2
connectivity/source/commontools/CommonTools.cxx | 2
connectivity/source/commontools/FValue.cxx | 4
connectivity/source/commontools/dbtools.cxx | 4
connectivity/source/commontools/filtermanager.cxx | 4
connectivity/source/drivers/dbase/DTable.cxx | 4
connectivity/source/drivers/file/FDatabaseMetaData.cxx | 2
connectivity/source/drivers/flat/ETable.cxx | 2
connectivity/source/drivers/postgresql/pq_tools.cxx | 2
connectivity/source/parse/sqlnode.cxx | 2
cppu/source/typelib/typelib.cxx | 2
cppuhelper/source/servicemanager.cxx | 6
cppuhelper/source/typemanager.cxx | 2
cui/source/dialogs/cuifmsearch.cxx | 2
cui/source/dialogs/cuigrfflt.cxx | 2
cui/source/tabpages/connect.cxx | 4
cui/source/tabpages/numfmt.cxx | 2
cui/source/tabpages/paragrph.cxx | 4
cui/source/tabpages/textattr.cxx | 2
cui/source/tabpages/tpline.cxx | 2
dbaccess/source/core/api/FilteredContainer.cxx | 2
dbaccess/source/core/api/RowSet.cxx | 2
dbaccess/source/core/api/SingleSelectQueryComposer.cxx | 2
dbaccess/source/core/api/TableDeco.cxx | 4
dbaccess/source/core/recovery/subcomponentrecovery.cxx | 2
dbaccess/source/ui/app/AppController.cxx | 12 -
dbaccess/source/ui/app/AppControllerDnD.cxx | 2
dbaccess/source/ui/browser/brwctrlr.cxx | 8 -
dbaccess/source/ui/browser/dataview.cxx | 2
dbaccess/source/ui/browser/unodatbr.cxx | 10 -
dbaccess/source/ui/control/FieldDescControl.cxx | 2
dbaccess/source/ui/control/dbtreelistbox.cxx | 2
dbaccess/source/ui/dlg/sqlmessage.cxx | 2
dbaccess/source/ui/misc/HtmlReader.cxx | 2
dbaccess/source/ui/misc/UITools.cxx | 16 +-
dbaccess/source/ui/misc/WCopyTable.cxx | 14 -
dbaccess/source/ui/misc/linkeddocuments.cxx | 2
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 2
dbaccess/source/ui/querydesign/limitboxcontroller.cxx | 2
dbaccess/source/ui/querydesign/querycontroller.cxx | 2
dbaccess/source/ui/tabledesign/TableDesignControl.cxx | 2
dbaccess/source/ui/uno/copytablewizard.cxx | 4
desktop/source/app/userinstall.cxx | 2
drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx | 4
drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx | 4
drawinglayer/source/processor2d/vclprocessor2d.cxx | 4
editeng/source/editeng/eehtml.cxx | 4
editeng/source/items/frmitems.cxx | 8 -
editeng/source/items/numitem.cxx | 4
editeng/source/items/textitem.cxx | 2
editeng/source/rtf/rtfitem.cxx | 10 -
editeng/source/rtf/svxrtf.cxx | 6
editeng/source/uno/unotext.cxx | 2
embeddedobj/source/msole/oleembed.cxx | 4
embedserv/source/embed/ed_ioleobject.cxx | 2
embedserv/source/embed/tracker.cxx | 2
emfio/source/reader/emfreader.cxx | 12 -
extensions/source/abpilot/abspilot.cxx | 2
extensions/source/bibliography/datman.cxx | 2
extensions/source/propctrlr/eformshelper.cxx | 2
extensions/source/propctrlr/eformspropertyhandler.cxx | 2
extensions/source/propctrlr/formcomponenthandler.cxx | 6
extensions/source/propctrlr/formgeometryhandler.cxx | 2
extensions/source/propctrlr/handlerhelper.cxx | 2
filter/source/flash/swfwriter1.cxx | 4
filter/source/graphicfilter/idxf/dxfentrd.cxx | 2
filter/source/graphicfilter/ios2met/ios2met.cxx | 72 +++++-----
filter/source/graphicfilter/ipbm/ipbm.cxx | 6
filter/source/graphicfilter/ipsd/ipsd.cxx | 6
filter/source/msfilter/escherex.cxx | 2
filter/source/msfilter/svdfppt.cxx | 12 -
filter/source/msfilter/util.cxx | 2
filter/source/pdf/pdfexport.cxx | 2
filter/source/svg/svgexport.cxx | 2
forms/source/component/Filter.cxx | 4
forms/source/component/FormattedField.cxx | 2
forms/source/runtime/formoperations.cxx | 2
forms/source/xforms/model.cxx | 2
formula/source/core/api/FormulaCompiler.cxx | 4
hwpfilter/source/hcode.cxx | 2
hwpfilter/source/hwpreader.cxx | 4
hwpfilter/source/lexer.cxx | 6
i18npool/source/calendar/calendar_gregorian.cxx | 4
i18npool/source/characterclassification/cclass_unicode_parser.cxx | 6
i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 4
i18npool/source/indexentry/indexentrysupplier_default.cxx | 2
i18npool/source/localedata/LocaleNode.cxx | 4
i18npool/source/localedata/localedata.cxx | 2
i18npool/source/nativenumber/nativenumbersupplier.cxx | 2
i18npool/source/search/textsearch.cxx | 4
idlc/source/astdump.cxx | 2
idlc/source/options.cxx | 2
include/sal/types.h | 4
jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 6
libreofficekit/source/gtk/lokdocview.cxx | 2
lotuswordpro/source/filter/lwpobjstrm.cxx | 2
oox/source/drawingml/color.cxx | 4
oox/source/drawingml/customshapegeometry.cxx | 38 ++---
oox/source/export/drawingml.cxx | 2
oox/source/vml/vmlformatting.cxx | 2
package/source/zipapi/Deflater.cxx | 2
package/source/zipapi/Inflater.cxx | 2
registry/tools/options.cxx | 2
reportdesign/source/ui/dlg/GroupsSorting.cxx | 2
reportdesign/source/ui/inspection/GeometryHandler.cxx | 8 -
reportdesign/source/ui/report/ViewsWindow.cxx | 2
reportdesign/source/ui/report/dlgedfunc.cxx | 2
sal/osl/unx/security.cxx | 2
sal/osl/unx/socket.cxx | 2
sal/osl/w32/file_url.cxx | 4
sal/osl/w32/socket.cxx | 2
sal/rtl/cipher.cxx | 28 +--
sal/rtl/digest.cxx | 12 -
sal/rtl/uri.cxx | 4
sax/source/fastparser/fastparser.cxx | 2
sax/source/tools/converter.cxx | 4
sc/source/core/data/attrib.cxx | 2
sc/source/core/data/conditio.cxx | 2
sc/source/core/tool/address.cxx | 4
sc/source/core/tool/compiler.cxx | 8 -
sc/source/core/tool/interpr1.cxx | 16 +-
sc/source/core/tool/interpr6.cxx | 2
sc/source/core/tool/scmatrix.cxx | 2
sc/source/core/tool/token.cxx | 10 -
sc/source/filter/dif/difimp.cxx | 2
sc/source/filter/excel/excform.cxx | 10 -
sc/source/filter/excel/read.cxx | 2
sc/source/filter/excel/xeformula.cxx | 2
sc/source/filter/excel/xestyle.cxx | 8 -
sc/source/filter/excel/xetable.cxx | 2
sc/source/filter/excel/xiescher.cxx | 2
sc/source/filter/excel/xihelper.cxx | 4
sc/source/filter/html/htmlexp.cxx | 2
sc/source/filter/html/htmlpars.cxx | 2
sc/source/filter/oox/formulabuffer.cxx | 2
sc/source/filter/oox/worksheetfragment.cxx | 2
sc/source/filter/xml/xmlcondformat.cxx | 2
sc/source/ui/dbgui/validate.cxx | 2
sc/source/ui/docshell/docfunc.cxx | 8 -
sc/source/ui/docshell/docsh.cxx | 4
sc/source/ui/drawfunc/fuins2.cxx | 2
sc/source/ui/undo/undoblk.cxx | 4
sc/source/ui/unoobj/tokenuno.cxx | 2
sc/source/ui/vba/vbacondition.cxx | 2
sc/source/ui/vba/vbarange.cxx | 2
sc/source/ui/view/cellsh3.cxx | 2
sc/source/ui/view/formatsh.cxx | 2
sc/source/ui/view/output2.cxx | 2
sc/source/ui/view/viewfun6.cxx | 4
sd/source/core/CustomAnimationCloner.cxx | 2
sd/source/core/CustomAnimationEffect.cxx | 4
sd/source/core/drawdoc4.cxx | 2
sd/source/core/sdpage.cxx | 2
sd/source/core/stlsheet.cxx | 2
sd/source/filter/eppt/eppt.cxx | 4
sd/source/filter/eppt/epptso.cxx | 10 -
sd/source/filter/eppt/pptexanimations.cxx | 2
sd/source/filter/eppt/pptx-epptbase.cxx | 60 ++++----
sd/source/filter/eppt/pptx-epptooxml.cxx | 2
sd/source/filter/eppt/pptx-text.cxx | 2
sd/source/filter/ppt/pptin.cxx | 8 -
sd/source/filter/ppt/pptinanimations.cxx | 6
sd/source/ui/animations/CustomAnimationDialog.cxx | 2
sd/source/ui/animations/CustomAnimationPane.cxx | 2
sd/source/ui/dlg/tpaction.cxx | 2
sd/source/ui/func/fuconrec.cxx | 2
sd/source/ui/func/fuinsert.cxx | 2
sd/source/ui/func/fusnapln.cxx | 2
sd/source/ui/slideshow/slideshowimpl.cxx | 4
sd/source/ui/unoidl/unoobj.cxx | 4
sd/source/ui/view/drviews2.cxx | 2
sd/source/ui/view/drviewse.cxx | 2
sd/source/ui/view/viewshel.cxx | 2
sfx2/source/bastyp/sfxhtml.cxx | 4
sfx2/source/control/thumbnailview.cxx | 2
sfx2/source/dialog/templdlg.cxx | 2
sfx2/source/dialog/titledockwin.cxx | 2
sfx2/source/doc/objserv.cxx | 2
sfx2/source/view/viewfrm.cxx | 2
sfx2/source/view/viewprn.cxx | 2
slideshow/source/engine/activities/activitiesfactory.cxx | 4
slideshow/source/engine/animationnodes/basenode.cxx | 4
slideshow/source/engine/animationnodes/generateevent.cxx | 2
slideshow/source/engine/shapes/drawshapesubsetting.cxx | 12 -
slideshow/source/engine/shapes/gdimtftools.cxx | 2
slideshow/source/engine/slide/targetpropertiescreator.cxx | 2
starmath/source/mathtype.cxx | 4
starmath/source/parse.cxx | 2
starmath/source/view.cxx | 2
starmath/source/wordexportbase.cxx | 2
store/source/lockbyte.cxx | 4
svgio/source/svgreader/svgstyleattributes.cxx | 4
svl/source/numbers/zforfind.cxx | 2
svl/source/numbers/zforlist.cxx | 2
svl/source/numbers/zformat.cxx | 6
svl/source/numbers/zforscan.cxx | 8 -
svl/source/svdde/ddecli.cxx | 2
svtools/source/brwbox/brwbox2.cxx | 6
svtools/source/brwbox/ebbcontrols.cxx | 8 -
svtools/source/brwbox/editbrowsebox.cxx | 2
svtools/source/contnr/fileview.cxx | 2
svtools/source/control/valueset.cxx | 12 -
svtools/source/svhtml/parhtml.cxx | 20 +-
svtools/source/svrtf/parrtf.cxx | 2
svtools/source/table/tablecontrol_impl.cxx | 2
svx/source/customshapes/EnhancedCustomShape2d.cxx | 6
svx/source/dialog/rubydialog.cxx | 4
svx/source/dialog/svxruler.cxx | 2
svx/source/fmcomp/gridctrl.cxx | 4
svx/source/form/fmshell.cxx | 4
svx/source/form/fmsrcimp.cxx | 2
svx/source/form/fmvwimp.cxx | 2
svx/source/form/formcontrolfactory.cxx | 2
svx/source/items/numfmtsh.cxx | 2
svx/source/items/rotmodit.cxx | 2
svx/source/svdraw/svdhdl.cxx | 2
svx/source/svdraw/svdobj.cxx | 2
svx/source/svdraw/svdopath.cxx | 2
svx/source/toolbars/extrusionbar.cxx | 22 +--
svx/source/toolbars/fontworkbar.cxx | 8 -
svx/source/unodraw/UnoGraphicExporter.cxx | 2
svx/source/xoutdev/xattr2.cxx | 4
sw/source/core/access/accnotextframe.cxx | 2
sw/source/core/access/acctextframe.cxx | 2
sw/source/core/attr/calbck.cxx | 2
sw/source/core/attr/cellatr.cxx | 2
sw/source/core/attr/hints.cxx | 4
sw/source/core/bastyp/calc.cxx | 2
sw/source/core/crsr/crstrvl.cxx | 2
sw/source/core/doc/DocumentFieldsManager.cxx | 6
sw/source/core/doc/DocumentLayoutManager.cxx | 2
sw/source/core/doc/DocumentRedlineManager.cxx | 2
sw/source/core/doc/doccomp.cxx | 2
sw/source/core/doc/docfld.cxx | 4
sw/source/core/doc/docfly.cxx | 6
sw/source/core/doc/doclay.cxx | 2
sw/source/core/doc/docruby.cxx | 2
sw/source/core/doc/doctxm.cxx | 4
sw/source/core/doc/notxtfrm.cxx | 2
sw/source/core/doc/tblrwcl.cxx | 2
sw/source/core/docnode/nodes.cxx | 2
sw/source/core/docnode/section.cxx | 2
sw/source/core/draw/dcontact.cxx | 2
sw/source/core/edit/autofmt.cxx | 2
sw/source/core/fields/reffld.cxx | 4
sw/source/core/frmedt/fefly1.cxx | 2
sw/source/core/frmedt/feshview.cxx | 2
sw/source/core/frmedt/fews.cxx | 14 -
sw/source/core/layout/dbg_lay.cxx | 10 -
sw/source/core/layout/fly.cxx | 2
sw/source/core/layout/pagechg.cxx | 2
sw/source/core/layout/tabfrm.cxx | 2
sw/source/core/layout/wsfrm.cxx | 8 -
sw/source/core/objectpositioning/anchoredobjectposition.cxx | 2
sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx | 2
sw/source/core/text/inftxt.cxx | 2
sw/source/core/text/itrform2.cxx | 2
sw/source/core/text/itrtxt.cxx | 2
sw/source/core/text/porfld.cxx | 10 -
sw/source/core/text/pormulti.cxx | 4
sw/source/core/text/txtfrm.cxx | 8 -
sw/source/core/txtnode/atrfld.cxx | 2
sw/source/core/txtnode/ndtxt.cxx | 2
sw/source/core/txtnode/txtedt.cxx | 2
sw/source/core/undo/unattr.cxx | 4
sw/source/core/undo/undobj1.cxx | 4
sw/source/core/undo/untbl.cxx | 4
sw/source/filter/html/css1atr.cxx | 8 -
sw/source/filter/html/htmlform.cxx | 34 ++--
sw/source/filter/html/htmlgrin.cxx | 20 +-
sw/source/filter/html/htmltab.cxx | 20 +-
sw/source/filter/html/htmltabw.cxx | 2
sw/source/filter/html/parcss1.cxx | 6
sw/source/filter/html/swhtml.cxx | 10 -
sw/source/filter/ww8/wrtw8esh.cxx | 2
sw/source/filter/ww8/wrtw8nds.cxx | 2
sw/source/filter/ww8/ww8atr.cxx | 10 -
sw/source/filter/ww8/ww8par2.cxx | 2
sw/source/filter/ww8/ww8par5.cxx | 2
sw/source/filter/ww8/ww8par6.cxx | 6
sw/source/filter/ww8/ww8scan.cxx | 12 -
sw/source/filter/xml/xmltbli.cxx | 2
sw/source/filter/xml/xmltexte.cxx | 2
sw/source/ui/dialog/macassgn.cxx | 6
sw/source/ui/dialog/uiregionsw.cxx | 12 -
sw/source/ui/fldui/flddb.cxx | 2
sw/source/ui/fldui/flddok.cxx | 2
sw/source/ui/fldui/fldref.cxx | 4
sw/source/ui/frmdlg/column.cxx | 2
sw/source/uibase/app/docsh.cxx | 4
sw/source/uibase/app/docshini.cxx | 2
sw/source/uibase/app/docst.cxx | 2
sw/source/uibase/app/docstyle.cxx | 2
sw/source/uibase/dbui/dbmgr.cxx | 2
sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx | 2
sw/source/uibase/dochdl/swdtflvr.cxx | 2
sw/source/uibase/docvw/edtwin.cxx | 18 +-
sw/source/uibase/docvw/edtwin2.cxx | 2
sw/source/uibase/fldui/fldmgr.cxx | 2
sw/source/uibase/ribbar/conrect.cxx | 2
sw/source/uibase/shells/basesh.cxx | 8 -
sw/source/uibase/shells/drawsh.cxx | 2
sw/source/uibase/shells/drwbassh.cxx | 4
sw/source/uibase/shells/tabsh.cxx | 4
sw/source/uibase/shells/textsh1.cxx | 4
sw/source/uibase/uiview/pview.cxx | 2
sw/source/uibase/uiview/srcview.cxx | 2
sw/source/uibase/uiview/view.cxx | 2
sw/source/uibase/uiview/view2.cxx | 2
sw/source/uibase/uno/unotxvw.cxx | 2
sw/source/uibase/utlui/content.cxx | 4
sw/source/uibase/wrtsh/wrtsh1.cxx | 2
toolkit/source/awt/vclxwindow.cxx | 2
toolkit/source/awt/vclxwindows.cxx | 2
tools/source/fsys/urlobj.cxx | 6
tools/source/fsys/wldcrd.cxx | 2
ucb/source/core/ucbcmds.cxx | 6
ucb/source/inc/regexpmap.hxx | 4
ucb/source/ucp/webdav-neon/NeonSession.cxx | 4
ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2
ucb/source/ucp/webdav/webdavcontent.cxx | 2
ucb/source/ucp/webdav/webdavresponseparser.cxx | 2
ucbhelper/source/client/proxydecider.cxx | 2
unoidl/source/legacyprovider.cxx | 2
unoidl/source/sourceprovider-parser.y | 24 +--
unotools/source/config/bootstrap.cxx | 4
unotools/source/config/securityoptions.cxx | 2
vcl/headless/svpbmp.cxx | 2
vcl/osx/a11yfocustracker.cxx | 2
vcl/qt5/Qt5Font.cxx | 4
vcl/qt5/Qt5Graphics_Controls.cxx | 4
vcl/quartz/ctfonts.cxx | 2
vcl/source/control/edit.cxx | 4
vcl/source/edit/textview.cxx | 16 +-
vcl/source/filter/graphicfilter2.cxx | 2
vcl/source/fontsubset/cff.cxx | 2
vcl/source/fontsubset/xlat.cxx | 2
vcl/source/gdi/dibtools.cxx | 2
vcl/source/gdi/pdfwriter_impl.cxx | 4
vcl/source/gdi/pngread.cxx | 4
vcl/source/outdev/nativecontrols.cxx | 2
vcl/source/window/decoview.cxx | 2
vcl/source/window/layout.cxx | 2
vcl/source/window/winproc.cxx | 2
vcl/unx/generic/gdi/salbmp.cxx | 2
vcl/unx/generic/window/salframe.cxx | 2
vcl/unx/gtk/a11y/atkutil.cxx | 2
vcl/unx/kde4/KDESalGraphics.cxx | 4
vcl/win/window/salframe.cxx | 2
winaccessibility/source/UAccCOM/MAccessible.cxx | 2
winaccessibility/source/service/AccContainerEventListener.cxx | 2
writerfilter/source/dmapper/DomainMapper.cxx | 6
writerfilter/source/dmapper/StyleSheetTable.cxx | 2
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 2
writerfilter/source/rtftok/rtfdispatchflag.cxx | 2
writerfilter/source/rtftok/rtfdispatchvalue.cxx | 12 -
writerfilter/source/rtftok/rtfsdrimport.cxx | 2
writerfilter/source/rtftok/rtfsprm.cxx | 4
xmloff/source/chart/SchXMLTableContext.cxx | 4
xmloff/source/core/nmspmap.cxx | 2
xmloff/source/draw/animationexport.cxx | 2
xmloff/source/draw/animationimport.cxx | 2
xmloff/source/draw/eventimp.cxx | 4
xmloff/source/forms/elementexport.cxx | 12 -
xmloff/source/forms/propertyimport.cxx | 2
xmloff/source/forms/valueproperties.cxx | 2
xmloff/source/style/numehelp.cxx | 8 -
xmloff/source/style/xmlnumfe.cxx | 2
xmloff/source/text/XMLTextListBlockContext.cxx | 2
xmloff/source/text/XMLTextListItemContext.cxx | 2
xmloff/source/text/XMLTextMarkImportContext.cxx | 4
xmloff/source/text/txtexppr.cxx | 2
xmloff/source/text/txtflde.cxx | 2
xmloff/source/text/txtimp.cxx | 2
xmloff/source/text/txtimppr.cxx | 4
xmloff/source/transform/StyleOASISTContext.cxx | 2
xmloff/source/transform/TransformerBase.cxx | 14 -
427 files changed, 891 insertions(+), 895 deletions(-)
New commits:
commit ab9b67bbb001f380b3973941443bfbc59fe7141c
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Sat Dec 8 09:46:01 2018 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Dec 8 13:28:16 2018 +0100
Remove obsolete SAL_FALLTHROUGH completely
...after 7ffdd830d5fb52f2ca25aa80277d22ea6d89970b
"HAVE_CPP_ATTRIBUTE_FALLTHROUGH is always true now"
Change-Id: I54e5ff4e036a6bb3e5774d1c0524158aae18e937
Reviewed-on: https://gerrit.libreoffice.org/64800
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/accessibility/source/standard/vclxaccessibletoolbox.cxx b/accessibility/source/standard/vclxaccessibletoolbox.cxx
index e1fc533d1201..9d3e9a2bbce8 100644
--- a/accessibility/source/standard/vclxaccessibletoolbox.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolbox.cxx
@@ -629,7 +629,7 @@ void VCLXAccessibleToolBox::ProcessWindowEvent( const VclWindowEvent& rVclWindow
}
m_aAccessibleChildren.clear();
- SAL_FALLTHROUGH; // call base class
+ [[fallthrough]]; // call base class
}
default:
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 2bb3aacd395a..d6611bc764ef 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -1071,7 +1071,7 @@ void Shell::GetState(SfxItemSet &rSet)
}
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SID_BASICIDE_NEWMODULE:
case SID_BASICIDE_NEWDIALOG:
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx
index 6d3a70cff637..359f6b3a7f5c 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -333,7 +333,7 @@ SbxVariable* SbTreeListBox::FindVariable(weld::TreeIter* pEntry)
break;
case OBJ_TYPE_DOCUMENT_OBJECTS:
bDocumentObjects = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case OBJ_TYPE_USERFORMS:
case OBJ_TYPE_NORMAL_MODULES:
case OBJ_TYPE_CLASS_MODULES:
diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx
index 78f569970df3..1567d5b34ecb 100644
--- a/basegfx/source/polygon/b2dlinegeometry.cxx
+++ b/basegfx/source/polygon/b2dlinegeometry.cxx
@@ -812,7 +812,7 @@ namespace basegfx
}
else
{
- SAL_FALLTHROUGH; // wanted fall-through to default
+ [[fallthrough]]; // wanted fall-through to default
}
}
default: // B2DLineJoin::Bevel
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
index 7906704e76e3..2936c9f54ac2 100644
--- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
@@ -141,7 +141,7 @@ namespace basegfx
o_rPolyPolygon.append(aCurrPoly);
aCurrPoly.clear();
}
- SAL_FALLTHROUGH; // to add coordinate data as 1st point of new polygon
+ [[fallthrough]]; // to add coordinate data as 1st point of new polygon
}
case 'l' :
case 'L' :
@@ -181,7 +181,7 @@ namespace basegfx
case 'h' :
{
bRelative = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case 'H' :
{
@@ -211,7 +211,7 @@ namespace basegfx
case 'v' :
{
bRelative = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case 'V' :
{
@@ -241,7 +241,7 @@ namespace basegfx
case 's' :
{
bRelative = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case 'S' :
{
@@ -300,7 +300,7 @@ namespace basegfx
case 'c' :
{
bRelative = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case 'C' :
{
@@ -350,7 +350,7 @@ namespace basegfx
case 'q' :
{
bRelative = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case 'Q' :
{
@@ -401,7 +401,7 @@ namespace basegfx
case 't' :
{
bRelative = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case 'T' :
{
@@ -475,7 +475,7 @@ namespace basegfx
case 'a' :
{
bRelative = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case 'A' :
{
diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx
index ec20b76e71a7..40ac10bad9fc 100644
--- a/basic/source/comp/loops.cxx
+++ b/basic/source/comp/loops.cxx
@@ -547,7 +547,7 @@ void SbiParser::Resume()
aGen.Gen( SbiOpcode::RESUME_, 0 );
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SYMBOL:
if( MayBeLabel() )
{
@@ -556,7 +556,7 @@ void SbiParser::Resume()
Next();
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
Error( ERRCODE_BASIC_LABEL_EXPECTED );
}
diff --git a/basic/source/sbx/sbxbool.cxx b/basic/source/sbx/sbxbool.cxx
index 720c63378384..a8b4df040673 100644
--- a/basic/source/sbx/sbxbool.cxx
+++ b/basic/source/sbx/sbxbool.cxx
@@ -30,7 +30,7 @@ enum SbxBOOL ImpGetBool( const SbxValues* p )
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = SbxFALSE; break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxbyte.cxx b/basic/source/sbx/sbxbyte.cxx
index df85f5f7f1e0..b518782d4c1f 100644
--- a/basic/source/sbx/sbxbyte.cxx
+++ b/basic/source/sbx/sbxbyte.cxx
@@ -33,7 +33,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxchar.cxx b/basic/source/sbx/sbxchar.cxx
index d5f34e63d297..aba2d47cb48f 100644
--- a/basic/source/sbx/sbxchar.cxx
+++ b/basic/source/sbx/sbxchar.cxx
@@ -33,7 +33,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxdate.cxx b/basic/source/sbx/sbxdate.cxx
index 1880ba40df78..9d9a56d2d359 100644
--- a/basic/source/sbx/sbxdate.cxx
+++ b/basic/source/sbx/sbxdate.cxx
@@ -42,7 +42,7 @@ double ImpGetDate( const SbxValues* p )
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0;
break;
diff --git a/basic/source/sbx/sbxdbl.cxx b/basic/source/sbx/sbxdbl.cxx
index 9ea70832a8e0..823693c3a149 100644
--- a/basic/source/sbx/sbxdbl.cxx
+++ b/basic/source/sbx/sbxdbl.cxx
@@ -31,7 +31,7 @@ double ImpGetDouble( const SbxValues* p )
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index c71b031df2be..b1f9b0dd00c0 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -413,7 +413,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
pnDecRes->setShort( 0 ); break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxint.cxx b/basic/source/sbx/sbxint.cxx
index 7f16ef7e0013..40bc75f82d5c 100644
--- a/basic/source/sbx/sbxint.cxx
+++ b/basic/source/sbx/sbxint.cxx
@@ -33,7 +33,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
@@ -389,7 +389,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
@@ -649,7 +649,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxlng.cxx b/basic/source/sbx/sbxlng.cxx
index e9398a47553e..cc832e8ed054 100644
--- a/basic/source/sbx/sbxlng.cxx
+++ b/basic/source/sbx/sbxlng.cxx
@@ -33,7 +33,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxsng.cxx b/basic/source/sbx/sbxsng.cxx
index f687c930e32a..b204d25827c4 100644
--- a/basic/source/sbx/sbxsng.cxx
+++ b/basic/source/sbx/sbxsng.cxx
@@ -31,7 +31,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxstr.cxx b/basic/source/sbx/sbxstr.cxx
index 96ea1fc40507..196faaea558c 100644
--- a/basic/source/sbx/sbxstr.cxx
+++ b/basic/source/sbx/sbxstr.cxx
@@ -40,7 +40,7 @@ OUString ImpGetString( const SbxValues* p )
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxuint.cxx b/basic/source/sbx/sbxuint.cxx
index c69931d8368b..59c421715a99 100644
--- a/basic/source/sbx/sbxuint.cxx
+++ b/basic/source/sbx/sbxuint.cxx
@@ -31,7 +31,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
diff --git a/basic/source/sbx/sbxulng.cxx b/basic/source/sbx/sbxulng.cxx
index 3e182842515e..b78f0407af51 100644
--- a/basic/source/sbx/sbxulng.cxx
+++ b/basic/source/sbx/sbxulng.cxx
@@ -31,7 +31,7 @@ start:
{
case SbxNULL:
SbxBase::SetError( ERRCODE_BASIC_CONVERSION );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SbxEMPTY:
nRes = 0; break;
case SbxCHAR:
diff --git a/binaryurp/source/incomingrequest.cxx b/binaryurp/source/incomingrequest.cxx
index c54493d6e32a..63ecf649d0ba 100644
--- a/binaryurp/source/incomingrequest.cxx
+++ b/binaryurp/source/incomingrequest.cxx
@@ -169,7 +169,7 @@ bool IncomingRequest::execute_throw(
}
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
{
assert(object_.is());
diff --git a/binaryurp/source/marshal.cxx b/binaryurp/source/marshal.cxx
index 009cd06968e7..7003759e3d14 100644
--- a/binaryurp/source/marshal.cxx
+++ b/binaryurp/source/marshal.cxx
@@ -194,7 +194,7 @@ void Marshal::writeValue(
break;
case typelib_TypeClass_BOOLEAN:
assert(*static_cast< sal_uInt8 const * >(value) <= 1);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case typelib_TypeClass_BYTE:
write8(buffer, *static_cast< sal_uInt8 const * >(value));
break;
diff --git a/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx
index 40b7d918a9b2..cc1528f53d89 100644
--- a/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios/cpp2uno.cxx
@@ -394,7 +394,7 @@ namespace
TYPELIB_DANGER_RELEASE( pTD );
}
} // else perform queryInterface()
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
eRet = cpp2uno_call(
pCppI, aMemberDescr.get(),
diff --git a/bridges/source/cpp_uno/gcc3_ios/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_ios/uno2cpp.cxx
index 916961c69caf..30ae398816c7 100644
--- a/bridges/source/cpp_uno/gcc3_ios/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios/uno2cpp.cxx
@@ -84,7 +84,7 @@ void MapReturn(sal_uInt64 x0, sal_uInt64 x1, typelib_TypeDescriptionReference *p
case typelib_TypeClass_HYPER:
case typelib_TypeClass_UNSIGNED_HYPER:
pRegisterReturn[1] = x1;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case typelib_TypeClass_LONG:
case typelib_TypeClass_UNSIGNED_LONG:
case typelib_TypeClass_ENUM:
@@ -542,7 +542,7 @@ void unoInterfaceProxyDispatch(
TYPELIB_DANGER_RELEASE( pTD );
}
} // else perform queryInterface()
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
// dependent dispatch
cpp_call(
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
index b695cabcf4df..4ef17b8542e1 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
@@ -402,7 +402,7 @@ namespace
}
TYPELIB_DANGER_RELEASE( pTD );
}
- } SAL_FALLTHROUGH; // else perform queryInterface()
+ } [[fallthrough]]; // else perform queryInterface()
default:
eRet = cpp2uno_call(
pCppI, aMemberDescr.get(),
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
index 852252969b37..97dbd9976fa1 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
@@ -172,7 +172,7 @@ void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference *
case typelib_TypeClass_HYPER:
case typelib_TypeClass_UNSIGNED_HYPER:
pRegisterReturn[1] = r1;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case typelib_TypeClass_LONG:
case typelib_TypeClass_UNSIGNED_LONG:
case typelib_TypeClass_ENUM:
@@ -714,7 +714,7 @@ void unoInterfaceProxyDispatch(
}
TYPELIB_DANGER_RELEASE( pTD );
}
- } SAL_FALLTHROUGH; // else perform queryInterface()
+ } [[fallthrough]]; // else perform queryInterface()
default:
// dependent dispatch
cpp_call(
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx
index 288aeea1e0ce..b0b160b24bf2 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx
@@ -107,7 +107,7 @@ void CPPU_CURRENT_NAMESPACE::callVirtualMethod(
case typelib_TypeClass_HYPER:
case typelib_TypeClass_UNSIGNED_HYPER:
static_cast<long*>(pRegisterReturn)[1] = edx;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case typelib_TypeClass_LONG:
case typelib_TypeClass_UNSIGNED_LONG:
case typelib_TypeClass_CHAR:
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
index 5fb2c013959c..70c6091ec207 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
@@ -323,7 +323,7 @@ extern "C" void cpp_vtable_call(
}
TYPELIB_DANGER_RELEASE( pTD );
}
- SAL_FALLTHROUGH; // else perform queryInterface()
+ [[fallthrough]]; // else perform queryInterface()
}
default:
cpp2uno_call(
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
index 1061a00c76c0..c61a77baf07e 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
@@ -361,7 +361,7 @@ void unoInterfaceProxyDispatch(
}
TYPELIB_DANGER_RELEASE( pTD );
}
- SAL_FALLTHROUGH; // else perform queryInterface()
+ [[fallthrough]]; // else perform queryInterface()
}
default:
// dependent dispatch
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index 1f47f4c9b2dc..29212988f78d 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -363,7 +363,7 @@ typelib_TypeClass cpp_vtable_call(
}
TYPELIB_DANGER_RELEASE( pTD );
}
- SAL_FALLTHROUGH; // else perform queryInterface()
+ [[fallthrough]]; // else perform queryInterface()
}
default:
{
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
index a56f9f255d26..7ccf487ee9bd 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
@@ -406,7 +406,7 @@ void unoInterfaceProxyDispatch(
}
TYPELIB_DANGER_RELEASE( pTD );
}
- SAL_FALLTHROUGH; // else perform queryInterface()
+ [[fallthrough]]; // else perform queryInterface()
}
default:
// dependent dispatch
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
index 8f453e4aeb53..e371b15ce90e 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
@@ -364,7 +364,7 @@ typelib_TypeClass cpp_vtable_call(
}
TYPELIB_DANGER_RELEASE( pTD );
}
- SAL_FALLTHROUGH; // else perform queryInterface()
+ [[fallthrough]]; // else perform queryInterface()
}
default:
{
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
index 13002709436d..75cf8861c332 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
@@ -411,7 +411,7 @@ void unoInterfaceProxyDispatch(
}
TYPELIB_DANGER_RELEASE( pTD );
}
- SAL_FALLTHROUGH; // else perform queryInterface()
+ [[fallthrough]]; // else perform queryInterface()
}
default:
// dependent dispatch
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
index 3abbfaf9b7dd..cf266de14873 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
@@ -347,7 +347,7 @@ extern "C" typelib_TypeClass cpp_vtable_call(
}
TYPELIB_DANGER_RELEASE( pTD2 );
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
default:
{
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
index 524228ad3bc4..4415d525b0db 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
@@ -423,7 +423,7 @@ void unoInterfaceProxyDispatch(
}
TYPELIB_DANGER_RELEASE( pTD );
}
- SAL_FALLTHROUGH; // else perform queryInterface()
+ [[fallthrough]]; // else perform queryInterface()
}
default:
if ( ! cpp_call(
diff --git a/bridges/source/jni_uno/jni_data.cxx b/bridges/source/jni_uno/jni_data.cxx
index bb26749cadaf..feb9674563c5 100644
--- a/bridges/source/jni_uno/jni_data.cxx
+++ b/bridges/source/jni_uno/jni_data.cxx
@@ -1738,7 +1738,7 @@ void Bridge::map_to_java(
jni.ensure_no_exception();
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
default:
{
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index dcd752cf6a52..5a442dfc8997 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -945,7 +945,7 @@ namespace cairocanvas
{
case rendering::PathJoinType::NONE:
bNoLineJoin = true;
- SAL_FALLTHROUGH; // cairo doesn't have join type NONE so we use MITER as it's pretty close
+ [[fallthrough]]; // cairo doesn't have join type NONE so we use MITER as it's pretty close
case rendering::PathJoinType::MITER:
cairo_set_line_join( mpCairo.get(), CAIRO_LINE_JOIN_MITER );
break;
diff --git a/canvas/source/cairo/cairo_canvashelper_text.cxx b/canvas/source/cairo/cairo_canvashelper_text.cxx
index 11d429a8801a..d0704e877677 100644
--- a/canvas/source/cairo/cairo_canvashelper_text.cxx
+++ b/canvas/source/cairo/cairo_canvashelper_text.cxx
@@ -255,7 +255,7 @@ namespace cairocanvas
case rendering::TextDirection::WEAK_RIGHT_TO_LEFT:
nLayoutMode |= ComplexTextLayoutFlags::BiDiRtl;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case rendering::TextDirection::STRONG_RIGHT_TO_LEFT:
nLayoutMode |= ComplexTextLayoutFlags::BiDiRtl | ComplexTextLayoutFlags::BiDiStrong;
nLayoutMode |= ComplexTextLayoutFlags::TextOriginRight;
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx
index e913dfa667bf..a03ad7e1c6d3 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -586,7 +586,7 @@ namespace vclcanvas
case rendering::TextDirection::WEAK_RIGHT_TO_LEFT:
nLayoutMode |= ComplexTextLayoutFlags::BiDiRtl;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case rendering::TextDirection::STRONG_RIGHT_TO_LEFT:
nLayoutMode |= ComplexTextLayoutFlags::BiDiRtl | ComplexTextLayoutFlags::BiDiStrong;
nLayoutMode |= ComplexTextLayoutFlags::TextOriginRight;
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx
index c1ea174c43d3..5d3296953370 100644
--- a/chart2/source/controller/dialogs/res_ErrorBar.cxx
+++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx
@@ -551,7 +551,7 @@ void ErrorBarResources::Reset(const SfxItemSet& rInAttrs)
case SvxChartIndicate::NONE :
// no longer used, use both as default
m_eIndicate = SvxChartIndicate::Both;
- SAL_FALLTHROUGH; // to BOTH
+ [[fallthrough]]; // to BOTH
case SvxChartIndicate::Both :
m_xRbBoth->set_active(true); break;
case SvxChartIndicate::Up :
diff --git a/codemaker/source/codemaker/typemanager.cxx b/codemaker/source/codemaker/typemanager.cxx
index 2b54a4092772..cf638f0ca4eb 100644
--- a/codemaker/source/codemaker/typemanager.cxx
+++ b/codemaker/source/codemaker/typemanager.cxx
@@ -185,7 +185,7 @@ codemaker::UnoType::Sort TypeManager::decompose(
}
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case codemaker::UnoType::Sort::Void:
case codemaker::UnoType::Sort::Boolean:
case codemaker::UnoType::Sort::Byte:
diff --git a/codemaker/source/cppumaker/dependencies.cxx b/codemaker/source/cppumaker/dependencies.cxx
index d32ac98396a0..71855e2a9e47 100644
--- a/codemaker/source/cppumaker/dependencies.cxx
+++ b/codemaker/source/cppumaker/dependencies.cxx
@@ -268,7 +268,7 @@ void Dependencies::insert(OUString const & name, Kind kind) {
{
insert(b2u(arg), KIND_NORMAL);
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case UnoType::Sort::Sequence:
case UnoType::Sort::Enum:
case UnoType::Sort::PlainStruct:
diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx
index 53ca16afcd4d..732f5065c191 100644
--- a/codemaker/source/cppumaker/includes.cxx
+++ b/codemaker/source/cppumaker/includes.cxx
@@ -104,7 +104,7 @@ void Includes::add(OString const & entityName) {
{
add(arg);
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case codemaker::UnoType::Sort::Sequence:
case codemaker::UnoType::Sort::Enum:
case codemaker::UnoType::Sort::PlainStruct:
diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx
index 4cd5b50050b0..3130389e916b 100644
--- a/codemaker/source/javamaker/javatype.cxx
+++ b/codemaker/source/javamaker/javatype.cxx
@@ -233,7 +233,7 @@ SpecialType translateUnoTypeToDescriptor(
}
return SPECIAL_TYPE_INTERFACE;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case codemaker::UnoType::Sort::Sequence:
case codemaker::UnoType::Sort::Enum:
case codemaker::UnoType::Sort::PlainStruct:
diff --git a/compilerplugins/clang/test/dodgyswitch.cxx b/compilerplugins/clang/test/dodgyswitch.cxx
index 3a61ed388c2b..826971d27811 100644
--- a/compilerplugins/clang/test/dodgyswitch.cxx
+++ b/compilerplugins/clang/test/dodgyswitch.cxx
@@ -16,7 +16,7 @@ int main() {
{
case 1: { break; }
case 2: {
- SAL_FALLTHROUGH;
+ [[fallthrough]];
{
case 3: // expected-error {{case statement not directly under switch [loplugin:dodgyswitch]}}
break;
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index 26c8e7e5c516..7bbd1b05e287 100644
--- a/configmgr/source/access.cxx
+++ b/configmgr/source/access.cxx
@@ -665,7 +665,7 @@ void Access::setName(OUString const & aName)
}
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case Node::KIND_LOCALIZED_PROPERTY:
// renaming a property could only work for an extension property,
// but a localized property is never an extension property
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index af666ba2b719..e584a3c98589 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -681,7 +681,7 @@ void Components::parseFiles(
if (!recursive) {
return;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
throw css::uno::RuntimeException(
"cannot open directory " + url);
@@ -846,7 +846,7 @@ void Components::parseXcsXcuIniLayer(
case ':':
case '\\':
prefix.append('\\');
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
prefix.append(c);
}
diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx
index 628640c43974..b049299c1fea 100644
--- a/configmgr/source/configurationregistry.cxx
+++ b/configmgr/source/configurationregistry.cxx
@@ -407,7 +407,7 @@ css::registry::RegistryValueType RegistryKey::getValueType()
{
return css::registry::RegistryValueType_STRINGLIST;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
return css::registry::RegistryValueType_NOT_DEFINED;
}
diff --git a/configmgr/source/type.cxx b/configmgr/source/type.cxx
index f0d109d74fcc..ab84fcb9c3bb 100644
--- a/configmgr/source/type.cxx
+++ b/configmgr/source/type.cxx
@@ -155,7 +155,7 @@ Type getDynamicType(css::uno::Any const & value) {
return TYPE_HEXBINARY_LIST;
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
return TYPE_ERROR;
}
diff --git a/configmgr/source/valueparser.cxx b/configmgr/source/valueparser.cxx
index 10860628e491..4dda54c410e4 100644
--- a/configmgr/source/valueparser.cxx
+++ b/configmgr/source/valueparser.cxx
@@ -260,7 +260,7 @@ xmlreader::XmlReader::Text ValueParser::getTextMode() const {
if (!items_.empty()) {
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case State::IT:
return
(type_ == TYPE_STRING || type_ == TYPE_STRING_LIST ||
@@ -291,7 +291,7 @@ bool ValueParser::startElement(
state_ = State::IT;
return true;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case State::IT:
if (nsId == xmlreader::XmlReader::NAMESPACE_NONE &&
name.equals("unicode") &&
diff --git a/configmgr/source/xcdparser.cxx b/configmgr/source/xcdparser.cxx
index 553087a38c4a..c5e8a9b017db 100644
--- a/configmgr/source/xcdparser.cxx
+++ b/configmgr/source/xcdparser.cxx
@@ -116,7 +116,7 @@ bool XcdParser::startElement(
return true;
}
state_ = STATE_COMPONENTS;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case STATE_COMPONENTS:
if (nsId == ParseManager::NAMESPACE_OOR &&
name.equals("component-schema"))
diff --git a/configmgr/source/xcsparser.cxx b/configmgr/source/xcsparser.cxx
index 271d617e5019..411da6ca7915 100644
--- a/configmgr/source/xcsparser.cxx
+++ b/configmgr/source/xcsparser.cxx
@@ -158,7 +158,7 @@ bool XcsParser::startElement(
state_ = STATE_TEMPLATES;
return true;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case STATE_TEMPLATES_DONE:
if (nsId == xmlreader::XmlReader::NAMESPACE_NONE &&
name.equals("component"))
@@ -188,7 +188,7 @@ bool XcsParser::startElement(
}
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case STATE_COMPONENT:
assert(!elements_.empty());
switch (elements_.top().node->kind()) {
diff --git a/configmgr/source/xcuparser.cxx b/configmgr/source/xcuparser.cxx
index 7db53e3e77fb..8a165cb1be02 100644
--- a/configmgr/source/xcuparser.cxx
+++ b/configmgr/source/xcuparser.cxx
@@ -642,7 +642,7 @@ void XcuParser::handleUnknownGroupProp(
recordModification(false);
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
SAL_WARN(
"configmgr",
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index f4562c2d38ed..eb06c5551b67 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -77,7 +77,7 @@ namespace connectivity
break;
// WARNING/TODO: in certain circumstances it will run into
// the next 'case'!
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case CHAR_WILD:
while ( *pWild == CHAR_WILD )
pWild++;
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index b12170775213..a33fdbebea6f 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -1033,7 +1033,7 @@ bool ORowSetValue::getBool() const
break;
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::DECIMAL:
case DataType::NUMERIC:
@@ -1931,7 +1931,7 @@ css::util::Date ORowSetValue::getDate() const
case DataType::OBJECT:
default:
OSL_ENSURE( false, "ORowSetValue::getDate: cannot retrieve the data!" );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::BINARY:
case DataType::VARBINARY:
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index 757e4fa37fb1..b2788d134e0a 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -1489,7 +1489,7 @@ bool implUpdateObject(const Reference< XRowUpdate >& _rxUpdatedObject,
_rxUpdatedObject->updateBinaryStream(_nColumnIndex, *xStream, (*xStream)->available());
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
bSuccessfullyReRouted = false;
}
@@ -1594,7 +1594,7 @@ bool implSetObject( const Reference< XParameters >& _rxParameters,
_rxParameters->setBinaryStream(_nColumnIndex, xStream, xStream->available());
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
bSuccessfullyReRouted = false;
diff --git a/connectivity/source/commontools/filtermanager.cxx b/connectivity/source/commontools/filtermanager.cxx
index 9a2950f4d2d8..08489cf8024a 100644
--- a/connectivity/source/commontools/filtermanager.cxx
+++ b/connectivity/source/commontools/filtermanager.cxx
@@ -106,14 +106,14 @@ namespace dbtools
{
case FilterComponent::PublicFilter:
propagate = propagate && m_bApplyPublicFilter;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case FilterComponent::LinkFilter:
if (propagate)
m_xComponentAggregate->setPropertyValue( OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_FILTER), makeAny( getComposedFilter() ) );
break;
case FilterComponent::PublicHaving:
propagate = propagate && m_bApplyPublicFilter;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case FilterComponent::LinkHaving:
if (propagate)
m_xComponentAggregate->setPropertyValue( OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_HAVINGCLAUSE), makeAny( getComposedHaving() ) );
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 871545f55d9b..b24603d7b79d 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -1252,7 +1252,7 @@ bool ODbaseTable::CreateFile(const INetURLObject& aFile, bool& bCreateMemo)
break;
case DataType::LONGVARBINARY:
bBinary = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::LONGVARCHAR:
cTyp = 'M';
break;
@@ -1730,7 +1730,7 @@ bool ODbaseTable::UpdateBuffer(OValueRefVector& rRow, const OValueRefRow& pOrgRo
case DataType::DOUBLE:
case DataType::TIMESTAMP:
bSetZero = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::LONGVARBINARY:
case DataType::DATE:
case DataType::BIT:
diff --git a/connectivity/source/drivers/file/FDatabaseMetaData.cxx b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
index 1f44f23f1fe4..ac234f608016 100644
--- a/connectivity/source/drivers/file/FDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
@@ -241,7 +241,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
break;
case -1:
bKnowCaseSensivity = false;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case 0:
bCaseSensitiveDir = false;
}
diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx
index 49e9d99d2528..0a3d56216811 100644
--- a/connectivity/source/drivers/flat/ETable.cxx
+++ b/connectivity/source/drivers/flat/ETable.cxx
@@ -724,7 +724,7 @@ bool OFlatTable::seekRow(IResultSetHelper::Movement eCursorPosition, sal_Int32 n
{
case IResultSetHelper::FIRST:
m_nRowPos = 0;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case IResultSetHelper::NEXT:
{
assert(m_nRowPos >= 0);
diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx
index c88583f95a3b..39d4604e098b 100644
--- a/connectivity/source/drivers/postgresql/pq_tools.cxx
+++ b/connectivity/source/drivers/postgresql/pq_tools.cxx
@@ -1219,7 +1219,7 @@ bool implSetObject( const Reference< XParameters >& _rxParameters,
_rxParameters->setBinaryStream(_nColumnIndex, xStream, xStream->available());
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
default:
bSuccessfullyReRouted = false;
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 14b271a61ee7..f9acc655347f 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -2487,7 +2487,7 @@ void OSQLParseNode::parseLeaf(OUStringBuffer& rString, const SQLParseNodeParamet
rString.append(m_aNodeValue);
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
if (!rString.isEmpty() && m_aNodeValue.toChar() != '.' && m_aNodeValue.toChar() != ':' )
{
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index 90cd77e57ee3..53dd020c97c6 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -1285,7 +1285,7 @@ static void typelib_typedescription_destructExtendedMembers(
case typelib_TypeClass_STRUCT:
delete[] reinterpret_cast< typelib_StructTypeDescription * >(pTD)->
pParameterizedTypes;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case typelib_TypeClass_EXCEPTION:
{
typelib_CompoundTypeDescription * pCTD = reinterpret_cast<typelib_CompoundTypeDescription*>(pTD);
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index a9c06fa1bce9..d38e636d2fa9 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -188,7 +188,7 @@ Parser::Parser(
state = STATE_COMPONENTS;
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case STATE_COMPONENT_INITIAL:
if (res == xmlreader::XmlReader::Result::Begin && nsId == ucNsId
&& name.equals(RTL_CONSTASCII_STRINGPARAM("implementation")))
@@ -1341,7 +1341,7 @@ void cppuhelper::ServiceManager::readRdbDirectory(
SAL_INFO("cppuhelper", "Ignored optional " << uri);
return;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
throw css::uno::DeploymentException(
"Cannot open directory " + uri,
@@ -1403,7 +1403,7 @@ bool cppuhelper::ServiceManager::readLegacyRdbFile(OUString const & uri) {
}
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
return false;
}
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index 15702e624e59..a3153b7d6606 100644
--- a/cppuhelper/source/typemanager.cxx
+++ b/cppuhelper/source/typemanager.cxx
@@ -2035,7 +2035,7 @@ void cppuhelper::TypeManager::readRdbDirectory(
SAL_INFO("cppuhelper", "Ignored optional " << uri);
return;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
throw css::uno::DeploymentException(
"Cannot open directory " + uri,
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx
index 2f3c9af13d13..6882dde07c4a 100644
--- a/cui/source/dialogs/cuifmsearch.cxx
+++ b/cui/source/dialogs/cuifmsearch.cxx
@@ -728,7 +728,7 @@ IMPL_LINK(FmSearchDialog, OnSearchProgress, const FmSearchProgress*, pProgress,
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetFrameWeld(),
VclMessageType::Warning, VclButtonsType::Ok, CuiResId(pErrorId)));
xBox->run();
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case FmSearchProgress::State::Canceled:
EnableSearchUI(true);
diff --git a/cui/source/dialogs/cuigrfflt.cxx b/cui/source/dialogs/cuigrfflt.cxx
index 15e8dc084392..02e93b287074 100644
--- a/cui/source/dialogs/cuigrfflt.cxx
+++ b/cui/source/dialogs/cuigrfflt.cxx
@@ -435,7 +435,7 @@ Graphic GraphicFilterEmboss::GetFilteredGraphic( const Graphic& rGraphic, double
switch (maCtlLight.GetActualRP())
{
default: OSL_FAIL("svx::GraphicFilterEmboss::GetFilteredGraphic(), unknown Reference Point!" );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case RectPoint::LT: nAzim = 4500; nElev = 4500; break;
case RectPoint::MT: nAzim = 9000; nElev = 4500; break;
case RectPoint::RT: nAzim = 13500; nElev = 4500; break;
diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx
index 286e6ce0e3b1..98a46c8272f2 100644
--- a/cui/source/tabpages/connect.cxx
+++ b/cui/source/tabpages/connect.cxx
@@ -206,12 +206,12 @@ void SvxConnectionPage::Reset( const SfxItemSet* rAttrs )
m_xFtLine1->set_sensitive(false);
m_xMtrFldLine1->set_sensitive(false);
m_xMtrFldLine1->set_text("");
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case 1:
m_xFtLine2->set_sensitive(false);
m_xMtrFldLine2->set_sensitive(false);
m_xMtrFldLine2->set_text("");
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case 2:
m_xFtLine3->set_sensitive(false);
m_xMtrFldLine3->set_sensitive(false);
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 69b25330c98e..46b3279b3a18 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -916,7 +916,7 @@ void SvxNumberFormatTabPage::UpdateOptions_Impl( bool bCheckCatChange /*= sal_Fa
m_xBtnEngineering->set_sensitive(true);
m_xBtnEngineering->set_active( bThousand );
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case CAT_NUMBER:
case CAT_PERCENT:
case CAT_CURRENCY:
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index fde0bffd9804..b1f8c2895d62 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -2012,7 +2012,7 @@ IMPL_LINK_NOARG(SvxExtParagraphTabPage, WidowHdl_Impl, weld::ToggleButton&, void
case TRISTATE_FALSE:
if (m_xOrphanBox->get_state() == TRISTATE_FALSE)
m_xKeepTogetherBox->set_sensitive(true);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case TRISTATE_INDET:
m_xWidowRowNo->set_sensitive(false);
m_xWidowRowLabel->set_sensitive(false);
@@ -2033,7 +2033,7 @@ IMPL_LINK_NOARG(SvxExtParagraphTabPage, OrphanHdl_Impl, weld::ToggleButton&, voi
case TRISTATE_FALSE:
if (m_xWidowBox->get_state() == TRISTATE_FALSE)
m_xKeepTogetherBox->set_sensitive(true);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case TRISTATE_INDET:
m_xOrphanRowNo->set_sensitive(false);
m_xOrphanRowLabel->set_sensitive(false);
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx
index 0a6d3696ebc0..03bf5caf2b5c 100644
--- a/cui/source/tabpages/textattr.cxx
+++ b/cui/source/tabpages/textattr.cxx
@@ -364,7 +364,7 @@ bool SvxTextAttrPage::FillItemSet( SfxItemSet* rAttrs)
{
default: ; //prevent warning
OSL_FAIL( "svx::SvxTextAttrPage::FillItemSet(), unhandled state!" );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case TRISTATE_FALSE: eFTS = drawing::TextFitToSizeType_AUTOFIT; break;
case TRISTATE_TRUE: eFTS = drawing::TextFitToSizeType_PROPORTIONAL; break;
}
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index dad85068f793..c71f5de04910 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -132,7 +132,7 @@ SvxLineTabPage::SvxLineTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs
case FieldUnit::M:
case FieldUnit::KM:
eFUnit = FieldUnit::MM;
- SAL_FALLTHROUGH; // we now have mm
+ [[fallthrough]]; // we now have mm
case FieldUnit::MM:
m_xMtrLineWidth->set_increments(50, 500, FieldUnit::NONE);
m_xMtrStartWidth->set_increments(50, 500, FieldUnit::NONE);
diff --git a/dbaccess/source/core/api/FilteredContainer.cxx b/dbaccess/source/core/api/FilteredContainer.cxx
index b3b3f82d74ef..265193ee9e8a 100644
--- a/dbaccess/source/core/api/FilteredContainer.cxx
+++ b/dbaccess/source/core/api/FilteredContainer.cxx
@@ -434,7 +434,7 @@ static sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::
{
default:
SAL_WARN("dbaccess", "OTableContainer::getAllTableTypeFilter: unknown TableTypeFilterMode!" );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case FILTER_MODE_MIX_ALL:
_rFilter.realloc( 3 );
_rFilter[0] = sView;
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index a8d1a5721274..dd5bd93d5e80 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -286,7 +286,7 @@ void SAL_CALL ORowSet::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const
case PROPERTY_ID_FETCHDIRECTION:
if( m_nResultSetType == ResultSetType::FORWARD_ONLY)
throw Exception("resultsettype is FORWARD_ONLY", nullptr);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
OPropertyStateContainer::setFastPropertyValue_NoBroadcast(nHandle,rValue);
}
diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
index 06d453d645bb..67ec15d880e1 100644
--- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
+++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
@@ -1838,7 +1838,7 @@ OUString OSingleSelectQueryComposer::getKeyword( SQLPart _ePart )
{
default:
SAL_WARN("dbaccess", "OSingleSelectQueryComposer::getKeyWord: Invalid enum value!" );
- SAL_FALLTHROUGH; // fallback to WHERE
+ [[fallthrough]]; // fallback to WHERE
case Where:
sKeyword = STR_WHERE;
break;
diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx
index 69a8169c86ac..bb9bf49629ef 100644
--- a/dbaccess/source/core/api/TableDeco.cxx
+++ b/dbaccess/source/core/api/TableDeco.cxx
@@ -148,7 +148,7 @@ void ODBTableDecorator::setFastPropertyValue_NoBroadcast(sal_Int32 _nHandle, con
{
case PROPERTY_ID_PRIVILEGES:
SAL_WARN("dbaccess", "Property is readonly!");
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PROPERTY_ID_FILTER:
case PROPERTY_ID_ORDER:
case PROPERTY_ID_APPLYFILTER:
@@ -227,7 +227,7 @@ void ODBTableDecorator::getFastPropertyValue(Any& _rValue, sal_Int32 _nHandle) c
break;
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PROPERTY_ID_FILTER:
case PROPERTY_ID_ORDER:
diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
index fcfb56d3e5ef..da572744727a 100644
--- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx
+++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
@@ -434,7 +434,7 @@ namespace dbaccess
m_aCompDesc.bForEditing = true;
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case FORM:
m_aCompDesc.bForEditing = !lcl_determineReadOnly( m_xComponent );
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index 5c92afaa74d1..0f49fdd4cb9f 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -1177,14 +1177,14 @@ void OApplicationController::Execute(sal_uInt16 _nId, const Sequence< PropertyVa
case SID_DB_FORM_NEW_PILOT:
case SID_FORM_CREATE_REPWIZ_PRE_SEL:
bAutoPilot = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SID_APP_NEW_FORM:
eType = E_FORM;
break;
case ID_DOCUMENT_CREATE_REPWIZ:
case SID_REPORT_CREATE_REPWIZ_PRE_SEL:
bAutoPilot = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SID_APP_NEW_REPORT:
case SID_APP_NEW_REPORT_PRE_SEL:
eType = E_REPORT;
@@ -1195,13 +1195,13 @@ void OApplicationController::Execute(sal_uInt16 _nId, const Sequence< PropertyVa
break;
case ID_NEW_QUERY_DESIGN:
aCreationArgs.put( OUString(PROPERTY_GRAPHICAL_DESIGN), true );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ID_NEW_QUERY_SQL:
eType = E_QUERY;
break;
case ID_NEW_TABLE_DESIGN_AUTO_PILOT:
bAutoPilot = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ID_NEW_TABLE_DESIGN:
break;
default:
@@ -1776,7 +1776,7 @@ Reference< XComponent > OApplicationController::openElementWithArguments( const
// component, but standalone documents.
isStandaloneDocument = true;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case E_FORM:
{
if ( isStandaloneDocument || !m_pSubComponentManager->activateSubFrame( _sName, _eType, _eOpenMode, xRet ) )
@@ -2057,7 +2057,7 @@ void OApplicationController::renameEntry()
ensureConnection();
if ( !getConnection().is() )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case E_QUERY:
if ( xContainer->hasByName(*aList.begin()) )
{
diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx
index 6d4dd7a9650d..18756710ff04 100644
--- a/dbaccess/source/ui/app/AppControllerDnD.cxx
+++ b/dbaccess/source/ui/app/AppControllerDnD.cxx
@@ -776,7 +776,7 @@ void OApplicationController::getSupportedFormats(ElementType _eType,std::vector<
_rFormatIds.push_back(SotClipboardFormatId::DBACCESS_TABLE);
_rFormatIds.push_back(SotClipboardFormatId::RTF);
_rFormatIds.push_back(SotClipboardFormatId::HTML);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case E_QUERY:
_rFormatIds.push_back(SotClipboardFormatId::DBACCESS_QUERY);
break;
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 5db15ad643a6..ef1ba183e2ed 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -1461,7 +1461,7 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const
aReturn.bEnabled = m_aCurrentFrame.isActive();
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ID_BROWSER_PASTE:
case ID_BROWSER_CUT:
{
@@ -1517,7 +1517,7 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const
aReturn.bEnabled = true;
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ID_BROWSER_ORDERCRIT:
{
const Reference< XPropertySet > xFormSet(getRowSet(), UNO_QUERY);
@@ -1931,7 +1931,7 @@ void SbaXDataBrowserController::Execute(sal_uInt16 nId, const Sequence< Property
getBrowserView()->getVclControl()->CopySelectedRowsToClipboard();
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ID_BROWSER_CUT:
case ID_BROWSER_PASTE:
{
@@ -1959,7 +1959,7 @@ void SbaXDataBrowserController::Execute(sal_uInt16 nId, const Sequence< Property
case ID_BROWSER_SORTDOWN:
bSortUp = false;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ID_BROWSER_SORTUP:
{
if (!SaveModified())
diff --git a/dbaccess/source/ui/browser/dataview.cxx b/dbaccess/source/ui/browser/dataview.cxx
index d5ce5952b3a9..041315775a61 100644
--- a/dbaccess/source/ui/browser/dataview.cxx
+++ b/dbaccess/source/ui/browser/dataview.cxx
@@ -117,7 +117,7 @@ namespace dbaui
if ( m_pAccel.get() && m_pAccel->execute( aKeyCode ) )
// the accelerator consumed the event
return true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case MouseNotifyEvent::KEYUP:
case MouseNotifyEvent::MOUSEBUTTONDOWN:
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 581a655cd9d2..0e421beddc24 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -698,7 +698,7 @@ void SbaTableQueryBrowser::InitializeGridModel(const Reference< css::form::XForm
case DataType::LONGVARCHAR:
case DataType::CLOB:
aInitialValues.emplace_back( "MultiLine", makeAny( true ) );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::BINARY:
case DataType::VARBINARY:
case DataType::LONGVARBINARY:
@@ -709,7 +709,7 @@ void SbaTableQueryBrowser::InitializeGridModel(const Reference< css::form::XForm
case DataType::VARCHAR:
case DataType::CHAR:
bFormattedIsNumeric = false;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
aCurrentModelType = "FormattedField";
sDefaultProperty = PROPERTY_EFFECTIVEDEFAULT;
@@ -1639,7 +1639,7 @@ FeatureState SbaTableQueryBrowser::GetState(sal_uInt16 nId) const
if ( !m_pTreeView->HasChildPathFocus() )
// handled below
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ID_TREE_CLOSE_CONN:
case ID_TREE_EDIT_DATABASE:
{
@@ -1788,7 +1788,7 @@ FeatureState SbaTableQueryBrowser::GetState(sal_uInt16 nId) const
aReturn.bEnabled = pControl->canCopyCellText(pControl->GetCurRow(), pControl->GetCurColumnId());
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
return SbaXDataBrowserController::GetState(nId);
}
@@ -1847,7 +1847,7 @@ void SbaTableQueryBrowser::Execute(sal_uInt16 nId, const Sequence< PropertyValue
SbaXDataBrowserController::Execute(nId,aArgs);
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case ID_BROWSER_REFRESH_REBUILD:
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index d8c44c71b5b5..4e6acd9f851d 100644
--- a/dbaccess/source/ui/control/FieldDescControl.cxx
+++ b/dbaccess/source/ui/control/FieldDescControl.cxx
@@ -1184,7 +1184,7 @@ void OFieldDescControl::DisplayData(OFieldDescription* pFieldDescr )
DeactivateAggregate( tpBoolDefault );
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::BOOLEAN:
DeactivateAggregate( tpTextLen );
DeactivateAggregate( tpFormat );
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index 8153a2faab18..1925a2247c8a 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -526,7 +526,7 @@ VclPtr<PopupMenu> DBTreeListBox::CreateContextMenu()
default:
OSL_FAIL( "DBTreeListBox::CreateContextMenu: unexpected return value of the interceptor call!" );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ContextMenuInterceptorAction_IGNORED:
break;
}
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx
index 74b4f115e6ec..d19e94e6925d 100644
--- a/dbaccess/source/ui/dlg/sqlmessage.cxx
+++ b/dbaccess/source/ui/dlg/sqlmessage.cxx
@@ -538,7 +538,7 @@ void OSQLMessageBox::Construct(weld::Window* pParent, MessBoxStyle _nStyle, Mess
{
default:
OSL_FAIL( "OSQLMessageBox::impl_initImage: unsupported image type!" );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case Info:
eMessageType = VclMessageType::Info;
break;
diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx
index 246d666ebd42..709556dbbe1d 100644
--- a/dbaccess/source/ui/misc/HtmlReader.cxx
+++ b/dbaccess/source/ui/misc/HtmlReader.cxx
@@ -136,7 +136,7 @@ void OHTMLReader::NextToken( HtmlTokenId nToken )
}
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case HtmlTokenId::THEAD_ON:
case HtmlTokenId::TBODY_ON:
{
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index 78ef021ca8b9..ae2c46f8ee55 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -556,7 +556,7 @@ void fillTypeInfo( const Reference< css::sdbc::XConnection>& _rxConnection,
aName = _rsTypeNames.getToken(TYPE_BIT, ';');
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::BOOLEAN:
aName = _rsTypeNames.getToken(TYPE_BOOL, ';');
break;
@@ -1131,19 +1131,19 @@ TOTypeInfoSP queryTypeInfoByType(sal_Int32 _nDataType,const OTypeInfoMap& _rType
case DataType::TINYINT:
if( (pTypeInfo = queryTypeInfoByType(DataType::SMALLINT,_rTypeInfo) ) )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::SMALLINT:
if( (pTypeInfo = queryTypeInfoByType(DataType::INTEGER,_rTypeInfo) ) )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::INTEGER:
if( (pTypeInfo = queryTypeInfoByType(DataType::FLOAT,_rTypeInfo) ) )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::FLOAT:
if( (pTypeInfo = queryTypeInfoByType(DataType::REAL,_rTypeInfo) ) )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::DATE:
case DataType::TIME:
if( DataType::DATE == _nDataType || DataType::TIME == _nDataType )
@@ -1151,17 +1151,17 @@ TOTypeInfoSP queryTypeInfoByType(sal_Int32 _nDataType,const OTypeInfoMap& _rType
if( (pTypeInfo = queryTypeInfoByType(DataType::TIMESTAMP,_rTypeInfo) ) )
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::TIMESTAMP:
case DataType::REAL:
case DataType::BIGINT:
if ( (pTypeInfo = queryTypeInfoByType(DataType::DOUBLE,_rTypeInfo) ) )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::DOUBLE:
if ( (pTypeInfo = queryTypeInfoByType(DataType::NUMERIC,_rTypeInfo) ) )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::NUMERIC:
pTypeInfo = queryTypeInfoByType(DataType::DECIMAL,_rTypeInfo);
break;
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx
index 092714bd514a..d68357b21dc4 100644
--- a/dbaccess/source/ui/misc/WCopyTable.cxx
+++ b/dbaccess/source/ui/misc/WCopyTable.cxx
@@ -1430,19 +1430,19 @@ TOTypeInfoSP OCopyTableWizard::convertType(const TOTypeInfoSP& _pType, bool& _bN
case DataType::TINYINT:
if(supportsType(DataType::SMALLINT,nDefaultType))
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::SMALLINT:
if(supportsType(DataType::INTEGER,nDefaultType))
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::INTEGER:
if(supportsType(DataType::FLOAT,nDefaultType))
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::FLOAT:
if(supportsType(DataType::REAL,nDefaultType))
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::DATE:
case DataType::TIME:
if( DataType::DATE == _pType->nType || DataType::TIME == _pType->nType )
@@ -1450,17 +1450,17 @@ TOTypeInfoSP OCopyTableWizard::convertType(const TOTypeInfoSP& _pType, bool& _bN
if(supportsType(DataType::TIMESTAMP,nDefaultType))
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::TIMESTAMP:
case DataType::REAL:
case DataType::BIGINT:
if ( supportsType(DataType::DOUBLE,nDefaultType) )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::DOUBLE:
if ( supportsType(DataType::NUMERIC,nDefaultType) )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::NUMERIC:
supportsType(DataType::DECIMAL,nDefaultType);
break;
diff --git a/dbaccess/source/ui/misc/linkeddocuments.cxx b/dbaccess/source/ui/misc/linkeddocuments.cxx
index c3bd6fa4deaf..e7fcd53ecb11 100644
--- a/dbaccess/source/ui/misc/linkeddocuments.cxx
+++ b/dbaccess/source/ui/misc/linkeddocuments.cxx
@@ -136,7 +136,7 @@ namespace dbaui
case E_OPEN_FOR_MAIL:
aArguments.put( "Hidden", true );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case E_OPEN_DESIGN:
sOpenMode = "openDesign";
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index e611e5977c1c..1d2ad3a6a67d 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -1990,7 +1990,7 @@ void OSelectionBrowseBox::Command(const CommandEvent& rEvt)
return;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
default:
EditBrowseBox::Command(rEvt);
diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
index 4a242f909691..f0145fe14301 100644
--- a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
+++ b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
@@ -66,7 +66,7 @@ bool LimitBoxImpl::EventNotify( NotifyEvent& rNEvt )
{
case KEY_ESCAPE:
Undo();
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case KEY_RETURN:
GrabFocusToDocument();
bHandled = true;
diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx
index 9a42963ffdfa..640297409998 100644
--- a/dbaccess/source/ui/querydesign/querycontroller.cxx
+++ b/dbaccess/source/ui/querydesign/querycontroller.cxx
@@ -449,7 +449,7 @@ FeatureState OQueryController::GetState(sal_uInt16 _nId) const
aReturn.bEnabled = false;
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
aReturn = OJoinController::GetState(_nId);
break;
diff --git a/dbaccess/source/ui/tabledesign/TableDesignControl.cxx b/dbaccess/source/ui/tabledesign/TableDesignControl.cxx
index 841935648226..f72ba4fa319b 100644
--- a/dbaccess/source/ui/tabledesign/TableDesignControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TableDesignControl.cxx
@@ -142,7 +142,7 @@ void OTableRowView::Command(const CommandEvent& rEvt)
return;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
default:
EditBrowseBox::Command(rEvt);
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index fe18ac32a139..ccda8f1a501b 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -1248,7 +1248,7 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou
aTransfer.transferComplexValue( &XRow::getBytes, &XParameters::setBytes );
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DataType::BOOLEAN:
aTransfer.transferValue( &XRow::getBoolean, &XParameters::setBoolean );
break;
@@ -1332,7 +1332,7 @@ void CopyTableWizard::impl_doCopy_nothrow()
if( CopyTableOperation::CopyDefinitionOnly == rWizard.getOperation() )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case CopyTableOperation::AppendData:
diff --git a/desktop/source/app/userinstall.cxx b/desktop/source/app/userinstall.cxx
index d748a948c585..2fa7f5befa69 100644
--- a/desktop/source/app/userinstall.cxx
+++ b/desktop/source/app/userinstall.cxx
@@ -161,7 +161,7 @@ Status finalize() {
if (isCreated()) {
return EXISTED;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case utl::Bootstrap::PATH_VALID:
return create(uri);
default:
diff --git a/drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx b/drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx
index 77e53a42cdc1..fdcc7c1cd90b 100644
--- a/drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx
@@ -71,7 +71,7 @@ namespace drawinglayer
aHatch.appendTransformations(aMatrices);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case attribute::HatchStyle::Double:
{
@@ -84,7 +84,7 @@ namespace drawinglayer
aHatch.appendTransformations(aMatrices);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case attribute::HatchStyle::Single:
{
diff --git a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
index 3e81d31dc66f..f27a8cfe4f62 100644
--- a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
@@ -151,7 +151,7 @@ namespace drawinglayer
aHatch.appendTransformations(aMatrices);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case attribute::HatchStyle::Double:
{
@@ -164,7 +164,7 @@ namespace drawinglayer
aHatch.appendTransformations(aMatrices);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case attribute::HatchStyle::Single:
{
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index e5b77c1c86d3..c5ae3c970735 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -188,7 +188,7 @@ namespace drawinglayer
{
default:
SAL_WARN("drawinglayer", "Unknown EmphasisMark style " << pTCPP->getTextEmphasisMark() );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case primitive2d::TEXT_FONT_EMPHASIS_MARK_NONE: eFontEmphasisMark = FontEmphasisMark::NONE; break;
case primitive2d::TEXT_FONT_EMPHASIS_MARK_DOT: eFontEmphasisMark = FontEmphasisMark::Dot; break;
case primitive2d::TEXT_FONT_EMPHASIS_MARK_CIRCLE: eFontEmphasisMark = FontEmphasisMark::Circle; break;
@@ -213,7 +213,7 @@ namespace drawinglayer
{
default:
SAL_WARN( "drawinglayer", "Unknown Relief style " << pTCPP->getTextRelief() );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case primitive2d::TEXT_RELIEF_NONE: eFontRelief = FontRelief::NONE; break;
case primitive2d::TEXT_RELIEF_EMBOSSED: eFontRelief = FontRelief::Embossed; break;
case primitive2d::TEXT_RELIEF_ENGRAVED: eFontRelief = FontRelief::Engraved; break;
diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx
index c9f16b6772df..36a186c3df71 100644
--- a/editeng/source/editeng/eehtml.cxx
+++ b/editeng/source/editeng/eehtml.cxx
@@ -287,7 +287,7 @@ void EditHTMLParser::NextToken( HtmlTokenId nToken )
case HtmlTokenId::TABLEHEADER_ON:
case HtmlTokenId::TABLEDATA_ON:
nInCell++;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case HtmlTokenId::BLOCKQUOTE_ON:
case HtmlTokenId::BLOCKQUOTE_OFF:
case HtmlTokenId::BLOCKQUOTE30_ON:
@@ -311,7 +311,7 @@ void EditHTMLParser::NextToken( HtmlTokenId nToken )
{
if ( nInCell )
nInCell--;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case HtmlTokenId::LISTHEADER_OFF:
case HtmlTokenId::LI_OFF:
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index f21950827dd7..622e557a0517 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -1649,28 +1649,28 @@ bool SvxBoxItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
}
case LEFT_BORDER_DISTANCE:
bDistMember = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case LEFT_BORDER:
case MID_LEFT_BORDER:
nLine = SvxBoxItemLine::LEFT;
break;
case RIGHT_BORDER_DISTANCE:
bDistMember = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case RIGHT_BORDER:
case MID_RIGHT_BORDER:
nLine = SvxBoxItemLine::RIGHT;
break;
case BOTTOM_BORDER_DISTANCE:
bDistMember = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case BOTTOM_BORDER:
case MID_BOTTOM_BORDER:
nLine = SvxBoxItemLine::BOTTOM;
break;
case TOP_BORDER_DISTANCE:
bDistMember = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case TOP_BORDER:
case MID_TOP_BORDER:
nLine = SvxBoxItemLine::TOP;
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index f50d98d5522a..e9598a33aabc 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -525,8 +525,8 @@ OUString SvxNumberFormat::CreateRomanString( sal_uLong nNo, bool bUpper )
}
switch( nNumber )
{
- case 3: { sRet.append(*cRomanArr); SAL_FALLTHROUGH; }
- case 2: { sRet.append(*cRomanArr); SAL_FALLTHROUGH; }
+ case 3: { sRet.append(*cRomanArr); [[fallthrough]]; }
+ case 2: { sRet.append(*cRomanArr); [[fallthrough]]; }
case 1: { sRet.append(*cRomanArr); }
break;
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index 69246c19d3aa..902b26bc66aa 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -2925,7 +2925,7 @@ void SvxScriptSetItem::GetSlotIds( sal_uInt16 nSlotId, sal_uInt16& rLatin,
{
default:
SAL_WARN( "editeng.items", "wrong SlotId for class SvxScriptSetItem" );
- SAL_FALLTHROUGH; // default to font - Id Range !!
+ [[fallthrough]]; // default to font - Id Range !!
case SID_ATTR_CHAR_FONT:
rLatin = SID_ATTR_CHAR_FONT;
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index bf1f40585bf3..8685259b2753 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -1348,17 +1348,17 @@ static void SetBorderLine( int nBorderTyp, SvxBoxItem& rItem,
rItem.SetLine( &rBorder, SvxBoxItemLine::TOP );
if( RTF_BOX != nBorderTyp )
return;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case RTF_BRDRB:
rItem.SetLine( &rBorder, SvxBoxItemLine::BOTTOM );
if( RTF_BOX != nBorderTyp )
return;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case RTF_BRDRL:
rItem.SetLine( &rBorder, SvxBoxItemLine::LEFT );
if( RTF_BOX != nBorderTyp )
return;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case RTF_BRDRR:
rItem.SetLine( &rBorder, SvxBoxItemLine::RIGHT );
if( RTF_BOX != nBorderTyp )
@@ -1799,7 +1799,7 @@ void SvxRTFParser::SetDefault( int nToken, int nValue )
{
case RTF_ADEFF:
bIsLeftToRightDef = false;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case RTF_DEFF:
{
if( -1 == nValue )
@@ -1815,7 +1815,7 @@ void SvxRTFParser::SetDefault( int nToken, int nValue )
case RTF_ADEFLANG:
bIsLeftToRightDef = false;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case RTF_DEFLANG:
// store default Language
if( -1 != nValue )
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 78d726b86d51..c3bafbf24db8 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -170,7 +170,7 @@ void SvxRTFParser::NextToken( int nToken )
case RTF_RDBLQUOTE: cCh = 0x201D; goto INSINGLECHAR;
INSINGLECHAR:
aToken = OUString(cCh);
- SAL_FALLTHROUGH; // aToken is set as Text
+ [[fallthrough]]; // aToken is set as Text
case RTF_TEXTTOKEN:
{
InsertText();
@@ -412,7 +412,7 @@ void SvxRTFParser::ReadColorTable()
: -1 == aToken.indexOf( ";" ) )
break; // At least the ';' must be found
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ';':
if( IsParserWorking() )
@@ -503,7 +503,7 @@ void SvxRTFParser::ReadFontTable()
// for technical/symbolic font of the rtl_TextEncoding is changed!
case RTF_FTECH:
pFont->SetCharSet( RTL_TEXTENCODING_SYMBOL );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case RTF_FNIL:
pFont->SetFamily( FAMILY_DONTKNOW );
break;
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 68858043cca3..0449957b127c 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1838,7 +1838,7 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text
return;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
default:
throw lang::IllegalArgumentException();
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx
index 72fb031d84a1..beeae8ab2469 100644
--- a/embeddedobj/source/msole/oleembed.cxx
+++ b/embeddedobj/source/msole/oleembed.cxx
@@ -395,7 +395,7 @@ bool OleEmbeddedObject::TryToConvertToOOo( const uno::Reference< io::XStream >&
throw css::lang::WrappedTargetRuntimeException( ex.Message,
nullptr, anyEx ); // the repairing is not possible
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case 2:
try
{
@@ -412,7 +412,7 @@ bool OleEmbeddedObject::TryToConvertToOOo( const uno::Reference< io::XStream >&
throw css::lang::WrappedTargetRuntimeException( ex.Message,
nullptr, anyEx ); // the repairing is not possible
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case 1:
case 0:
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx
index b5821b3546a4..19438dbe3e40 100644
--- a/embedserv/source/embed/ed_ioleobject.cxx
+++ b/embedserv/source/embed/ed_ioleobject.cxx
@@ -181,7 +181,7 @@ STDMETHODIMP EmbedDocument_Impl::DoVerb(
pActiveSite,TRUE)))
return NOERROR;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case OLEIVERB_OPEN:
OSL_ENSURE(m_pDocHolder,"no document to open");
diff --git a/embedserv/source/embed/tracker.cxx b/embedserv/source/embed/tracker.cxx
index 99022f653db4..233ff0bb21ab 100644
--- a/embedserv/source/embed/tracker.cxx
+++ b/embedserv/source/embed/tracker.cxx
@@ -444,7 +444,7 @@ BOOL Tracker::TrackHandle(int nHandle,HWND hWnd,POINT point,HWND hWndClipTo)
case WM_KEYDOWN:
if (msg.wParam != VK_ESCAPE)
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case WM_RBUTTONDOWN:
if (bMoved)
{
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index 6fbccbe107bc..d2c002da0900 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -976,14 +976,14 @@ namespace emfio
aLineInfo.SetLineCap( css::drawing::LineCap_ROUND );
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PS_ENDCAP_SQUARE :
if ( aSize.Width() )
{
aLineInfo.SetLineCap( css::drawing::LineCap_SQUARE );
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PS_ENDCAP_FLAT :
default :
aLineInfo.SetLineCap( css::drawing::LineCap_BUTT );
@@ -1066,14 +1066,14 @@ namespace emfio
aLineInfo.SetLineCap( css::drawing::LineCap_ROUND );
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PS_ENDCAP_SQUARE :
if ( aLineInfo.GetWidth() )
{
aLineInfo.SetLineCap( css::drawing::LineCap_SQUARE );
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PS_ENDCAP_FLAT :
default :
aLineInfo.SetLineCap( css::drawing::LineCap_BUTT );
@@ -1194,7 +1194,7 @@ namespace emfio
case EMR_ABORTPATH :
ClearPath();
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case EMR_ENDPATH :
mbRecordPath = false;
break;
@@ -1573,7 +1573,7 @@ namespace emfio
case EMR_EXTTEXTOUTA :
bFlag = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case EMR_EXTTEXTOUTW :
{
sal_Int32 nLeft, nTop, nRight, nBottom, ptlReferenceX, ptlReferenceY, nGfxMode, nXScale, nYScale;
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx
index ebe654a81a27..faf99e5184da 100644
--- a/extensions/source/abpilot/abspilot.cxx
+++ b/extensions/source/abpilot/abspilot.cxx
@@ -248,7 +248,7 @@ namespace abp
implCreateDataSource();
if ( needAdminInvokationPage() )
break;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case STATE_INVOKE_ADMIN_DIALOG:
if ( !connectToDataSource( false ) )
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index e7de2bc9ab79..b2e8119cf257 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -681,7 +681,7 @@ void BibDataManager::InsertFields(const Reference< XFormComponent > & _rxGrid)
case DataType::CHAR:
case DataType::CLOB:
bFormattedIsNumeric = false;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
sCurrentModelType = "FormattedField";
bIsFormatted = true;
diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx
index 7516656d1c60..f83d4574899e 100644
--- a/extensions/source/propctrlr/eformshelper.cxx
+++ b/extensions/source/propctrlr/eformshelper.cxx
@@ -164,7 +164,7 @@ namespace pcr
break;
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case FormComponentType::LISTBOX:
case FormComponentType::COMBOBOX:
diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx
index b099b3250822..328c8bf025b7 100644
--- a/extensions/source/propctrlr/eformspropertyhandler.cxx
+++ b/extensions/source/propctrlr/eformspropertyhandler.cxx
@@ -575,7 +575,7 @@ namespace pcr
bool bBoundToSomeModel = !sDataModelName.isEmpty();
_rxInspectorUI->rebuildPropertyUI( PROPERTY_BINDING_NAME );
_rxInspectorUI->enablePropertyUI( PROPERTY_BINDING_NAME, bBoundToSomeModel );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case PROPERTY_ID_BINDING_NAME:
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index f8db077f5efc..99ef87995ebc 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -1483,7 +1483,7 @@ namespace pcr
// Command also depends on DataSource
aDependentProperties.push_back( PROPERTY_ID_COMMAND );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
// ----- Command -----
case PROPERTY_ID_COMMAND:
@@ -1501,7 +1501,7 @@ namespace pcr
aDependentProperties.push_back( PROPERTY_ID_STRINGITEMLIST );
aDependentProperties.push_back( PROPERTY_ID_TYPEDITEMLIST );
aDependentProperties.push_back( PROPERTY_ID_BOUNDCOLUMN );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
// ----- StringItemList -----
case PROPERTY_ID_STRINGITEMLIST:
@@ -1608,7 +1608,7 @@ namespace pcr
FormButtonType eButtonType( FormButtonType_PUSH );
OSL_VERIFY( _rNewValue >>= eButtonType );
_rxInspectorUI->enablePropertyUI( PROPERTY_TARGET_URL, FormButtonType_URL == eButtonType );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
// ----- TargetURL -----
diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx
index bbe8c5fa09c1..1edeacbf230b 100644
--- a/extensions/source/propctrlr/formgeometryhandler.cxx
+++ b/extensions/source/propctrlr/formgeometryhandler.cxx
@@ -452,7 +452,7 @@ namespace pcr
case PROPERTY_ID_WIDTH:
case PROPERTY_ID_HEIGHT:
bIsSize = true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PROPERTY_ID_POSITIONX:
case PROPERTY_ID_POSITIONY:
{
diff --git a/extensions/source/propctrlr/handlerhelper.cxx b/extensions/source/propctrlr/handlerhelper.cxx
index cdbefa2b994c..29076595a312 100644
--- a/extensions/source/propctrlr/handlerhelper.cxx
+++ b/extensions/source/propctrlr/handlerhelper.cxx
@@ -96,7 +96,7 @@ namespace pcr
default:
OSL_FAIL( "PropertyHandlerHelper::describePropertyLine: don't know how to represent this at the UI!" );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case TypeClass_STRING:
nControlType = PropertyControlType::TextField;
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 7f51c6ddc9db..44d40c9453df 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -1695,7 +1695,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
{
const MetaISectRectClipRegionAction* pA = static_cast<const MetaISectRectClipRegionAction*>(pAction);
clipRect = pA->GetRect();
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case MetaActionType::CLIPREGION:
case MetaActionType::ISECTREGIONCLIPREGION:
@@ -1708,7 +1708,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
case MetaActionType::MAPMODE:
{
bMap++;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case MetaActionType::REFPOINT:
case MetaActionType::LINECOLOR:
diff --git a/filter/source/graphicfilter/idxf/dxfentrd.cxx b/filter/source/graphicfilter/idxf/dxfentrd.cxx
index 0f30ba60f1bc..a830ce0c8fee 100644
--- a/filter/source/graphicfilter/idxf/dxfentrd.cxx
+++ b/filter/source/graphicfilter/idxf/dxfentrd.cxx
@@ -695,7 +695,7 @@ void DXFHatchEntity::EvaluateGroup( DXFGroupReader & rDGR )
case 92:
nCurrentBoundaryPathIndex++;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
{
bool bExecutingGroupCode = false;
diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx
index 182c948a8cf0..61c6bde360ec 100644
--- a/filter/source/graphicfilter/ios2met/ios2met.cxx
+++ b/filter/source/graphicfilter/ios2met/ios2met.cxx
@@ -731,11 +731,11 @@ void OS2METReader::SetPen( const Color& rColor, sal_uInt16 nLineWidth, PenStyle
break;
case PEN_DASHDOT :
nDashCount++;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PEN_DOT :
nDotCount++;
nDashCount--;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case PEN_DASH :
nDashCount++;
aLineInfo.SetDotCount( nDotCount );
@@ -1706,7 +1706,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
case GOrdStkPop: PopAttr(); break;
case GOrdPIvAtr: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSIvAtr: {
sal_uInt8 nA, nP, nFlags, nMix;
Color aCol;
@@ -1781,7 +1781,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPIxCol: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSIxCol: {
sal_uInt8 nFlags;
Color aCol;
@@ -1808,7 +1808,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
case GOrdPColor:
case GOrdPXtCol: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSColor:
case GOrdSXtCol: {
sal_uInt8 nbyte;
@@ -1837,7 +1837,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
}
case GOrdPBgCol: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSBgCol: {
sal_uInt16 nVal;
Color aCol;
@@ -1860,7 +1860,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPBxCol: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSBxCol: {
sal_uInt8 nFlags;
Color aCol;
@@ -1886,7 +1886,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
}
case GOrdPMixMd: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSMixMd: {
sal_uInt8 nMix;
pOS2MET->ReadUChar( nMix );
@@ -1904,7 +1904,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPBgMix: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSBgMix: {
sal_uInt8 nMix;
pOS2MET->ReadUChar( nMix );
@@ -1922,12 +1922,12 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPPtSet: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSPtSet: SAL_INFO("filter.os2met","GOrdSPtSet");
break;
case GOrdPPtSym: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSPtSym: {
sal_uInt8 nPatt;
pOS2MET->ReadUChar( nPatt );
@@ -1936,22 +1936,22 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
}
case GOrdPPtRef: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSPtRef: SAL_INFO("filter.os2met","GOrdSPtRef");
break;
case GOrdPLnEnd: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSLnEnd:
break;
case GOrdPLnJoi: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSLnJoi:
break;
case GOrdPLnTyp: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSLnTyp: {
sal_uInt8 nType;
pOS2MET->ReadUChar( nType );
@@ -1966,7 +1966,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPLnWdt: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSLnWdt: {
sal_uInt8 nbyte;
pOS2MET->ReadUChar( nbyte );
@@ -1975,12 +1975,12 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPFrLWd: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSFrLWd:
break;
case GOrdPStLWd: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSStLWd :
{
sal_uInt8 nFlags;
@@ -1999,24 +1999,24 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPChDir: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSChDir:
break;
case GOrdPChPrc: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSChPrc:
break;
case GOrdPChSet: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSChSet: {
sal_uInt8 nbyte; pOS2MET->ReadUChar( nbyte );
aAttr.nChrSet=static_cast<sal_uInt32>(nbyte)&0xff;
break;
}
case GOrdPChAng: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSChAng: {
sal_Int32 nX = ReadCoord(bCoord32);
sal_Int32 nY = ReadCoord(bCoord32);
@@ -2029,12 +2029,12 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPChBrx: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSChBrx:
break;
case GOrdPChCel: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSChCel: {
sal_uInt8 nbyte;
sal_uInt16 nLen=nOrderLen;
@@ -2056,22 +2056,22 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
break;
}
case GOrdPChXtr: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSChXtr:
break;
case GOrdPChShr: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSChShr:
break;
case GOrdPTxAlg: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSTxAlg: SAL_INFO("filter.os2met","GOrdSTxAlg");
break;
case GOrdPMkPrc: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSMkPrc: {
sal_uInt8 nbyte;
pOS2MET->ReadUChar( nbyte );
@@ -2081,7 +2081,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
}
case GOrdPMkSet: PushAttr(nOrderID);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case GOrdSMkSet: {
sal_uInt8 nbyte;
pOS2MET->ReadUChar( nbyte );
@@ -2091,7 +2091,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
}
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list