diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-01-25 00:00:56 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-29 13:48:23 +0100 |
commit | 2660f132cc98c0fe14d5055a91a7cf126d5139f6 (patch) | |
tree | 03260ddac07fe55b5c3f4e6be68712217758a3ff /cppu/qa | |
parent | bdf40cca40ddbea8c5c903f2695d6f958c87bb3b (diff) |
tdf#42949 Fix IWYU warnings in cppu/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ia1b2f0a9c99acc7ac538f3b41c1b6757d414db35
Reviewed-on: https://gerrit.libreoffice.org/66970
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cppu/qa')
-rw-r--r-- | cppu/qa/cppumaker/test_cppumaker.cxx | 1 | ||||
-rw-r--r-- | cppu/qa/test_any.cxx | 6 | ||||
-rw-r--r-- | cppu/qa/test_reference.cxx | 4 | ||||
-rw-r--r-- | cppu/qa/test_unotype.cxx | 5 |
4 files changed, 2 insertions, 14 deletions
diff --git a/cppu/qa/cppumaker/test_cppumaker.cxx b/cppu/qa/cppumaker/test_cppumaker.cxx index cc310188b105..3ea46f5c93ce 100644 --- a/cppu/qa/cppumaker/test_cppumaker.cxx +++ b/cppu/qa/cppumaker/test_cppumaker.cxx @@ -363,7 +363,6 @@ #include <rtl/ustring.hxx> #include <cstddef> -#include <iostream> namespace test { namespace codemaker { namespace cppumaker { diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index 7787176ffd3b..b8a8037f8f48 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -22,9 +22,7 @@ #include <stdlib.h> #include <type_traits> -#include <cppunit/TestSuite.h> #include <cppunit/TestFixture.h> -#include <cppunit/TestCase.h> #include <cppunit/plugin/TestPlugIn.h> #include <cppunit/extensions/HelperMacros.h> @@ -46,13 +44,9 @@ #include <Struct2b.hpp> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Type.hxx> -#include <com/sun/star/uno/XInterface.hpp> #include <osl/interlck.h> -#include <rtl/string.h> -#include <rtl/ustring.h> #include <rtl/ustring.hxx> namespace { diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx index d29fc8da87eb..79ff90ae4101 100644 --- a/cppu/qa/test_reference.cxx +++ b/cppu/qa/test_reference.cxx @@ -19,16 +19,12 @@ #include <sal/types.h> -#include <cppunit/TestSuite.h> #include <cppunit/TestFixture.h> -#include <cppunit/TestCase.h> #include <cppunit/plugin/TestPlugIn.h> #include <cppunit/extensions/HelperMacros.h> #include <Interface1.hpp> -#include <rtl/ustring.hxx> - namespace { diff --git a/cppu/qa/test_unotype.cxx b/cppu/qa/test_unotype.cxx index 08fa36d05ee6..910afec9db95 100644 --- a/cppu/qa/test_unotype.cxx +++ b/cppu/qa/test_unotype.cxx @@ -19,9 +19,7 @@ #include <sal/types.h> -#include <cppunit/TestSuite.h> #include <cppunit/TestFixture.h> -#include <cppunit/TestCase.h> #include <cppunit/plugin/TestPlugIn.h> #include <cppunit/extensions/HelperMacros.h> @@ -31,7 +29,6 @@ #include <com/sun/star/beans/PropertyChangeEvent.hpp> #include <com/sun/star/lang/EventObject.hpp> #include <com/sun/star/uno/Exception.hpp> -#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Type.hxx> @@ -45,6 +42,8 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } } } } +namespace com { namespace sun { namespace star { namespace uno { template <class interface_type> class Reference; } } } } + namespace { struct DerivedStruct1: css::lang::EventObject {}; |