diff options
Diffstat (limited to 'stoc/source/typeconv/convert.cxx')
-rw-r--r-- | stoc/source/typeconv/convert.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx index b2b7e0e2925e..d04621fce285 100644 --- a/stoc/source/typeconv/convert.cxx +++ b/stoc/source/typeconv/convert.cxx @@ -81,7 +81,7 @@ static const sal_Int64 SAL_INT64_MIN = #ifdef _MSC_VER static const double DOUBLE_SAL_UINT64_MAX = ((((double)SAL_INT64_MAX) * 2) + 1); -static inline double unsigned_int64_to_double( sal_uInt64 n ) SAL_THROW(()) +static inline double unsigned_int64_to_double( sal_uInt64 n ) { sal_uInt64 n2 = (n / 3); n -= (2 * n2); @@ -91,7 +91,7 @@ static inline double unsigned_int64_to_double( sal_uInt64 n ) SAL_THROW(()) static const double DOUBLE_SAL_UINT64_MAX = (double)((((sal_uInt64)0xffffffff) << 32) | (sal_uInt64)0xffffffff); -static inline double unsigned_int64_to_double( sal_uInt64 n ) SAL_THROW(()) +static inline double unsigned_int64_to_double( sal_uInt64 n ) { return (double)n; } |