summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-07-07 16:47:44 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-07-19 09:11:07 +0200
commit8634bbde836c15db7e8e88372a1d5329e08a1406 (patch)
treef739fc54a04ad5feafbea0000dca410e6d0906d7
parentab0df471915c5d54e8a3e8556de12afdfa541b3c (diff)
tdf#42949 Fix IWYU warnings in include/dbaccess
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ie537e44054c0d1735f42e74385cc1bd8c8000c16 Reviewed-on: https://gerrit.libreoffice.org/75180 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--dbaccess/source/ui/misc/dbaundomanager.cxx1
-rw-r--r--include/dbaccess/IController.hxx1
-rw-r--r--include/dbaccess/dbaundomanager.hxx9
-rw-r--r--include/dbaccess/dbsubcomponentcontroller.hxx3
-rw-r--r--include/dbaccess/genericcontroller.hxx4
5 files changed, 1 insertions, 17 deletions
diff --git a/dbaccess/source/ui/misc/dbaundomanager.cxx b/dbaccess/source/ui/misc/dbaundomanager.cxx
index 76f6e7508b06..0ee8e9985590 100644
--- a/dbaccess/source/ui/misc/dbaundomanager.cxx
+++ b/dbaccess/source/ui/misc/dbaundomanager.cxx
@@ -20,6 +20,7 @@
#include <dbaccess/dbaundomanager.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
+#include <com/sun/star/lang/NoSupportException.hpp>
#include <svl/undo.hxx>
#include <vcl/svapp.hxx>
diff --git a/include/dbaccess/IController.hxx b/include/dbaccess/IController.hxx
index 5890489da5e7..754667afd4c0 100644
--- a/include/dbaccess/IController.hxx
+++ b/include/dbaccess/IController.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_DBACCESS_ICONTROLLER_HXX
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <dbaccess/dbaccessdllapi.h>
#include <rtl/ustring.hxx>
diff --git a/include/dbaccess/dbaundomanager.hxx b/include/dbaccess/dbaundomanager.hxx
index 421a01ec28ab..c7d86c7b84df 100644
--- a/include/dbaccess/dbaundomanager.hxx
+++ b/include/dbaccess/dbaundomanager.hxx
@@ -20,20 +20,11 @@
#ifndef INCLUDED_DBACCESS_DBAUNDOMANAGER_HXX
#define INCLUDED_DBACCESS_DBAUNDOMANAGER_HXX
-#include <exception>
#include <memory>
-#include <com/sun/star/document/EmptyUndoStackException.hpp>
-#include <com/sun/star/document/UndoContextNotClosedException.hpp>
-#include <com/sun/star/document/UndoFailedException.hpp>
#include <com/sun/star/document/XUndoManager.hpp>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
-#include <com/sun/star/lang/NoSupportException.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/util/InvalidStateException.hpp>
-#include <com/sun/star/util/NotLockedException.hpp>
#include <cppuhelper/implbase1.hxx>
#include <dbaccess/dbaccessdllapi.h>
#include <rtl/ustring.hxx>
diff --git a/include/dbaccess/dbsubcomponentcontroller.hxx b/include/dbaccess/dbsubcomponentcontroller.hxx
index 2044e1ab6b91..01da13c9f8ff 100644
--- a/include/dbaccess/dbsubcomponentcontroller.hxx
+++ b/include/dbaccess/dbsubcomponentcontroller.hxx
@@ -20,15 +20,12 @@
#ifndef INCLUDED_DBACCESS_DBSUBCOMPONENTCONTROLLER_HXX
#define INCLUDED_DBACCESS_DBSUBCOMPONENTCONTROLLER_HXX
-#include <exception>
#include <memory>
-#include <com/sun/star/beans/PropertyVetoException.hpp>
#include <com/sun/star/document/XScriptInvocationContext.hpp>
#include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Type.hxx>
#include <com/sun/star/util/XModifiable.hpp>
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index f9aa378b0d99..0d4d460ad886 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -23,7 +23,6 @@
#include <sal/config.h>
#include <deque>
-#include <exception>
#include <map>
#include <memory>
#include <vector>
@@ -44,9 +43,7 @@
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/Any.hxx>
-#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
@@ -60,7 +57,6 @@
#include <dbaccess/dbaccessdllapi.h>
#include <dbaccess/IController.hxx>
#include <osl/mutex.hxx>
-#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <tools/link.hxx>