From 6a0fe37dec107392fbe468a35b89071b9a93d2c1 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 14 Nov 2014 22:52:35 +0100 Subject: 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 --- embeddedobj/source/commonembedding/xfactory.hxx | 1 + embeddedobj/source/inc/xcreator.hxx | 1 + embeddedobj/source/msole/closepreventer.cxx | 2 ++ embeddedobj/source/msole/olepersist.cxx | 1 + embeddedobj/source/msole/xolefactory.hxx | 1 + 5 files changed, 6 insertions(+) (limited to 'embeddedobj') 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 #include +#include #include #include 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 #include +#include #include #include 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 + 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 #include #include +#include #include #include 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 #include +#include class OleEmbeddedObjectFactory : public ::cppu::WeakImplHelper2< -- cgit