diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-08-10 09:06:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-10 14:13:16 +0200 |
commit | d1a19ef614fd1bf115af15d3cb16e24150d4ceb7 (patch) | |
tree | 288346f91e1b157fae7f2035b43ae8a3c59c2e5d | |
parent | 1da9b165b9c47f52db97fe70fe3e83626e580cdd (diff) |
tdf#42949 Fix IWYU warnings in include/salhelper/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Iaef3e980a96e8a831458e42540795b922bec5ab4
Reviewed-on: https://gerrit.libreoffice.org/58810
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r-- | include/salhelper/condition.hxx | 3 | ||||
-rw-r--r-- | include/salhelper/refobj.hxx | 1 | ||||
-rw-r--r-- | salhelper/source/condition.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/salhelper/condition.hxx b/include/salhelper/condition.hxx index 0359a6de807e..06cadec852f3 100644 --- a/include/salhelper/condition.hxx +++ b/include/salhelper/condition.hxx @@ -23,9 +23,10 @@ #include "osl/conditn.hxx" -#include "osl/mutex.hxx" #include "salhelper/salhelperdllapi.h" +namespace osl { class Mutex; } + namespace salhelper { class ConditionModifier; diff --git a/include/salhelper/refobj.hxx b/include/salhelper/refobj.hxx index 1d21661b7de8..65e636e121c8 100644 --- a/include/salhelper/refobj.hxx +++ b/include/salhelper/refobj.hxx @@ -24,7 +24,6 @@ #include "sal/types.h" #include "rtl/alloc.h" -#include "osl/diagnose.h" #include "osl/interlck.h" namespace salhelper diff --git a/salhelper/source/condition.cxx b/salhelper/source/condition.cxx index 1122fe8b32ff..a83cc753e0a7 100644 --- a/salhelper/source/condition.cxx +++ b/salhelper/source/condition.cxx @@ -20,7 +20,7 @@ #include <salhelper/condition.hxx> #include <osl/time.h> - +#include <osl/mutex.hxx> using namespace salhelper; |