summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-14 22:52:35 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-17 11:06:53 +0100
commit6a0fe37dec107392fbe468a35b89071b9a93d2c1 (patch)
tree4334feae68fa1ddc1ef293cd46ef483f44081c1c /idlc
parent30f3b36e07ce37a3fe1909fb4b1419a00d2fdd81 (diff)
sal: clean up public headers with include-what-you-use
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astdeclaration.cxx1
-rw-r--r--idlc/source/astdump.cxx2
-rw-r--r--idlc/source/astexpression.cxx2
-rw-r--r--idlc/source/astinterface.cxx2
-rw-r--r--idlc/source/astscope.cxx1
-rw-r--r--idlc/source/parser.y1
6 files changed, 9 insertions, 0 deletions
diff --git a/idlc/source/astdeclaration.cxx b/idlc/source/astdeclaration.cxx
index f5adfeaa8e0b..c23894ed902a 100644
--- a/idlc/source/astdeclaration.cxx
+++ b/idlc/source/astdeclaration.cxx
@@ -20,6 +20,7 @@
#include <idlc/astdeclaration.hxx>
#include <idlc/astscope.hxx>
#include <rtl/strbuf.hxx>
+#include <osl/diagnose.h>
static OString sGlobal("::");
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index c9a2c473f3fa..90b182c8de7d 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -29,6 +29,8 @@
#include <idlc/astsequence.hxx>
#include "idlc/astoperation.hxx"
+#include <osl/diagnose.h>
+
#include <registry/version.h>
#include <registry/writer.hxx>
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 99d415dd8bd8..bb01c0a26a0c 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -23,6 +23,8 @@
#include <idlc/astscope.hxx>
#include <idlc/errorhandler.hxx>
+#include <osl/diagnose.h>
+
#include <limits.h>
#include <float.h>
#include <memory>
diff --git a/idlc/source/astinterface.cxx b/idlc/source/astinterface.cxx
index 8bd8fb7cbfd9..f6b9eef824f1 100644
--- a/idlc/source/astinterface.cxx
+++ b/idlc/source/astinterface.cxx
@@ -25,6 +25,8 @@
#include <registry/version.h>
#include <registry/writer.hxx>
+#include <osl/diagnose.h>
+
AstInterface::AstInterface(const OString& name,
AstInterface const * pInherits,
AstScope* pScope)
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx
index 172c2be57590..c57d14c65560 100644
--- a/idlc/source/astscope.cxx
+++ b/idlc/source/astscope.cxx
@@ -21,6 +21,7 @@
#include <idlc/astbasetype.hxx>
#include <idlc/astinterface.hxx>
#include <idlc/errorhandler.hxx>
+#include <osl/diagnose.h>
bool isGlobal(const OString& scopedName)
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index 400778026c9c..af911c655d68 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -49,6 +49,7 @@
#include "attributeexceptions.hxx"
#include "rtl/strbuf.hxx"
+#include <osl/diagnose.h>
#include <algorithm>
#include <vector>