tdf#42949 Fix IWYU warnings in unotest/

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Ia33a10041f2411361cc849241d51b614754cda00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87310
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Gabor Kelemen 2020-01-23 23:21:44 +01:00 committed by Miklos Vajna
parent c51a43bd70
commit db17b61165
10 changed files with 6 additions and 22 deletions

View file

@ -0,0 +1,2 @@
---
assumeFilename: unotest/source/cpp/officeconnection.cxx

View file

@ -10,7 +10,6 @@
#include <sal/config.h>
#include <unotest/bootstrapfixturebase.hxx>
#include <rtl/bootstrap.hxx>
#include <comphelper/processfactory.hxx>
#include <basic/sbstar.hxx>

View file

@ -21,7 +21,6 @@
#include <osl/diagnose.h>
#include <rtl/bootstrap.hxx>
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
#include "getargument.hxx"

View file

@ -22,6 +22,8 @@
#include <sal/config.h>
#include <rtl/ustring.hxx>
namespace test {
namespace detail {

View file

@ -19,7 +19,6 @@
#include <sal/config.h>
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
#include <unotest/gettestargument.hxx>

View file

@ -11,14 +11,12 @@
#include <vector>
#include <com/sun/star/frame/XComponentLoader.hpp>
#include <com/sun/star/document/MacroExecMode.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/DispatchHelper.hpp>
#include <basic/basrdll.hxx>
#include <cppunit/TestAssert.h>
#include <rtl/ustrbuf.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/processfactory.hxx>

View file

@ -30,7 +30,6 @@
#include <osl/test/uniquepipename.hxx>
#include <osl/time.h>
#include <sal/macros.h>
#include <sal/types.h>
#include <unotest/officeconnection.hxx>
#include <unotest/toabsolutefileurl.hxx>

View file

@ -20,7 +20,6 @@
#include <sal/config.h>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <osl/file.hxx>
#include <osl/process.h>
#include <rtl/ustring.hxx>

View file

@ -17,29 +17,18 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <limits>
#include <string>
#include <iostream>
#include <com/sun/star/uno/Exception.hpp>
#include <cppuhelper/bootstrap.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/exc_hlp.hxx>
#include <cppunit/Message.h>
#include <osl/thread.h>
#include <rtl/string.hxx>
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <cppunittester/protectorfactory.hxx>
#include <cppunit/Protector.h>
namespace {

View file

@ -18,7 +18,6 @@
*/
#include <string>
#include <iostream>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Exception.hpp>
@ -26,11 +25,10 @@
#include <cppunit/Message.h>
#include <osl/thread.h>
#include <rtl/string.hxx>
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <cppunittester/protectorfactory.hxx>
#include <cppunit/Protector.h>
namespace {