summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/basesh.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-08 09:46:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-08 13:28:16 +0100
commitab9b67bbb001f380b3973941443bfbc59fe7141c (patch)
tree4737847b2970d2310932f115935a9454aacff6fe /sw/source/uibase/shells/basesh.cxx
parent3c0cb54b7ca20439e7e5e1e19dc6fcc75709973b (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 'sw/source/uibase/shells/basesh.cxx')
-rw-r--r--sw/source/uibase/shells/basesh.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 84cce3758271..e6ad091274d2 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -229,7 +229,7 @@ void SwBaseShell::ExecDelete(SfxRequest &rReq)
break;
}
- SAL_FALLTHROUGH; // otherwise call DelLeft
+ [[fallthrough]]; // otherwise call DelLeft
case FN_SHIFT_BACKSPACE:
rSh.DelLeft();
break;
@@ -426,7 +426,7 @@ void SwBaseShell::StateClpbrd(SfxItemSet &rSet)
rSet.DisableItem( nWhich );
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SID_COPY:
if( !bCopy )
rSet.DisableItem( nWhich );
@@ -1880,7 +1880,7 @@ void SwBaseShell::SetWrapMode( sal_uInt16 nSlot )
case FN_FRAME_WRAPTHRU_TOGGLE:
if (aWrap.IsContour())
aWrap.SetContour(false);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case FN_FRAME_WRAPTHRU:
nSurround = css::text::WrapTextMode_THROUGH;
break;
@@ -2011,7 +2011,7 @@ void SwBaseShell::ExecTextCtrl( SfxRequest& rReq )
if(nInputLang != LANGUAGE_DONTKNOW && nInputLang != LANGUAGE_SYSTEM)
nScripts = SvtLanguageOptions::GetScriptTypeOfLanguage( nInputLang );
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case SID_ATTR_CHAR_POSTURE:
case SID_ATTR_CHAR_WEIGHT: