summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-11-12 20:55:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-11-22 09:54:39 +0100
commit24d5f3065df5f05e1a8af7ae043db59fd7845ffa (patch)
tree2d3045f6e960276a7b1480ef9ed449cf831407a4 /svtools
parenteb5438aca1046e61c247ca770d0e50644c118f3a (diff)
tdf#42949 Fix IWYU warnings in include/vcl/[ab]*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If18c80fc64e55d797953e24e40e5d5e62bd9c625 Reviewed-on: https://gerrit.libreoffice.org/63453 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 492ea7e08571e466e37f870b7642a79df55c2e92) Reviewed-on: https://gerrit.libreoffice.org/63768 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/brwbox2.cxx1
-rw-r--r--svtools/source/brwbox/brwimpl.hxx1
-rw-r--r--svtools/source/brwbox/editbrowsebox2.cxx1
-rw-r--r--svtools/source/config/extcolorcfg.cxx1
-rw-r--r--svtools/source/config/miscopt.cxx1
-rw-r--r--svtools/source/contnr/contentenumeration.cxx1
-rw-r--r--svtools/source/contnr/fileview.cxx1
-rw-r--r--svtools/source/contnr/imivctl1.cxx1
-rw-r--r--svtools/source/contnr/svtabbx.cxx2
-rw-r--r--svtools/source/control/filectrl.cxx1
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx1
-rw-r--r--svtools/source/dialogs/colrdlg.cxx1
-rw-r--r--svtools/source/dialogs/roadmapwizard.cxx1
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx1
-rw-r--r--svtools/source/dialogs/wizdlg.cxx1
-rw-r--r--svtools/source/misc/dialogcontrolling.cxx1
-rw-r--r--svtools/source/misc/embedtransfer.cxx1
-rw-r--r--svtools/source/misc/imagemgr.cxx1
-rw-r--r--svtools/source/misc/svtaccessiblefactory.cxx1
-rw-r--r--svtools/source/table/defaultinputhandler.cxx1
20 files changed, 21 insertions, 0 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index 4280c0818332..67c981aa0f8b 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <svtools/brwbox.hxx>
#include "datwin.hxx"
diff --git a/svtools/source/brwbox/brwimpl.hxx b/svtools/source/brwbox/brwimpl.hxx
index fd0f51c49270..e39c313b4da1 100644
--- a/svtools/source/brwbox/brwimpl.hxx
+++ b/svtools/source/brwbox/brwimpl.hxx
@@ -21,6 +21,7 @@
#include <svtaccessiblefactory.hxx>
#include <com/sun/star/lang/XComponent.hpp>
+#include <osl/diagnose.h>
#include <map>
diff --git a/svtools/source/brwbox/editbrowsebox2.cxx b/svtools/source/brwbox/editbrowsebox2.cxx
index 3d962b425501..5a1fc3f6d765 100644
--- a/svtools/source/brwbox/editbrowsebox2.cxx
+++ b/svtools/source/brwbox/editbrowsebox2.cxx
@@ -24,6 +24,7 @@
#include <comphelper/types.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <svtaccessiblefactory.hxx>
+#include <osl/diagnose.h>
namespace svt
{
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index 42b8370cfa08..de870e3370bd 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -34,6 +34,7 @@
#include <svl/hint.hxx>
#include <osl/mutex.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index 904b53f5cd41..2b76004d968f 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <tools/link.hxx>
+#include <osl/diagnose.h>
#include <rtl/instance.hxx>
#include "itemholder2.hxx"
diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx
index 17bd7ba2eeb0..dc0ac54590a4 100644
--- a/svtools/source/contnr/contentenumeration.cxx
+++ b/svtools/source/contnr/contentenumeration.cxx
@@ -33,6 +33,7 @@
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
namespace svt
{
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index d5421ca47222..257296127c21 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -21,6 +21,7 @@
#include <svtools/iconview.hxx>
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <vcl/treelistentry.hxx>
#include <svtools/fileview.hxx>
#include <svtools/svtresid.hxx>
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 7c9f9cf333ad..b0e8d1f359b5 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -19,6 +19,7 @@
#include <limits.h>
+#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <vcl/wall.hxx>
#include <vcl/help.hxx>
diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx
index 12bcc3dfc6d3..672fe544f9a4 100644
--- a/svtools/source/contnr/svtabbx.cxx
+++ b/svtools/source/contnr/svtabbx.cxx
@@ -30,6 +30,8 @@
#include <svtaccessiblefactory.hxx>
#include <o3tl/make_unique.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::accessibility;
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index 7e720a9af0c6..cf5590b02f5a 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -23,6 +23,7 @@
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <comphelper/processfactory.hxx>
#include <osl/file.h>
+#include <osl/diagnose.h>
#include <svtools/svtresid.hxx>
#include <tools/urlobj.hxx>
#include <vcl/stdtext.hxx>
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 292b7b3a23fa..d1f52db83759 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -30,6 +30,7 @@
#include <vcl/settings.hxx>
#include <vcl/weld.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <toolkit/helper/vclunohelper.hxx>
#include <com/sun/star/ui/dialogs/AddressBookSourcePilot.hpp>
#include <com/sun/star/awt/XWindow.hpp>
diff --git a/svtools/source/dialogs/colrdlg.cxx b/svtools/source/dialogs/colrdlg.cxx
index 8f9c01104936..9934966e1c0a 100644
--- a/svtools/source/dialogs/colrdlg.cxx
+++ b/svtools/source/dialogs/colrdlg.cxx
@@ -30,6 +30,7 @@
#include <svtools/colrdlg.hxx>
#include <vcl/weld.hxx>
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
diff --git a/svtools/source/dialogs/roadmapwizard.cxx b/svtools/source/dialogs/roadmapwizard.cxx
index 33d0a6d185d2..d5e43b1e6171 100644
--- a/svtools/source/dialogs/roadmapwizard.cxx
+++ b/svtools/source/dialogs/roadmapwizard.cxx
@@ -23,6 +23,7 @@
#include <svtools/svtresid.hxx>
#include <roadmap.hxx>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <vector>
#include <map>
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index b2ff6deef3d7..bf14a0dae2e0 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -24,6 +24,7 @@
#include <svtools/svtresid.hxx>
#include <svtools/strings.hrc>
#include <vcl/svapp.hxx>
+#include <stack>
namespace svt
{
diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx
index c73451896e34..a1931000377c 100644
--- a/svtools/source/dialogs/wizdlg.cxx
+++ b/svtools/source/dialogs/wizdlg.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <osl/diagnose.h>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include <vcl/tabpage.hxx>
diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx
index fa2b66a19181..b3f0ed3c8cb9 100644
--- a/svtools/source/misc/dialogcontrolling.cxx
+++ b/svtools/source/misc/dialogcontrolling.cxx
@@ -19,6 +19,7 @@
#include <svtools/dialogcontrolling.hxx>
#include <vcl/window.hxx>
+#include <osl/diagnose.h>
#include <algorithm>
diff --git a/svtools/source/misc/embedtransfer.cxx b/svtools/source/misc/embedtransfer.cxx
index a408c03771d6..9882a7dc98e3 100644
--- a/svtools/source/misc/embedtransfer.cxx
+++ b/svtools/source/misc/embedtransfer.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/embed/NoVisualAreaSizeException.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/embed/Aspects.hpp>
+#include <osl/diagnose.h>
#include <sot/exchange.hxx>
#include <svtools/embedtransfer.hxx>
#include <tools/mapunit.hxx>
diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx
index fd8a23850be6..4978dfda4d49 100644
--- a/svtools/source/misc/imagemgr.cxx
+++ b/svtools/source/misc/imagemgr.cxx
@@ -35,6 +35,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/ucb/ContentCreationException.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <ucbhelper/content.hxx>
#include <unotools/configmgr.hxx>
#include <svtools/strings.hrc>
diff --git a/svtools/source/misc/svtaccessiblefactory.cxx b/svtools/source/misc/svtaccessiblefactory.cxx
index 8d0bbcc04e3c..c8fe74fd8a11 100644
--- a/svtools/source/misc/svtaccessiblefactory.cxx
+++ b/svtools/source/misc/svtaccessiblefactory.cxx
@@ -24,6 +24,7 @@
#include <tools/svlibrary.h>
#include <osl/module.h>
+#include <osl/diagnose.h>
namespace svt
{
diff --git a/svtools/source/table/defaultinputhandler.cxx b/svtools/source/table/defaultinputhandler.cxx
index 44109cb93ec8..cdf752a12501 100644
--- a/svtools/source/table/defaultinputhandler.cxx
+++ b/svtools/source/table/defaultinputhandler.cxx
@@ -26,6 +26,7 @@
#include <vcl/event.hxx>
#include <vcl/cursor.hxx>
+#include <osl/diagnose.h>
namespace svt { namespace table