From d1a19ef614fd1bf115af15d3cb16e24150d4ceb7 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Fri, 10 Aug 2018 09:06:37 +0200 Subject: [PATCH] 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 --- include/salhelper/condition.hxx | 3 ++- include/salhelper/refobj.hxx | 1 - 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 #include - +#include using namespace salhelper;