summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-08-13 16:49:53 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-08-13 18:27:31 +0200
commitc10ea0e903ee2aba126087fc81702233b3a509cf (patch)
treee15cf60a17246984f398b0288ec0a037fd3cdffc /cui
parentb37653fdc74e05ff2f86dad39cc1878d9047580b (diff)
Remove some unused includes
Change-Id: Iea6b931b1f2328886354f70ad81a3e07367db717 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100669 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'cui')
-rw-r--r--cui/IwyuFilter_cui.yaml3
-rw-r--r--cui/source/customize/SvxConfigPageHelper.cxx2
-rw-r--r--cui/source/customize/SvxMenuConfigPage.cxx1
-rw-r--r--cui/source/customize/SvxNotebookbarConfigPage.cxx1
-rw-r--r--cui/source/customize/SvxToolbarConfigPage.cxx1
-rw-r--r--cui/source/dialogs/SignSignatureLineDialog.cxx13
-rw-r--r--cui/source/dialogs/SignatureLineDialog.cxx8
-rw-r--r--cui/source/options/certpath.cxx2
-rw-r--r--cui/source/options/optinet2.cxx1
-rw-r--r--cui/source/options/optjava.cxx1
-rw-r--r--cui/source/options/personalization.cxx2
11 files changed, 4 insertions, 31 deletions
diff --git a/cui/IwyuFilter_cui.yaml b/cui/IwyuFilter_cui.yaml
index b59411ef7340..c2f63e05282c 100644
--- a/cui/IwyuFilter_cui.yaml
+++ b/cui/IwyuFilter_cui.yaml
@@ -21,3 +21,6 @@ excludelist:
# Actually used
- com/sun/star/linguistic2/XMeaning.hpp
- com/sun/star/linguistic2/XThesaurus.hpp
+ cui/source/customize/cfg.cxx:
+ # Actually used
+ - com/sun/star/ui/dialogs/XFilePicker3.hpp
diff --git a/cui/source/customize/SvxConfigPageHelper.cxx b/cui/source/customize/SvxConfigPageHelper.cxx
index ffe288506508..033219f4d9a0 100644
--- a/cui/source/customize/SvxConfigPageHelper.cxx
+++ b/cui/source/customize/SvxConfigPageHelper.cxx
@@ -19,13 +19,11 @@
#include <SvxConfigPageHelper.hxx>
-#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/ui/ImageType.hpp>
#include <com/sun/star/ui/ItemType.hpp>
#include <comphelper/random.hxx>
-#include <comphelper/processfactory.hxx>
#include <svtools/imgdef.hxx>
#include <svtools/miscopt.hxx>
diff --git a/cui/source/customize/SvxMenuConfigPage.cxx b/cui/source/customize/SvxMenuConfigPage.cxx
index a811264d2ca0..d3fed61015a2 100644
--- a/cui/source/customize/SvxMenuConfigPage.cxx
+++ b/cui/source/customize/SvxMenuConfigPage.cxx
@@ -33,7 +33,6 @@
#include <dialmgr.hxx>
#include <comphelper/processfactory.hxx>
-#include <com/sun/star/ui/ImageType.hpp>
#include <dlgname.hxx>
diff --git a/cui/source/customize/SvxNotebookbarConfigPage.cxx b/cui/source/customize/SvxNotebookbarConfigPage.cxx
index aa4101ed1657..58b4aa0c15ed 100644
--- a/cui/source/customize/SvxNotebookbarConfigPage.cxx
+++ b/cui/source/customize/SvxNotebookbarConfigPage.cxx
@@ -41,7 +41,6 @@
#include <unotools/configmgr.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/frame/theUICommandDescription.hpp>
-#include <com/sun/star/ui/ImageType.hpp>
namespace uno = com::sun::star::uno;
namespace frame = com::sun::star::frame;
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx
index 7b929d2ad70e..740fa426feb0 100644
--- a/cui/source/customize/SvxToolbarConfigPage.cxx
+++ b/cui/source/customize/SvxToolbarConfigPage.cxx
@@ -39,7 +39,6 @@
#include <dialmgr.hxx>
#include <comphelper/processfactory.hxx>
-#include <com/sun/star/ui/ImageType.hpp>
#include <dlgname.hxx>
diff --git a/cui/source/dialogs/SignSignatureLineDialog.cxx b/cui/source/dialogs/SignSignatureLineDialog.cxx
index 80e8f9815053..58a4fd317065 100644
--- a/cui/source/dialogs/SignSignatureLineDialog.cxx
+++ b/cui/source/dialogs/SignSignatureLineDialog.cxx
@@ -17,31 +17,20 @@
#include <comphelper/graphicmimetype.hxx>
#include <comphelper/processfactory.hxx>
-#include <comphelper/xmlsechelper.hxx>
-#include <comphelper/storagehelper.hxx>
-#include <sfx2/docfile.hxx>
-#include <sfx2/docfilt.hxx>
#include <sfx2/objsh.hxx>
#include <svx/xoutbmp.hxx>
-#include <tools/date.hxx>
-#include <tools/stream.hxx>
-#include <unotools/localedatawrapper.hxx>
-#include <unotools/streamwrap.hxx>
-#include <unotools/syslocale.hxx>
#include <utility>
#include <vcl/graph.hxx>
#include <vcl/weld.hxx>
#include <svx/signaturelinehelper.hxx>
+#include <tools/urlobj.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/graphic/XGraphicProvider.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/security/CertificateKind.hpp>
-#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
#include <com/sun/star/security/XCertificate.hpp>
-#include <com/sun/star/security/XDocumentDigitalSignatures.hpp>
#include <com/sun/star/ui/dialogs/FilePicker.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
diff --git a/cui/source/dialogs/SignatureLineDialog.cxx b/cui/source/dialogs/SignatureLineDialog.cxx
index 7f6caabc49d9..224dcdecd4bb 100644
--- a/cui/source/dialogs/SignatureLineDialog.cxx
+++ b/cui/source/dialogs/SignatureLineDialog.cxx
@@ -9,10 +9,7 @@
#include <SignatureLineDialog.hxx>
-#include <comphelper/processfactory.hxx>
#include <comphelper/xmltools.hxx>
-#include <tools/stream.hxx>
-#include <unotools/streamwrap.hxx>
#include <utility>
#include <vcl/weld.hxx>
#include <svx/signaturelinehelper.hxx>
@@ -20,12 +17,8 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/drawing/XShape.hpp>
-#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
-#include <com/sun/star/graphic/XGraphicProvider.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XSpreadsheetView.hpp>
@@ -40,7 +33,6 @@ using namespace css::uno;
using namespace css::beans;
using namespace css::container;
using namespace css::frame;
-using namespace css::io;
using namespace css::lang;
using namespace css::frame;
using namespace css::sheet;
diff --git a/cui/source/options/certpath.cxx b/cui/source/options/certpath.cxx
index ae7a75859c79..b82065868f09 100644
--- a/cui/source/options/certpath.cxx
+++ b/cui/source/options/certpath.cxx
@@ -10,12 +10,10 @@
#include <officecfg/Office/Common.hxx>
#include <osl/file.hxx>
#include <osl/security.hxx>
-#include <osl/thread.h>
#include <tools/diagnose_ex.h>
#include "certpath.hxx"
#include <com/sun/star/xml/crypto/NSSInitializer.hpp>
-#include <com/sun/star/mozilla/MozillaBootstrap.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <com/sun/star/ui/dialogs/FolderPicker.hpp>
#include <comphelper/processfactory.hxx>
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 35d9b1a2299d..46b8268eb350 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -43,7 +43,6 @@
#include <rtl/ustring.hxx>
#include <osl/file.hxx>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 6454c238fabc..7c2738dfbff8 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -21,7 +21,6 @@
#include <sal/log.hxx>
#include <memory>
-#include <vector>
#include <config_java.h>
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index a732053bab7f..ac2def078f5c 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -22,8 +22,6 @@
#include <vcl/graphicfilter.hxx>
#include <vcl/virdev.hxx>
-#include <vector>
-
using namespace com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;