diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-14 22:52:35 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-17 11:06:53 +0100 |
commit | 6a0fe37dec107392fbe468a35b89071b9a93d2c1 (patch) | |
tree | 4334feae68fa1ddc1ef293cd46ef483f44081c1c /svl | |
parent | 30f3b36e07ce37a3fe1909fb4b1419a00d2fdd81 (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 'svl')
28 files changed, 31 insertions, 0 deletions
diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index a75ba608b124..857d3e21e82b 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/uno/Any.h> #include <com/sun/star/uno/Sequence.hxx> #include <osl/mutex.hxx> +#include <osl/diagnose.h> #include <svl/smplhint.hxx> #include <rtl/instance.hxx> #include <unotools/syslocale.hxx> diff --git a/svl/source/config/itemholder2.cxx b/svl/source/config/itemholder2.cxx index c11b38966136..5e46847dc7b5 100644 --- a/svl/source/config/itemholder2.cxx +++ b/svl/source/config/itemholder2.cxx @@ -20,6 +20,7 @@ #include "itemholder2.hxx" +#include <osl/diagnose.h> #include <comphelper/processfactory.hxx> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/configuration/theDefaultProvider.hpp> diff --git a/svl/source/inc/fsfactory.hxx b/svl/source/inc/fsfactory.hxx index a53a26058cd9..6196e840f22a 100644 --- a/svl/source/inc/fsfactory.hxx +++ b/svl/source/inc/fsfactory.hxx @@ -24,6 +24,7 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase2.hxx> +#include <osl/diagnose.h> class FSStorageFactory : public ::cppu::WeakImplHelper2< ::com::sun::star::lang::XSingleServiceFactory, ::com::sun::star::lang::XServiceInfo > diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx index 536d2d717220..8e5bfe40d516 100644 --- a/svl/source/items/cenumitm.cxx +++ b/svl/source/items/cenumitm.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/uno/Any.hxx> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <svl/cenumitm.hxx> #include <svl/eitem.hxx> diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx index 1b08883275cb..7399633c6b87 100644 --- a/svl/source/items/cintitem.cxx +++ b/svl/source/items/cintitem.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/uno/Any.hxx> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <svl/cintitem.hxx> diff --git a/svl/source/items/cntwall.cxx b/svl/source/items/cntwall.cxx index d0f62021a6cc..6a9428893f0d 100644 --- a/svl/source/items/cntwall.cxx +++ b/svl/source/items/cntwall.cxx @@ -18,6 +18,7 @@ */ +#include <osl/diagnose.h> #include <tools/debug.hxx> #include <tools/stream.hxx> #include <tools/vcompat.hxx> diff --git a/svl/source/items/ctypeitm.cxx b/svl/source/items/ctypeitm.cxx index c713ad00e4cb..4e79d882780e 100644 --- a/svl/source/items/ctypeitm.cxx +++ b/svl/source/items/ctypeitm.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/uno/Any.hxx> +#include <osl/diagnose.h> #include <unotools/intlwrapper.hxx> #include <tools/stream.hxx> #include <svl/ctypeitm.hxx> diff --git a/svl/source/items/custritm.cxx b/svl/source/items/custritm.cxx index e03504175ff3..2adf2c7d6dcc 100644 --- a/svl/source/items/custritm.cxx +++ b/svl/source/items/custritm.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/uno/Any.hxx> +#include <osl/diagnose.h> #include <unotools/intlwrapper.hxx> #include <tools/stream.hxx> #include <svl/custritm.hxx> diff --git a/svl/source/items/globalnameitem.cxx b/svl/source/items/globalnameitem.cxx index 7b7dba99e96d..9a424bf77e79 100644 --- a/svl/source/items/globalnameitem.cxx +++ b/svl/source/items/globalnameitem.cxx @@ -23,6 +23,8 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <osl/diagnose.h> + #include <comphelper/processfactory.hxx> #include <svl/globalnameitem.hxx> diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx index 681a32373a0b..f71c72e4bf9b 100644 --- a/svl/source/items/intitem.cxx +++ b/svl/source/items/intitem.cxx @@ -20,6 +20,7 @@ #include <svl/intitem.hxx> #include <com/sun/star/uno/Any.hxx> +#include <osl/diagnose.h> #include <tools/bigint.hxx> #include <tools/stream.hxx> #include <svl/metitem.hxx> diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 129622be7d26..5a56912f8c20 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -22,6 +22,7 @@ #include <stdio.h> #include <svl/itempool.hxx> +#include <osl/diagnose.h> #include "whassert.hxx" #include <svl/SfxBroadcaster.hxx> #include <svl/smplhint.hxx> diff --git a/svl/source/items/lckbitem.cxx b/svl/source/items/lckbitem.cxx index a203fdbbf7a9..bb7bb89a9fa4 100644 --- a/svl/source/items/lckbitem.cxx +++ b/svl/source/items/lckbitem.cxx @@ -19,6 +19,7 @@ #include <svl/lckbitem.hxx> #include <svl/poolitem.hxx> +#include <osl/diagnose.h> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> diff --git a/svl/source/items/nranges.cxx b/svl/source/items/nranges.cxx index 47ccd03636c6..35b2e482a0bb 100644 --- a/svl/source/items/nranges.cxx +++ b/svl/source/items/nranges.cxx @@ -22,6 +22,8 @@ // compiled via include from itemset.cxx only! #include <boost/scoped_array.hpp> +#include <osl/diagnose.h> + #ifdef DBG_UTIL #define DBG_CHECK_RANGES(sal_uInt16, pArr) \ diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index c73f583f8f71..e45510723d30 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -20,6 +20,7 @@ #include <svl/poolitem.hxx> #include <tools/stream.hxx> +#include <osl/diagnose.h> TYPEINIT0(SfxPoolItem); TYPEINIT1(SfxVoidItem, SfxPoolItem); diff --git a/svl/source/items/ptitem.cxx b/svl/source/items/ptitem.cxx index 11d10aaf6b16..56dfd45fd67f 100644 --- a/svl/source/items/ptitem.cxx +++ b/svl/source/items/ptitem.cxx @@ -21,6 +21,7 @@ #include <svl/ptitem.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/awt/Point.hpp> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <tools/mapunit.hxx> diff --git a/svl/source/items/rectitem.cxx b/svl/source/items/rectitem.cxx index b44cc94df511..bd8e57c66b80 100644 --- a/svl/source/items/rectitem.cxx +++ b/svl/source/items/rectitem.cxx @@ -21,6 +21,7 @@ #include <svl/rectitem.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/awt/Rectangle.hpp> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <svl/poolitem.hxx> diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx index ef5e6aefedb7..1b0f35cad942 100644 --- a/svl/source/items/slstitm.cxx +++ b/svl/source/items/slstitm.cxx @@ -22,6 +22,7 @@ #include <svl/poolitem.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <stringio.hxx> diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx index 18e88ee041e3..db0244ff43b4 100644 --- a/svl/source/items/srchitem.cxx +++ b/svl/source/items/srchitem.cxx @@ -19,6 +19,7 @@ #include <svl/srchitem.hxx> #include <sal/macros.h> +#include <osl/diagnose.h> #include <unotools/searchopt.hxx> #include <com/sun/star/util/XReplaceable.hpp> diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index c4d77698cde4..0f460c587823 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/lang/XComponent.hpp> #include <tools/tenccvt.hxx> +#include <osl/diagnose.h> #include <comphelper/processfactory.hxx> #include <unotools/intlwrapper.hxx> #include <svl/smplhint.hxx> diff --git a/svl/source/items/szitem.cxx b/svl/source/items/szitem.cxx index 3f0e3b3ddb1d..46cff2d7a2ad 100644 --- a/svl/source/items/szitem.cxx +++ b/svl/source/items/szitem.cxx @@ -21,6 +21,7 @@ #include <svl/szitem.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/awt/Size.hpp> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <svl/poolitem.hxx> diff --git a/svl/source/items/visitem.cxx b/svl/source/items/visitem.cxx index 322c178ffa83..a8a92cd80487 100644 --- a/svl/source/items/visitem.cxx +++ b/svl/source/items/visitem.cxx @@ -19,6 +19,7 @@ #include <svl/visitem.hxx> #include <com/sun/star/uno/Any.hxx> +#include <osl/diagnose.h> #include <tools/stream.hxx> TYPEINIT1_AUTOFACTORY(SfxVisibilityItem, SfxPoolItem); diff --git a/svl/source/misc/inethist.cxx b/svl/source/misc/inethist.cxx index fa96e4b693d0..c7e70569e8fe 100644 --- a/svl/source/misc/inethist.cxx +++ b/svl/source/misc/inethist.cxx @@ -25,6 +25,8 @@ #include <boost/noncopyable.hpp> #include <rtl/instance.hxx> #include <rtl/crc.h> +#include <osl/diagnose.h> +#include <osl/getglobalmutex.hxx> #include <tools/solar.h> #include <tools/debug.hxx> #include <tools/urlobj.hxx> diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx index b87cbf9f499f..d332d9a55238 100644 --- a/svl/source/misc/inettype.cxx +++ b/svl/source/misc/inettype.cxx @@ -25,6 +25,7 @@ #include <tools/wldcrd.hxx> #include <tools/inetmime.hxx> #include <rtl/instance.hxx> +#include <osl/diagnose.h> #include <svl/inettype.hxx> #include <svl/svl.hrc> diff --git a/svl/source/misc/strmadpt.cxx b/svl/source/misc/strmadpt.cxx index 207e52137668..eb4568bb06a1 100644 --- a/svl/source/misc/strmadpt.cxx +++ b/svl/source/misc/strmadpt.cxx @@ -25,6 +25,7 @@ #include <set> #include <string.h> +#include <osl/diagnose.h> #include <rtl/alloc.h> #include <svl/instrm.hxx> #include <svl/outstrm.hxx> diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx index a773860f17e0..9cfde4162113 100644 --- a/svl/source/numbers/numfmuno.cxx +++ b/svl/source/numbers/numfmuno.cxx @@ -20,6 +20,7 @@ #include <tools/color.hxx> #include <i18nlangtag/mslangid.hxx> #include <osl/mutex.hxx> +#include <osl/diagnose.h> #include <rtl/ustring.hxx> #include <com/sun/star/util/Date.hpp> diff --git a/svl/source/numbers/supservs.cxx b/svl/source/numbers/supservs.cxx index e6995ab16693..34f9b440e6ad 100644 --- a/svl/source/numbers/supservs.cxx +++ b/svl/source/numbers/supservs.cxx @@ -24,6 +24,7 @@ #include <i18nlangtag/mslangid.hxx> #include <tools/debug.hxx> #include <osl/mutex.hxx> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <svl/strmadpt.hxx> #include <svl/instrm.hxx> diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index b5ad28a9d2b1..01573f8ee6fb 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -31,6 +31,7 @@ #include <com/sun/star/task/MasterPasswordRequest.hpp> #include <com/sun/star/task/NoMasterException.hpp> +#include <osl/diagnose.h> #include <rtl/cipher.h> #include <rtl/digest.h> #include <rtl/byteseq.hxx> diff --git a/svl/source/passwordcontainer/syscreds.cxx b/svl/source/passwordcontainer/syscreds.cxx index b402a35e2cdc..bcfacb07c6a6 100644 --- a/svl/source/passwordcontainer/syscreds.cxx +++ b/svl/source/passwordcontainer/syscreds.cxx @@ -19,6 +19,7 @@ #include "syscreds.hxx" #include <com/sun/star/beans/PropertyValue.hpp> +#include <osl/diagnose.h> using namespace com::sun::star; |