summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-11-29 22:26:58 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-12-01 14:56:43 +0100
commit107399d684bae9e58f5e4020f15eb8a689f1db82 (patch)
treed4acfa1fab53bf624a245f893fcca6221b56230c /svl/source
parent9c94bae963ef5019f6ca0394d076b1288969aa53 (diff)
tdf#42949 Fix new IWYU warnings in directories s*
Except recently checked sc, sd, svx, sw Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ice1b86628e4f22a39f307b9c5fa567b6ab9d5acb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106917 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/config/itemholder2.cxx1
-rw-r--r--svl/source/crypto/cryptosign.cxx2
-rw-r--r--svl/source/fsstor/fsfactory.cxx1
-rw-r--r--svl/source/fsstor/fsstorage.cxx1
-rw-r--r--svl/source/inc/fsfactory.hxx1
-rw-r--r--svl/source/items/aeitem.cxx3
-rw-r--r--svl/source/items/intitem.cxx2
-rw-r--r--svl/source/items/itempool.cxx2
-rw-r--r--svl/source/items/poolio.cxx1
-rw-r--r--svl/source/items/poolitem.cxx2
-rw-r--r--svl/source/items/style.cxx2
-rw-r--r--svl/source/notify/lstner.cxx1
-rw-r--r--svl/source/numbers/zforfind.hxx1
-rw-r--r--svl/source/numbers/zforscan.cxx1
-rw-r--r--svl/source/numbers/zforscan.hxx2
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx1
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.hxx2
-rw-r--r--svl/source/passwordcontainer/syscreds.cxx1
-rw-r--r--svl/source/undo/undo.cxx2
19 files changed, 5 insertions, 24 deletions
diff --git a/svl/source/config/itemholder2.cxx b/svl/source/config/itemholder2.cxx
index b444251b272f..564f11c88f33 100644
--- a/svl/source/config/itemholder2.cxx
+++ b/svl/source/config/itemholder2.cxx
@@ -21,7 +21,6 @@
#include "itemholder2.hxx"
#include <osl/diagnose.h>
-#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index 64f0fe4b59e0..ac2f6a0ee24b 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -23,7 +23,6 @@
#include <comphelper/random.hxx>
#include <com/sun/star/security/XCertificate.hpp>
#include <com/sun/star/uno/Sequence.hxx>
-#include <filter/msfilter/mscodec.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#if HAVE_FEATURE_NSS && !defined(_WIN32)
@@ -50,7 +49,6 @@
#if HAVE_FEATURE_NSS
-#include <com/sun/star/xml/crypto/XDigestContext.hpp>
#include <com/sun/star/xml/crypto/DigestID.hpp>
#include <com/sun/star/xml/crypto/NSSInitializer.hpp>
#include <mutex>
diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx
index 98ec1feb8c65..91fe8d35f983 100644
--- a/svl/source/fsstor/fsfactory.cxx
+++ b/svl/source/fsstor/fsfactory.cxx
@@ -19,7 +19,6 @@
#include <fsfactory.hxx>
-#include <cppuhelper/factory.hxx>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/io/IOException.hpp>
#include <comphelper/processfactory.hxx>
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx
index f9dc14472ae0..65af28e13d71 100644
--- a/svl/source/fsstor/fsstorage.cxx
+++ b/svl/source/fsstor/fsstorage.cxx
@@ -30,7 +30,6 @@
#include <com/sun/star/ucb/IOErrorCode.hpp>
#include <com/sun/star/container/ElementExistException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
-#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/io/IOException.hpp>
#include <com/sun/star/io/XTruncate.hpp>
diff --git a/svl/source/inc/fsfactory.hxx b/svl/source/inc/fsfactory.hxx
index 5bec28898588..dd053f6d636f 100644
--- a/svl/source/inc/fsfactory.hxx
+++ b/svl/source/inc/fsfactory.hxx
@@ -22,7 +22,6 @@
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase.hxx>
#include <osl/diagnose.h>
diff --git a/svl/source/items/aeitem.cxx b/svl/source/items/aeitem.cxx
index 7c85153b63a8..9f169c5bd032 100644
--- a/svl/source/items/aeitem.cxx
+++ b/svl/source/items/aeitem.cxx
@@ -20,9 +20,6 @@
#include <rtl/ustring.hxx>
#include <svl/aeitem.hxx>
-#include <climits>
-#include <cstddef>
-
SfxAllEnumItem::SfxAllEnumItem(sal_uInt16 which):
SfxPoolItem(which)
{
diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx
index 072de0501f40..e3850c8bf5a1 100644
--- a/svl/source/items/intitem.cxx
+++ b/svl/source/items/intitem.cxx
@@ -24,7 +24,7 @@
#include <tools/bigint.hxx>
#include <svl/metitem.hxx>
#include <libxml/xmlwriter.h>
-#include <boost/property_tree/json_parser.hpp>
+#include <boost/property_tree/ptree.hpp>
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 6deec84947c0..44c0cf534b5d 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -22,7 +22,6 @@
#include <string.h>
#include <libxml/xmlwriter.h>
-#include <tools/solar.h>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <svl/SfxBroadcaster.hxx>
@@ -30,7 +29,6 @@
#include <svl/itemset.hxx>
#include <poolio.hxx>
-#include <algorithm>
#include <cassert>
#include <vector>
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index 313c431e9866..14613824eae4 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -22,7 +22,6 @@
#include <sal/log.hxx>
#include <svl/itempool.hxx>
-#include <algorithm>
#include <memory>
/// clear array of PoolItem variants
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx
index a115605f5c78..6cd15433e8b3 100644
--- a/svl/source/items/poolitem.cxx
+++ b/svl/source/items/poolitem.cxx
@@ -23,7 +23,7 @@
#include <osl/diagnose.h>
#include <libxml/xmlwriter.h>
#include <typeinfo>
-#include <boost/property_tree/json_parser.hpp>
+#include <boost/property_tree/ptree.hpp>
//////////////////////////////////////////////////////////////////////////////
// list of classes derived from SfxPoolItem
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 2d7eaf3c222f..617b42e41cdc 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -35,8 +35,6 @@
#include <comphelper/servicehelper.hxx>
#include <rtl/ustrbuf.hxx>
-#include <string.h>
-
#ifdef DBG_UTIL
namespace {
diff --git a/svl/source/notify/lstner.cxx b/svl/source/notify/lstner.cxx
index 7a037a1b87db..40a59960a0d3 100644
--- a/svl/source/notify/lstner.cxx
+++ b/svl/source/notify/lstner.cxx
@@ -27,7 +27,6 @@
#include <cassert>
#include <vector>
#include <memory>
-#include <map>
// copy ctor of class SfxListener
diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx
index dfdbc0e7be1e..472cf156ddf9 100644
--- a/svl/source/numbers/zforfind.hxx
+++ b/svl/source/numbers/zforfind.hxx
@@ -22,6 +22,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustring.hxx>
+#include <svl/zforlist.hxx>
#include <memory>
class Date;
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 64875df1bfda..5edbf931b927 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -27,7 +27,6 @@
#include <unotools/localedatawrapper.hxx>
#include <com/sun/star/i18n/NumberFormatCode.hpp>
#include <com/sun/star/i18n/NumberFormatMapper.hpp>
-#include <com/sun/star/i18n/XNumberFormatCode.hpp>
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
diff --git a/svl/source/numbers/zforscan.hxx b/svl/source/numbers/zforscan.hxx
index dc7c35aea307..95f5a0b9296f 100644
--- a/svl/source/numbers/zforscan.hxx
+++ b/svl/source/numbers/zforscan.hxx
@@ -23,8 +23,10 @@
#include <rtl/ustring.hxx>
#include <svl/nfkeytab.hxx>
#include <svl/nfsymbol.hxx>
+#include <svl/zforlist.hxx>
#include <tools/color.hxx>
#include <tools/date.hxx>
+#include <unotools/localedatawrapper.hxx>
class SvNumberFormatter;
struct ImpSvNumberformatInfo;
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index 893c7eb96ef8..bf38dce64904 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -29,7 +29,6 @@
#include <com/sun/star/task/MasterPasswordRequest.hpp>
#include <com/sun/star/task/NoMasterException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <osl/diagnose.h>
#include <rtl/character.hxx>
diff --git a/svl/source/passwordcontainer/passwordcontainer.hxx b/svl/source/passwordcontainer/passwordcontainer.hxx
index 937a2be66975..0a15bf989328 100644
--- a/svl/source/passwordcontainer/passwordcontainer.hxx
+++ b/svl/source/passwordcontainer/passwordcontainer.hxx
@@ -24,8 +24,6 @@
#include <com/sun/star/task/XPasswordContainer2.hpp>
#include <com/sun/star/task/PasswordRequestMode.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XSingleServiceFactory.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
diff --git a/svl/source/passwordcontainer/syscreds.cxx b/svl/source/passwordcontainer/syscreds.cxx
index 3db663d844b8..156d4f0857a2 100644
--- a/svl/source/passwordcontainer/syscreds.cxx
+++ b/svl/source/passwordcontainer/syscreds.cxx
@@ -20,7 +20,6 @@
#include "syscreds.hxx"
#include <osl/diagnose.h>
#include <comphelper/sequence.hxx>
-#include <iterator>
using namespace com::sun::star;
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index 2ce8fa84bf17..8d27145af335 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -19,8 +19,6 @@
#include <svl/undo.hxx>
-#include <com/sun/star/uno/Exception.hpp>
-
#include <osl/mutex.hxx>
#include <sal/log.hxx>
#include <comphelper/flagguard.hxx>