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:
parent
c51a43bd70
commit
db17b61165
10 changed files with 6 additions and 22 deletions
2
unotest/IwyuFilter_unotest.yaml
Normal file
2
unotest/IwyuFilter_unotest.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
assumeFilename: unotest/source/cpp/officeconnection.cxx
|
|
@ -10,7 +10,6 @@
|
|||
#include <sal/config.h>
|
||||
|
||||
#include <unotest/bootstrapfixturebase.hxx>
|
||||
#include <rtl/bootstrap.hxx>
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <basic/sbstar.hxx>
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include <osl/diagnose.h>
|
||||
#include <rtl/bootstrap.hxx>
|
||||
#include <rtl/ustring.h>
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
#include "getargument.hxx"
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
namespace test {
|
||||
|
||||
namespace detail {
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <rtl/ustring.h>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <unotest/gettestargument.hxx>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue