summaryrefslogtreecommitdiff
path: root/salhelper
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-12-26 16:58:46 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-09 08:41:50 +0100
commit54515a6a01a372729bf8a7f9e992c51f214ec9a6 (patch)
tree12548a2678760db1b4d7112ef00a8aba88f374f5 /salhelper
parentb4cd1acc00a4a0cdbcd350b4441156ea22a965c5 (diff)
tdf#42949 Fix IWYU warnings in salhelper/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here and only for files that are actually compiling Change-Id: I70357eade9552984fdb3b7590f1e8237a02a7d1d Reviewed-on: https://gerrit.libreoffice.org/65650 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'salhelper')
-rw-r--r--salhelper/IwyuFilter_salhelper.yaml2
-rw-r--r--salhelper/qa/test_api.cxx8
-rw-r--r--salhelper/source/dynload.cxx1
-rw-r--r--salhelper/source/timer.cxx1
4 files changed, 2 insertions, 10 deletions
diff --git a/salhelper/IwyuFilter_salhelper.yaml b/salhelper/IwyuFilter_salhelper.yaml
new file mode 100644
index 000000000000..f017243be88c
--- /dev/null
+++ b/salhelper/IwyuFilter_salhelper.yaml
@@ -0,0 +1,2 @@
+---
+assumeFilename: salhelper/source/dynload.cxx
diff --git a/salhelper/qa/test_api.cxx b/salhelper/qa/test_api.cxx
index 2e276860037c..dd45f4c730f2 100644
--- a/salhelper/qa/test_api.cxx
+++ b/salhelper/qa/test_api.cxx
@@ -30,14 +30,6 @@
#include <cppunit/plugin/TestPlugIn.h>
#include <memory>
-namespace salhelper {
- class Condition;
- class ConditionModifier;
- class ConditionWaiter;
- class ORealDynamicLoader;
- class SimpleReferenceObject;
-}
-
namespace {
std::type_info const & getConditionTypeInfo()
diff --git a/salhelper/source/dynload.cxx b/salhelper/source/dynload.cxx
index 63e3201f3ae7..d3b8e70fb292 100644
--- a/salhelper/source/dynload.cxx
+++ b/salhelper/source/dynload.cxx
@@ -18,7 +18,6 @@
*/
#include <salhelper/dynload.hxx>
-#include <rtl/ustrbuf.hxx>
namespace salhelper
{
diff --git a/salhelper/source/timer.cxx b/salhelper/source/timer.cxx
index b4e2dba961ee..8101b23875fb 100644
--- a/salhelper/source/timer.cxx
+++ b/salhelper/source/timer.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <salhelper/timer.hxx>
-#include <salhelper/simplereferenceobject.hxx>
#include <osl/thread.hxx>
#include <osl/conditn.hxx>