diff options
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/UnitConversion.hxx | 2 | ||||
-rw-r--r-- | include/tools/fract.hxx | 1 | ||||
-rw-r--r-- | include/tools/gen.hxx | 1 | ||||
-rw-r--r-- | include/tools/json_writer.hxx | 1 | ||||
-rw-r--r-- | include/tools/mapunit.hxx | 3 |
5 files changed, 2 insertions, 6 deletions
diff --git a/include/tools/UnitConversion.hxx b/include/tools/UnitConversion.hxx index 2585fecbb590..028e5dcecfae 100644 --- a/include/tools/UnitConversion.hxx +++ b/include/tools/UnitConversion.hxx @@ -10,6 +10,8 @@ #pragma once +#include <sal/types.h> + constexpr sal_Int64 convertTwipToMm100(sal_Int64 n) { return (n >= 0) ? (n * 127 + 36) / 72 : (n * 127 - 36) / 72; diff --git a/include/tools/fract.hxx b/include/tools/fract.hxx index ed1f5f0be649..7caf9c6a93f5 100644 --- a/include/tools/fract.hxx +++ b/include/tools/fract.hxx @@ -21,7 +21,6 @@ #include <sal/types.h> #include <tools/toolsdllapi.h> -#include <memory> #include <ostream> #include <type_traits> diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx index e069717bbd53..4f6927c62f0b 100644 --- a/include/tools/gen.hxx +++ b/include/tools/gen.hxx @@ -25,7 +25,6 @@ #include <algorithm> #include <ostream> #include <config_options.h> -#include <cassert> class SvStream; namespace rtl diff --git a/include/tools/json_writer.hxx b/include/tools/json_writer.hxx index 3b27a18833f3..10e1a3a7aafc 100644 --- a/include/tools/json_writer.hxx +++ b/include/tools/json_writer.hxx @@ -10,7 +10,6 @@ #include <tools/toolsdllapi.h> #include <rtl/ustring.hxx> -#include <algorithm> namespace rtl { diff --git a/include/tools/mapunit.hxx b/include/tools/mapunit.hxx index 6112bc7ef461..fcaa03bcdb8c 100644 --- a/include/tools/mapunit.hxx +++ b/include/tools/mapunit.hxx @@ -20,9 +20,6 @@ #ifndef INCLUDED_TOOLS_MAPUNIT_HXX #define INCLUDED_TOOLS_MAPUNIT_HXX -#include <sal/types.h> -#include <tools/UnitConversion.hxx> - enum class MapUnit { Map100thMM, Map10thMM, MapMM, MapCM, |