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 2024/02/15 23:42:34 UTC
(openoffice) 01/01: Update bitmap.hxx
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch Pilot-Pirx-boost
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit d99f2741ca79354c6ad3afe1b60de58c139f7284
Author: Matthias Seidel <ms...@apache.org>
AuthorDate: Fri Feb 16 00:42:29 2024 +0100
Update bitmap.hxx
---
main/vcl/inc/vcl/bitmap.hxx | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/main/vcl/inc/vcl/bitmap.hxx b/main/vcl/inc/vcl/bitmap.hxx
index fe64222969..77e907a832 100644
--- a/main/vcl/inc/vcl/bitmap.hxx
+++ b/main/vcl/inc/vcl/bitmap.hxx
@@ -37,11 +37,6 @@
#include <boost/math/special_functions/sinc.hpp>
-using namespace boost::math::policies;
-typedef policy<
- promote_double<false>
-> SincPolicy;
-
// -----------
// - Defines -
// -----------
@@ -275,7 +270,7 @@ public:
}
x *= M_PI;
- return boost::math::sinc_pi(x, SincPolicy());
+ return boost::math::sinc_pi(x);
}
};