[Libreoffice-commits] core.git: dbaccess/source include/dbaccess
Gabor Kelemen (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 19 07:11:45 UTC 2019
dbaccess/source/ui/misc/dbaundomanager.cxx | 1 +
include/dbaccess/IController.hxx | 1 -
include/dbaccess/dbaundomanager.hxx | 9 ---------
include/dbaccess/dbsubcomponentcontroller.hxx | 3 ---
include/dbaccess/genericcontroller.hxx | 4 ----
5 files changed, 1 insertion(+), 17 deletions(-)
New commits:
commit 8634bbde836c15db7e8e88372a1d5329e08a1406
Author: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Sun Jul 7 16:47:44 2019 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Jul 19 09:11:07 2019 +0200
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 at collabora.com>
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>
More information about the Libreoffice-commits
mailing list