diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-11-23 18:59:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-04 17:01:05 +0100 |
commit | 60610d4f5d9fc7f04e3bf458f603395ab6b272a7 (patch) | |
tree | d64b301714d6088d8848ab505a70382ecbf44fc7 /svx/source/customshapes | |
parent | 35dd9167ef2ee78d8611b02c48b7630e5eeca27c (diff) |
Remove obsolete CLANG_VERSION checks
...now that the (Linux) Clang baseline has been bumped ot 5.0.2 (see
<https://lists.freedesktop.org/archives/libreoffice/2018-November/081435.html>
"minutes of ESC call ...").
(This commit precedes a commit that will actually enforce Clang >= 5.0.2 in
configure.ac. However, it was easier to do it in this order, as that other
commit will drop CLANG_VERSION when building with Apple Clang (where version
numbers are different from upstream), so these checks would start to fail
there.)
Change-Id: Icb3df0d0cf476e14c5453f02bdfc9e5bed066ca1
Reviewed-on: https://gerrit.libreoffice.org/63898
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source/customshapes')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx index 61d2be064b0b..ee38c9d9d16b 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx @@ -19,7 +19,6 @@ #include <sal/config.h> -#include <config_clang.h> #include <svx/EnhancedCustomShape2d.hxx> #include <rtl/ustring.hxx> #include <sal/log.hxx> @@ -466,7 +465,7 @@ public: mpSecondArg( rSecondArg ) { } -#if (defined(__clang__) && CLANG_VERSION >=30700) || (defined (__GNUC__) && __GNUC__ >= 8) +#if defined(__clang__) || (defined (__GNUC__) && __GNUC__ >= 8) //GetEquationValueAsDouble calls isFinite on the result __attribute__((no_sanitize("float-divide-by-zero"))) #endif |