[Libreoffice-commits] core.git: hwpfilter/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Nov 8 11:38:52 UTC 2019
hwpfilter/source/hcode.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 725b7a37e760b660781b2d2740c6207559f01f44
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Nov 8 10:20:01 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Nov 8 12:37:45 2019 +0100
-Werror,-Wunused-macros (clang-cl)
Not sure why the unused-macro warning for isnan only started to show now that I
build on Windows with clang-cl against MSVC 2019 (rather than 2017). The code
was there ever since 16cba77220efab8204eeecb49ccd3ec033efca38 "#112673# initial
checkin of HWP filter", but there appears to never have been any use of isnan at
least in hwpfilter/ itself.
Change-Id: Ib202da91806baf347bbaf1ac2a47bcc7f81bd868
Reviewed-on: https://gerrit.libreoffice.org/82271
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx
index f67a4e777a96..fda36e0953ca 100644
--- a/hwpfilter/source/hcode.cxx
+++ b/hwpfilter/source/hcode.cxx
@@ -30,10 +30,6 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
-#ifdef _MSC_VER
-#include <float.h>
-#define isnan _isnan
-#endif
#include "hcode.h"
#include "ksc5601.h"
More information about the Libreoffice-commits
mailing list