summaryrefslogtreecommitdiff
path: root/embeddedobj
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 /embeddedobj
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 'embeddedobj')
-rw-r--r--embeddedobj/source/commonembedding/xfactory.hxx1
-rw-r--r--embeddedobj/source/inc/xcreator.hxx1
-rw-r--r--embeddedobj/source/msole/closepreventer.cxx2
-rw-r--r--embeddedobj/source/msole/olepersist.cxx1
-rw-r--r--embeddedobj/source/msole/xolefactory.hxx1
5 files changed, 6 insertions, 0 deletions
diff --git a/embeddedobj/source/commonembedding/xfactory.hxx b/embeddedobj/source/commonembedding/xfactory.hxx
index 1c0e583398ab..1cfe18a03b13 100644
--- a/embeddedobj/source/commonembedding/xfactory.hxx
+++ b/embeddedobj/source/commonembedding/xfactory.hxx
@@ -22,6 +22,7 @@
#include <com/sun/star/embed/XEmbeddedObjectCreator.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <osl/diagnose.h>
#include <cppuhelper/implbase2.hxx>
#include <comphelper/mimeconfighelper.hxx>
diff --git a/embeddedobj/source/inc/xcreator.hxx b/embeddedobj/source/inc/xcreator.hxx
index d6375454eff9..171b41f14b28 100644
--- a/embeddedobj/source/inc/xcreator.hxx
+++ b/embeddedobj/source/inc/xcreator.hxx
@@ -23,6 +23,7 @@
#include <com/sun/star/embed/XEmbeddedObjectCreator.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <osl/diagnose.h>
#include <cppuhelper/implbase2.hxx>
#include <comphelper/mimeconfighelper.hxx>
diff --git a/embeddedobj/source/msole/closepreventer.cxx b/embeddedobj/source/msole/closepreventer.cxx
index 2076e5afaeab..e381aa8313f3 100644
--- a/embeddedobj/source/msole/closepreventer.cxx
+++ b/embeddedobj/source/msole/closepreventer.cxx
@@ -19,6 +19,8 @@
#include "closepreventer.hxx"
+#include <osl/diagnose.h>
+
void SAL_CALL OClosePreventer::queryClosing( const ::com::sun::star::lang::EventObject&, sal_Bool )
throw (::com::sun::star::util::CloseVetoException, ::com::sun::star::uno::RuntimeException, std::exception)
{
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index 7b9fe7827865..df15f97499de 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -42,6 +42,7 @@
#include <comphelper/storagehelper.hxx>
#include <comphelper/mimeconfighelper.hxx>
#include <comphelper/classids.hxx>
+#include <osl/diagnose.h>
#include <osl/thread.hxx>
#include <closepreventer.hxx>
diff --git a/embeddedobj/source/msole/xolefactory.hxx b/embeddedobj/source/msole/xolefactory.hxx
index eefaf2725f69..b4dac71a4bc4 100644
--- a/embeddedobj/source/msole/xolefactory.hxx
+++ b/embeddedobj/source/msole/xolefactory.hxx
@@ -24,6 +24,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase2.hxx>
+#include <osl/diagnose.h>
class OleEmbeddedObjectFactory : public ::cppu::WeakImplHelper2<