[Libreoffice-commits] core.git: include/salhelper salhelper/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 10 12:13:42 UTC 2018


 include/salhelper/condition.hxx |    3 ++-
 include/salhelper/refobj.hxx    |    1 -
 salhelper/source/condition.cxx  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d1a19ef614fd1bf115af15d3cb16e24150d4ceb7
Author:     Gabor Kelemen <kelemeng at ubuntu.com>
AuthorDate: Fri Aug 10 09:06:37 2018 +0200
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Fri Aug 10 14:13:16 2018 +0200

    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 at collabora.co.uk>

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;
 


More information about the Libreoffice-commits mailing list