[Libreoffice-commits] core.git: 2 commits - connectivity/source cppcanvas/source include/oox sc/qa sw/source vcl/inc

Michael Stahl mstahl at redhat.com
Mon Nov 21 11:51:29 UTC 2016


 connectivity/source/drivers/odbc/OTools.cxx |    1 +
 cppcanvas/source/inc/implrenderer.hxx       |    2 ++
 include/oox/helper/helper.hxx               |    1 +
 sc/qa/unit/screenshots/screenshots.cxx      |    1 +
 sw/source/filter/ww8/ww8scan.hxx            |    1 +
 vcl/inc/headless/svpgdi.hxx                 |    1 +
 6 files changed, 7 insertions(+)

New commits:
commit 2b14fb3a4f92b928f0a5fc536c6a5f4a6e51a9b8
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

diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index ba18b76..b9babf1 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 6364c47..3587a9f 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 4373d10..1ef0f32 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>
commit e2f08f9def0869460ad38a1c2adb450778290f6e
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Nov 21 12:05:05 2016 +0100

    connectivity, sc: 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 -v -E '\.h(xx)?$' | while read f; do case $f in *cxx) grep -L endian\\.h workdir/Dep/CxxObject/${f%.cxx}.d ;; *) grep -L endian\\.h workdir/Dep/CObject/${f%.c}.d ;; esac ; done
    
    Change-Id: Iaf589a8235dbc8062840d2716ab843e64b5cb7a2

diff --git a/connectivity/source/drivers/odbc/OTools.cxx b/connectivity/source/drivers/odbc/OTools.cxx
index 228cc90..fafc3b8 100644
--- a/connectivity/source/drivers/odbc/OTools.cxx
+++ b/connectivity/source/drivers/odbc/OTools.cxx
@@ -21,6 +21,7 @@
 #include "odbc/OFunctions.hxx"
 #include <com/sun/star/sdbc/DataType.hpp>
 #include <osl/diagnose.h>
+#include <osl/endian.h>
 #include "odbc/OConnection.hxx"
 #include <rtl/ustrbuf.hxx>
 
diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx
index 0f1e5a2..8271561 100644
--- a/sc/qa/unit/screenshots/screenshots.cxx
+++ b/sc/qa/unit/screenshots/screenshots.cxx
@@ -17,6 +17,7 @@
 #include <editeng/editids.hrc>
 #include <editeng/editview.hxx>
 #include <editeng/outliner.hxx>
+#include <osl/endian.h>
 #include <osl/conditn.hxx>
 #include <osl/file.hxx>
 #include <sfx2/dispatch.hxx>


More information about the Libreoffice-commits mailing list