tdf#42949 Fix IWYU warnings in sccomp/

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

Change-Id: Ie2d1a6dad1dc17777f05aa033ea5fed1807261ce
Reviewed-on: https://gerrit.libreoffice.org/72636
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Gabor Kelemen
2019-05-28 10:08:10 +02:00
committed by Miklos Vajna
parent be17c39aab
commit 77450fa1c9
8 changed files with 19 additions and 20 deletions
+8
View File
@@ -0,0 +1,8 @@
---
assumeFilename: sccomp/source/solver/SolverComponent.cxx
blacklist:
sccomp/source/solver/SolverComponent.hxx:
# Base class needs full type
- com/sun/star/sheet/XSolver.hpp
- com/sun/star/sheet/XSolverDescription.hpp
- com/sun/star/lang/XServiceInfo.hpp
-7
View File
@@ -9,20 +9,13 @@
#include <sal/config.h>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sheet/XSolver.hpp>
#include <com/sun/star/sheet/XSolverDescription.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <com/sun/star/text/XTextRange.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <test/calc_unoapi_test.hxx>
#include <address.hxx>
using namespace css;
namespace
-4
View File
@@ -9,15 +9,11 @@
#include <sal/config.h>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sheet/XSolver.hpp>
#include <com/sun/star/sheet/XSolverDescription.hpp>
#include <test/bootstrapfixture.hxx>
#include <address.hxx>
using namespace css;
namespace {
+2 -1
View File
@@ -25,13 +25,14 @@
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <rtl/math.hxx>
#include <stdexcept>
#include <vector>
#include <float.h>
namespace com::sun::star::uno { class XComponentContext; }
using namespace com::sun::star;
class CoinMPSolver : public SolverComponent
+2 -3
View File
@@ -37,7 +37,6 @@
************************************************************************/
#include <sal/config.h>
#include <config_lgpl.h>
#undef LANGUAGE_NONE
#if defined _WIN32
@@ -57,12 +56,12 @@
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <rtl/math.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <memory>
#include <vector>
namespace com::sun::star::uno { class XComponentContext; }
using namespace com::sun::star;
class LpsolveSolver : public SolverComponent
-3
View File
@@ -26,11 +26,8 @@
#include <com/sun/star/table/CellAddress.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <vector>
#include <unotools/resmgr.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
using namespace com::sun::star;
+2 -1
View File
@@ -23,7 +23,6 @@
#include <com/sun/star/sheet/XSolver.hpp>
#include <com/sun/star/sheet/XSolverDescription.hpp>
#include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/table/XCell.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase.hxx>
#include <comphelper/broadcasthelper.hxx>
@@ -32,6 +31,8 @@
#include <unordered_map>
namespace com::sun::star::table { class XCell; }
// hash map for the coefficients of a dependent cell (objective or constraint)
// The size of each vector is the number of columns (variable cells) plus one, first entry is initial value.
+5 -1
View File
@@ -11,7 +11,6 @@
#include <sal/config.h>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
@@ -43,6 +42,11 @@
#include <strings.hrc>
namespace com::sun::star::uno
{
class XComponentContext;
}
using namespace css;
namespace