You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2023/01/13 15:55:25 UTC

[openoffice] branch AOO42X updated: Use our own round() function declared in rtl's math.hxx, instead of the system round() function only available in C99 compilers.

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 6e5772b506 Use our own round() function declared in rtl's math.hxx, instead of the system round() function only available in C99 compilers.
6e5772b506 is described below

commit 6e5772b506c10c2ff3e684b15ef75727c93245a7
Author: Damjan Jovanovic <da...@apache.org>
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
    
    (cherry picked from commit 669616fc485e35d4547ab101a0da01ce61322f47)
---
 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 {