diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-12-08 09:46:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-08 13:28:16 +0100 |
commit | ab9b67bbb001f380b3973941443bfbc59fe7141c (patch) | |
tree | 4737847b2970d2310932f115935a9454aacff6fe /svtools/source/brwbox/brwbox2.cxx | |
parent | 3c0cb54b7ca20439e7e5e1e19dc6fcc75709973b (diff) |
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@redhat.com>
Diffstat (limited to 'svtools/source/brwbox/brwbox2.cxx')
-rw-r--r-- | svtools/source/brwbox/brwbox2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index e06e3746a55e..b599a701f679 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -1642,7 +1642,7 @@ bool BrowseBox::ProcessKey( const KeyEvent& rEvt ) case KEY_TAB: if ( !bColumnCursor ) break; - SAL_FALLTHROUGH; + [[fallthrough]]; case KEY_RIGHT: nId = BROWSER_CURSORRIGHT; break; case KEY_LEFT: nId = BROWSER_CURSORLEFT; break; case KEY_SPACE: nId = BROWSER_SELECT; break; @@ -1777,7 +1777,7 @@ void BrowseBox::Dispatch( sal_uInt16 nId ) nNewId != HandleColumnId && GoToColumnId( nNewId ); break; } - SAL_FALLTHROUGH; + [[fallthrough]]; case BROWSER_CURSORENDOFFILE: GoToRow( nRowCount - 1, false ); break; @@ -1817,7 +1817,7 @@ void BrowseBox::Dispatch( sal_uInt16 nId ) } break; } - SAL_FALLTHROUGH; + [[fallthrough]]; case BROWSER_CURSORTOPOFFILE: GoToRow( 0, false ); break; |