Kaydet (Commit) 6e614489 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up obsolete uses of BOOST_FALLTHROUGH

Change-Id: If391c86c9b2c94eed9b95c692f290449a241ed4e
Reviewed-on: https://gerrit.libreoffice.org/64790
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 5eac2e6b
......@@ -25,7 +25,6 @@
#include <sal/log.hxx>
#include <boost/config.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <cppuhelper/typeprovider.hxx>
......@@ -444,11 +443,7 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 parameterIndex, co
break;
}
#if defined __GNUC__ && !defined __clang__
[[fallthrough]];
#else
BOOST_FALLTHROUGH;
#endif
}
// TODO other types
......
......@@ -338,34 +338,34 @@ namespace cppcanvas
{
case LINESTYLE_BOLDDOTTED:
bIsBold = true;
BOOST_FALLTHROUGH;
[[fallthrough]];
case LINESTYLE_DOTTED:
pArray = aDottedArray;
break;
case LINESTYLE_BOLDDASH:
bIsBold = true;
BOOST_FALLTHROUGH;
[[fallthrough]];
case LINESTYLE_DASH:
pArray = aDashedArray;
break;
case LINESTYLE_BOLDLONGDASH:
bIsBold = true;
BOOST_FALLTHROUGH;
[[fallthrough]];
case LINESTYLE_LONGDASH:
pArray = aLongDashArray;
break;
case LINESTYLE_BOLDDASHDOT:
bIsBold = true;
BOOST_FALLTHROUGH;
[[fallthrough]];
case LINESTYLE_DASHDOT:
pArray = aDotDashArray;
break;
case LINESTYLE_BOLDDASHDOTDOT:
bIsBold = true;
BOOST_FALLTHROUGH;
[[fallthrough]];
case LINESTYLE_DASHDOTDOT:
pArray = aDashDotDotArray;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment