summaryrefslogtreecommitdiff
path: root/starmath
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 /starmath
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 'starmath')
-rw-r--r--starmath/source/mathtype.cxx4
-rw-r--r--starmath/source/parse.cxx2
-rw-r--r--starmath/source/view.cxx2
-rw-r--r--starmath/source/wordexportbase.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 69c57f80b503..63ff86fe9ef4 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -2599,13 +2599,13 @@ void MathType::HandleOperator(SmNode *pNode,int nLevel)
pS->WriteUChar( CHAR );
pS->WriteUChar( 0x86 );
pS->WriteUInt16( 0x222B );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case TIINT:
case TLLINT:
pS->WriteUChar( CHAR );
pS->WriteUChar( 0x86 );
pS->WriteUInt16( 0x222B );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case TINT:
case TINTD:
case TLINT:
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 3c1fc94f7a8f..b033a1dbb47c 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -2124,7 +2124,7 @@ std::unique_ptr<SmTextNode> SmParser::DoFunction()
{
case TFUNC:
NextToken(); // skip "FUNC"-statement
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case TSIN :
case TCOS :
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 5d59faa78b96..c4d2a91316ad 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1843,7 +1843,7 @@ void SmViewShell::GetState(SfxItemSet &rSet)
case SID_ATTR_ZOOM:
rSet.Put(SvxZoomItem( SvxZoomType::PERCENT, mpGraphic->GetZoom()));
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SID_ZOOMIN:
case SID_ZOOMOUT:
case SID_ZOOM_OPTIMAL:
diff --git a/starmath/source/wordexportbase.cxx b/starmath/source/wordexportbase.cxx
index c660cf2b282d..1f802e2e6e92 100644
--- a/starmath/source/wordexportbase.cxx
+++ b/starmath/source/wordexportbase.cxx
@@ -164,7 +164,7 @@ void SmWordExportBase::HandleMath(const SmNode* pNode, int nLevel)
case TDIVIDEBY:
case TACUTE:
OSL_ASSERT(false);
- SAL_FALLTHROUGH; // the above are handled elsewhere, e.g. when handling BINHOR
+ [[fallthrough]]; // the above are handled elsewhere, e.g. when handling BINHOR
default:
HandleText(pNode, nLevel);
break;