[Libreoffice-commits] core.git: basic/source
Julien Nabet
serval2412 at yahoo.fr
Sun Nov 6 09:50:31 UTC 2016
basic/source/sbx/sbxconv.hxx | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit 703d00e335bf0d38b3019ec2ba095b27a5fdba2d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Nov 6 10:31:07 2016 +0100
Fix Android build (basic)
by retrieving the content of former function ImpRound
Change-Id: Ibb5085cb67c47b5a46644250efd6dcef7a0fc837
Reviewed-on: https://gerrit.libreoffice.org/30605
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/basic/source/sbx/sbxconv.hxx b/basic/source/sbx/sbxconv.hxx
index 08fa296..39db080 100644
--- a/basic/source/sbx/sbxconv.hxx
+++ b/basic/source/sbx/sbxconv.hxx
@@ -21,6 +21,15 @@
#define INCLUDED_BASIC_SOURCE_SBX_SBXCONV_HXX
#include "sbxdec.hxx"
+#if defined(ANDROID)
+namespace std
+{
+double lround(double d)
+{
+ return d + ( d < 0 ? -0.5 : 0.5 );
+}
+}
+#endif
class SbxArray;
More information about the Libreoffice-commits
mailing list