summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-04-14 22:31:33 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2018-04-15 11:17:24 +0200
commitb4d36b5dcfc84b2aa8913ac69ad12077713cee84 (patch)
treedafa07a7290a7e913eeb3d7a23c4366d01fcf2d8 /sc
parentc8c74a0b4ca6f3a3619f423b6548c80c52392ae0 (diff)
remove some unused comphelper includes
and fix the fallout Change-Id: I5d0c2040f57a3ac354a7e277592da31d09a5f359 Reviewed-on: https://gerrit.libreoffice.org/52894 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/calcconfig.hxx2
-rw-r--r--sc/qa/unit/screenshots/screenshots.cxx2
-rw-r--r--sc/source/core/data/poolhelp.cxx1
-rw-r--r--sc/source/core/data/table3.cxx1
-rw-r--r--sc/source/core/tool/editutil.cxx1
-rw-r--r--sc/source/core/tool/numformat.cxx1
-rw-r--r--sc/source/core/tool/webservicelink.cxx1
-rw-r--r--sc/source/filter/excel/xestyle.cxx1
-rw-r--r--sc/source/filter/excel/xichart.cxx1
-rw-r--r--sc/source/filter/orcus/xmlcontext.cxx1
-rw-r--r--sc/source/filter/xml/XMLCalculationSettingsContext.cxx1
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx1
-rw-r--r--sc/source/filter/xml/xmldrani.cxx1
-rw-r--r--sc/source/filter/xml/xmlwrap.cxx1
-rw-r--r--sc/source/ui/vba/vbarange.cxx1
-rw-r--r--sc/source/ui/vba/vbawindow.cxx1
-rw-r--r--sc/source/ui/vba/vbawsfunction.cxx1
17 files changed, 9 insertions, 10 deletions
diff --git a/sc/inc/calcconfig.hxx b/sc/inc/calcconfig.hxx
index 77b16ab92162..d14ff39b183e 100644
--- a/sc/inc/calcconfig.hxx
+++ b/sc/inc/calcconfig.hxx
@@ -20,8 +20,6 @@
#include <formula/opcode.hxx>
#include <rtl/ustring.hxx>
-#include <comphelper/configurationlistener.hxx>
-
// have to match the registry values
enum ScRecalcOptions
{
diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx
index d7d6a45e9231..5db47d1baa3b 100644
--- a/sc/qa/unit/screenshots/screenshots.cxx
+++ b/sc/qa/unit/screenshots/screenshots.cxx
@@ -11,8 +11,6 @@
#include <test/screenshot_test.hxx>
#include <com/sun/star/frame/Desktop.hpp>
-#include <comphelper/dispatchcommand.hxx>
-#include <comphelper/propertysequence.hxx>
#include <comphelper/string.hxx>
#include <editeng/editids.hrc>
#include <editeng/editview.hxx>
diff --git a/sc/source/core/data/poolhelp.cxx b/sc/source/core/data/poolhelp.cxx
index a6e1ba765933..9acd3d3e8f02 100644
--- a/sc/source/core/data/poolhelp.cxx
+++ b/sc/source/core/data/poolhelp.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <comphelper/processfactory.hxx>
#include <svl/zforlist.hxx>
#include <editeng/editeng.hxx>
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index dfe244b415f6..a0df3a54c575 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -18,6 +18,7 @@
*/
#include <rtl/math.hxx>
+#include <comphelper/processfactory.hxx>
#include <comphelper/random.hxx>
#include <unotools/textsearch.hxx>
#include <svl/zforlist.hxx>
diff --git a/sc/source/core/tool/editutil.cxx b/sc/source/core/tool/editutil.cxx
index 6e4881eb1eab..4ce542a51b20 100644
--- a/sc/source/core/tool/editutil.cxx
+++ b/sc/source/core/tool/editutil.cxx
@@ -18,6 +18,7 @@
*/
#include <scitems.hxx>
+#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <editeng/eeitem.hxx>
diff --git a/sc/source/core/tool/numformat.cxx b/sc/source/core/tool/numformat.cxx
index 4d18dc4811a3..ec8bf642e5a6 100644
--- a/sc/source/core/tool/numformat.cxx
+++ b/sc/source/core/tool/numformat.cxx
@@ -22,6 +22,7 @@
#include <scitems.hxx>
#include <document.hxx>
+#include <comphelper/processfactory.hxx>
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <svl/intitem.hxx>
diff --git a/sc/source/core/tool/webservicelink.cxx b/sc/source/core/tool/webservicelink.cxx
index 9dd5fa7007b8..e383ed7b2efd 100644
--- a/sc/source/core/tool/webservicelink.cxx
+++ b/sc/source/core/tool/webservicelink.cxx
@@ -8,6 +8,7 @@
*/
#include <comphelper/fileformat.h>
+#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <osl/thread.h>
#include <sfx2/linkmgr.hxx>
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index 6ac14466b7d3..169d0d77de5e 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -25,6 +25,7 @@
#include <iterator>
#include <set>
#include <com/sun/star/i18n/ScriptType.hpp>
+#include <comphelper/processfactory.hxx>
#include <rtl/tencinfo.h>
#include <vcl/font.hxx>
#include <svl/zformat.hxx>
diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx
index 055663df4782..3ae429f68a90 100644
--- a/sc/source/filter/excel/xichart.cxx
+++ b/sc/source/filter/excel/xichart.cxx
@@ -74,6 +74,7 @@
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
#include <com/sun/star/chart2/data/XDataSink.hpp>
#include <com/sun/star/chart2/data/LabeledDataSequence.hpp>
+#include <comphelper/processfactory.hxx>
#include <o3tl/numeric.hxx>
#include <o3tl/make_unique.hxx>
#include <sfx2/objsh.hxx>
diff --git a/sc/source/filter/orcus/xmlcontext.cxx b/sc/source/filter/orcus/xmlcontext.cxx
index 1bc8d595f63e..1e343ff57a38 100644
--- a/sc/source/filter/orcus/xmlcontext.cxx
+++ b/sc/source/filter/orcus/xmlcontext.cxx
@@ -25,6 +25,7 @@
#include <orcus/sax_parser_base.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
+#include <comphelper/processfactory.hxx>
#include <string>
#include <sstream>
diff --git a/sc/source/filter/xml/XMLCalculationSettingsContext.cxx b/sc/source/filter/xml/XMLCalculationSettingsContext.cxx
index 18771bbb95e1..fd7aab6ddb23 100644
--- a/sc/source/filter/xml/XMLCalculationSettingsContext.cxx
+++ b/sc/source/filter/xml/XMLCalculationSettingsContext.cxx
@@ -26,7 +26,6 @@
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/nmspmap.hxx>
#include <sax/tools/converter.hxx>
-#include <comphelper/extract.hxx>
using namespace com::sun::star;
using namespace xmloff::token;
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx
index f6610a62a010..f8095c33eabf 100644
--- a/sc/source/filter/xml/xmlcelli.cxx
+++ b/sc/source/filter/xml/xmlcelli.cxx
@@ -102,7 +102,6 @@
#include <rtl/ustrbuf.hxx>
#include <tools/date.hxx>
#include <i18nlangtag/lang.h>
-#include <comphelper/extract.hxx>
#include <o3tl/make_unique.hxx>
using namespace com::sun::star;
diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx
index a683169a3f28..6297a62c7c7a 100644
--- a/sc/source/filter/xml/xmldrani.cxx
+++ b/sc/source/filter/xml/xmldrani.cxx
@@ -45,7 +45,6 @@
#include <sax/tools/converter.hxx>
#include <com/sun/star/sheet/DataImportMode.hpp>
-#include <comphelper/extract.hxx>
#include <memory>
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx
index 0734511f3f96..069eae8d9ac0 100644
--- a/sc/source/filter/xml/xmlwrap.cxx
+++ b/sc/source/filter/xml/xmlwrap.cxx
@@ -43,7 +43,6 @@
#include <com/sun/star/xml/sax/Writer.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <comphelper/extract.hxx>
#include <comphelper/propertysetinfo.hxx>
#include <comphelper/genericpropertyset.hxx>
#include <com/sun/star/packages/WrongPasswordException.hpp>
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 797b33f41132..0ed07439bec3 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -158,7 +158,6 @@
#include <queryentry.hxx>
#include <markdata.hxx>
#include <basic/sberrors.hxx>
-#include <comphelper/anytostring.hxx>
#include <cppuhelper/implbase.hxx>
#include <global.hxx>
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index bcb4371d21a9..4fe117f8ac66 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -35,6 +35,7 @@
#include <com/sun/star/awt/XWindow2.hpp>
#include <com/sun/star/awt/PosSize.hpp>
#include <basic/sberrors.hxx>
+#include <comphelper/sequence.hxx>
#include <cppuhelper/implbase.hxx>
#include <docsh.hxx>
diff --git a/sc/source/ui/vba/vbawsfunction.cxx b/sc/source/ui/vba/vbawsfunction.cxx
index 79642e890f17..ebcd120b6f87 100644
--- a/sc/source/ui/vba/vbawsfunction.cxx
+++ b/sc/source/ui/vba/vbawsfunction.cxx
@@ -28,7 +28,6 @@
#include <com/sun/star/reflection/XIdlMethod.hpp>
#include <com/sun/star/beans/MethodConcept.hpp>
#include <cppuhelper/queryinterface.hxx>
-#include <comphelper/anytostring.hxx>
#include "vbawsfunction.hxx"
#include <compiler.hxx>