diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-11-21 12:16:37 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-11-21 23:36:30 +0000 |
commit | d76a2ba127b3d768412ee5b83363c9f3cce9faf5 (patch) | |
tree | 55a94dc6f9385403c23de381f15f9c3d480e312f | |
parent | ba2a23afd628d3d183ae6c77569f4ec54490d696 (diff) |
cppcanvas, oox: add missing #include <osl/endian.h>
These files use the macro OSL_BIGENDIAN but did not include the header
that defines it.
Found via:
git grep -l OSL_.*ENDIAN | grep -E '\.h(xx)?$' | while read f; do grep -L endian\\.h $f ; done
Change-Id: Iffb36336026e49a9c3d8fcf125a54ec857c7552e
(cherry picked from commit 2b14fb3a4f92b928f0a5fc536c6a5f4a6e51a9b8)
Reviewed-on: https://gerrit.libreoffice.org/31040
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 2 | ||||
-rw-r--r-- | include/oox/helper/helper.hxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8scan.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/headless/svpgdi.hxx | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index f0fa80135b92..60e65a061fbb 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -28,6 +28,8 @@ #include <action.hxx> #include <outdevstate.hxx> +#include <osl/endian.h> + #include <vector> #include <map> diff --git a/include/oox/helper/helper.hxx b/include/oox/helper/helper.hxx index 1d274b116ffc..2dc924360227 100644 --- a/include/oox/helper/helper.hxx +++ b/include/oox/helper/helper.hxx @@ -26,6 +26,7 @@ #include <cstring> #include <limits> +#include <osl/endian.h> #include <rtl/math.hxx> #include <rtl/string.hxx> #include <rtl/textenc.h> diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx index 11cb3f759878..5d9cde038bb1 100644 --- a/sw/source/filter/ww8/ww8scan.hxx +++ b/sw/source/filter/ww8/ww8scan.hxx @@ -31,6 +31,7 @@ #include <unordered_map> #include <vector> +#include <osl/endian.h> #include <tools/solar.h> #include <rtl/ustring.hxx> #include "sortedarray.hxx" diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx index d888001a1c14..7ac3809feda9 100644 --- a/vcl/inc/headless/svpgdi.hxx +++ b/vcl/inc/headless/svpgdi.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_VCL_INC_HEADLESS_SVPGDI_HXX #define INCLUDED_VCL_INC_HEADLESS_SVPGDI_HXX +#include <osl/endian.h> #include <vcl/sysdata.hxx> #include <vcl/metric.hxx> #include <config_cairo_canvas.h> |