[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - cppcanvas/source include/oox sw/source vcl/inc
Michael Stahl
mstahl at redhat.com
Mon Nov 21 23:36:51 UTC 2016
cppcanvas/source/inc/implrenderer.hxx | 2 ++
include/oox/helper/helper.hxx | 1 +
sw/source/filter/ww8/ww8scan.hxx | 1 +
vcl/inc/headless/svpgdi.hxx | 1 +
4 files changed, 5 insertions(+)
New commits:
commit d76a2ba127b3d768412ee5b83363c9f3cce9faf5
Author: Michael Stahl <mstahl at redhat.com>
Date: Mon Nov 21 12:16:37 2016 +0100
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 at libreoffice.org>
Reviewed-by: Eike Rathke <erack at redhat.com>
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index f0fa801..60e65a0 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 1d274b1..2dc9243 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 11cb3f7..5d9cde0 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 d888001..7ac3809 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>
More information about the Libreoffice-commits
mailing list