summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-11-21 12:05:05 +0100
committerMichael Stahl <mstahl@redhat.com>2016-11-21 12:47:51 +0100
commite2f08f9def0869460ad38a1c2adb450778290f6e (patch)
tree7e37cfc5720025166aa25d094e7def0cb0f73dfd
parenta57300a5fcabe38a0d8bb4e7218a3d1be9616bbd (diff)
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
-rw-r--r--connectivity/source/drivers/odbc/OTools.cxx1
-rw-r--r--sc/qa/unit/screenshots/screenshots.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/drivers/odbc/OTools.cxx b/connectivity/source/drivers/odbc/OTools.cxx
index 228cc90f4c7e..fafc3b8f4e95 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 0f1e5a21f9bf..827156187081 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>