summaryrefslogtreecommitdiff
path: root/svx/source/items
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 /svx/source/items
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 'svx/source/items')
-rw-r--r--svx/source/items/numfmtsh.cxx2
-rw-r--r--svx/source/items/rotmodit.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index cb68b9be56b7..1fb809379a6c 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -105,7 +105,7 @@ SvxNumberFormatShell::SvxNumberFormatShell(SvNumberFormatter* pNumFormatter, sal
{
nValNum = GetDefaultValNum(pFormatter->GetType(nCurFormatKey));
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SvxNumberValueType::Undefined:
default:
aValStr.clear();
diff --git a/svx/source/items/rotmodit.cxx b/svx/source/items/rotmodit.cxx
index b1f21a131517..bf147b2aa2d6 100644
--- a/svx/source/items/rotmodit.cxx
+++ b/svx/source/items/rotmodit.cxx
@@ -74,7 +74,7 @@ bool SvxRotateModeItem::GetPresentation(
{
case SfxItemPresentation::Complete:
rText += "...: ";
- SAL_FALLTHROUGH; // break; // FALL THROUGH!!!
+ [[fallthrough]]; // break; // FALL THROUGH!!!
case SfxItemPresentation::Nameless:
rText += OUStringLiteral1( GetValue() );