This is an automated email from the ASF dual-hosted git repository.
damjan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 669616fc48 Use our own round() function declared in rtl's math.hxx,
instead of the system round() function only available in C99 compilers.
669616fc48 is described below
commit 669616fc485e35d4547ab101a0da01ce61322f47
Author: Damjan Jovanovic <[email protected]>
AuthorDate: Thu Jan 12 17:25:21 2023 +0200
Use our own round() function declared in rtl's math.hxx, instead of the
system
round() function only available in C99 compilers.
Patch by: me
---
main/oox/source/helper/datetimehelper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main/oox/source/helper/datetimehelper.cxx
b/main/oox/source/helper/datetimehelper.cxx
index f36c724062..e220a03540 100644
--- a/main/oox/source/helper/datetimehelper.cxx
+++ b/main/oox/source/helper/datetimehelper.cxx
@@ -21,7 +21,7 @@
#include "oox/helper/datetimehelper.hxx"
-#include <math.h>
+#include <rtl/math.hxx>
namespace oox {