diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2016-11-06 10:31:07 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2016-11-06 09:50:10 +0000 |
commit | 703d00e335bf0d38b3019ec2ba095b27a5fdba2d (patch) | |
tree | 7ac061842e7194ffd66ad39e3a72b7cb5e71f3b6 | |
parent | 2536bd8b267156691f65c535f20b365857f13a96 (diff) |
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@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | basic/source/sbx/sbxconv.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/basic/source/sbx/sbxconv.hxx b/basic/source/sbx/sbxconv.hxx index 08fa296f2c8f..39db08076044 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; |