diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-12-15 14:26:30 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-12-19 10:20:04 +0100 |
commit | 7ac769c1a915ea33d997f452f3b86eb11fa00c8a (patch) | |
tree | 46c7222b10210eb916b9cdcb05ddd064d7526d6e /test/source/text | |
parent | c1a4554c67fc975ead3f79b3511a76617e4615b3 (diff) |
tdf#42949 Fix IWYU warnings in test/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Id1ee9b6d44315443d023bdfbf9ae8e5aa2158ab2
Reviewed-on: https://gerrit.libreoffice.org/85171
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'test/source/text')
-rw-r--r-- | test/source/text/baseindex.cxx | 4 | ||||
-rw-r--r-- | test/source/text/textcontent.cxx | 2 | ||||
-rw-r--r-- | test/source/text/textsettings.cxx | 2 | ||||
-rw-r--r-- | test/source/text/xdocumentindex.cxx | 3 | ||||
-rw-r--r-- | test/source/text/xsimpletext.cxx | 2 | ||||
-rw-r--r-- | test/source/text/xtextcontent.cxx | 2 | ||||
-rw-r--r-- | test/source/text/xtextfield.cxx | 3 | ||||
-rw-r--r-- | test/source/text/xtextrange.cxx | 3 |
8 files changed, 8 insertions, 13 deletions
diff --git a/test/source/text/baseindex.cxx b/test/source/text/baseindex.cxx index f65028b49977..79ec57270af5 100644 --- a/test/source/text/baseindex.cxx +++ b/test/source/text/baseindex.cxx @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/TestAssert.h> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/graphic/XGraphic.hpp> @@ -15,14 +15,12 @@ #include <com/sun/star/text/XTextSection.hpp> #include <vcl/BitmapTools.hxx> -#include <vcl/graph.hxx> #include <vcl/pngwrite.hxx> #include <unotools/tempfile.hxx> #include <tools/stream.hxx> #include <test/unoapi_property_testers.hxx> #include <test/text/baseindex.hxx> -#include <test/testdllapi.hxx> namespace { diff --git a/test/source/text/textcontent.cxx b/test/source/text/textcontent.cxx index 36451bb7a37f..132981b2ac65 100644 --- a/test/source/text/textcontent.cxx +++ b/test/source/text/textcontent.cxx @@ -16,7 +16,7 @@ #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> -#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/TestAssert.h> using namespace css; diff --git a/test/source/text/textsettings.cxx b/test/source/text/textsettings.cxx index 88e78d98a5a8..880206e0963d 100644 --- a/test/source/text/textsettings.cxx +++ b/test/source/text/textsettings.cxx @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/TestAssert.h> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/test/source/text/xdocumentindex.cxx b/test/source/text/xdocumentindex.cxx index 0cae3a2986c6..9f9ad73c83a3 100644 --- a/test/source/text/xdocumentindex.cxx +++ b/test/source/text/xdocumentindex.cxx @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/TestAssert.h> #include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/text/XTextContent.hpp> @@ -15,7 +15,6 @@ #include <com/sun/star/text/XDocumentIndex.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <test/unoapi_property_testers.hxx> #include <test/text/xdocumentindex.hxx> namespace apitest diff --git a/test/source/text/xsimpletext.cxx b/test/source/text/xsimpletext.cxx index a3c1bbc1bfd1..23ea6c785eeb 100644 --- a/test/source/text/xsimpletext.cxx +++ b/test/source/text/xsimpletext.cxx @@ -11,7 +11,7 @@ #include <com/sun/star/text/XTextCursor.hpp> #include <com/sun/star/text/ControlCharacter.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> -#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/TestAssert.h> using namespace css; using namespace css::uno; diff --git a/test/source/text/xtextcontent.cxx b/test/source/text/xtextcontent.cxx index 2f0686b094b3..b4b60aaead52 100644 --- a/test/source/text/xtextcontent.cxx +++ b/test/source/text/xtextcontent.cxx @@ -11,7 +11,7 @@ #include <com/sun/star/text/XTextContent.hpp> #include <com/sun/star/text/XTextRange.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> -#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/TestAssert.h> using namespace css; using namespace css::uno; diff --git a/test/source/text/xtextfield.cxx b/test/source/text/xtextfield.cxx index 87fff9db3f83..ceefcceed827 100644 --- a/test/source/text/xtextfield.cxx +++ b/test/source/text/xtextfield.cxx @@ -8,13 +8,12 @@ */ #include <test/text/xtextfield.hxx> -#include <rtl/string.hxx> #include <com/sun/star/text/XTextField.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/TestAssert.h> using namespace css; diff --git a/test/source/text/xtextrange.cxx b/test/source/text/xtextrange.cxx index 6eaa4123c217..64428b476e6e 100644 --- a/test/source/text/xtextrange.cxx +++ b/test/source/text/xtextrange.cxx @@ -8,12 +8,11 @@ */ #include <test/text/xtextrange.hxx> -#include <rtl/string.hxx> #include <com/sun/star/text/XText.hpp> #include <com/sun/star/text/XTextRange.hpp> -#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/TestAssert.h> using namespace css; |