diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-08-23 23:20:13 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-08-26 09:16:05 +0200 |
commit | 1ddb742aed047a745bbcd1787d0f9cfa8f0beda5 (patch) | |
tree | ba9cc27929d3fc41a4239d1a303c6ad5c6dcaa36 /sd/source/ui/remotecontrol | |
parent | 2fd083579d42d7649c162f18db235498198ff3f4 (diff) |
tdf#42949 Fix IWYU warnings in sd/source/ui/[p-t]*/*cxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Idc9ca0ec1d888d3625f24b8dea4421408d2e7e7d
Reviewed-on: https://gerrit.libreoffice.org/78047
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r-- | sd/source/ui/remotecontrol/AvahiNetworkService.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/DiscoveryService.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/ImagePreparer.cxx | 9 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/Receiver.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/Server.cxx | 4 |
6 files changed, 3 insertions, 28 deletions
diff --git a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx index 72f27e98a200..7708e6eb7d71 100644 --- a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx +++ b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx @@ -9,20 +9,16 @@ #include <config_dbus.h> -#include <time.h> #include <iostream> #include <limits> #include <new> -#include <stdlib.h> #include <assert.h> #include <avahi-client/client.h> #include <avahi-client/publish.h> #include <avahi-common/alternative.h> -#include <avahi-common/malloc.h> #include <avahi-common/error.h> -#include <avahi-common/timeval.h> #include <avahi-common/thread-watch.h> #include <comphelper/random.hxx> diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index 31e5a55b5daa..4f684df3bd4c 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -10,7 +10,6 @@ #include "BluetoothServer.hxx" #include <iostream> -#include <iomanip> #include <memory> #include <new> @@ -22,7 +21,7 @@ #include <dbus/dbus.h> #include <errno.h> #include <fcntl.h> - #include <sys/unistd.h> + #include <unistd.h> #include <sys/socket.h> #include <bluetooth/bluetooth.h> #include <bluetooth/rfcomm.h> @@ -40,6 +39,7 @@ #endif #ifdef MACOSX + #include <iomanip> #include <osl/conditn.hxx> #include <premac.h> #import <CoreFoundation/CoreFoundation.h> diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx index a0067eaa14a6..275e23556737 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.cxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx @@ -8,10 +8,7 @@ */ #include <errno.h> -#include <stdlib.h> #include <string.h> -#include <algorithm> -#include <vector> #include <iostream> #include <rtl/strbuf.hxx> @@ -34,7 +31,6 @@ typedef int socklen_t; #else #include <unistd.h> - #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx index fe42b2a81599..a3cdc74d4ffa 100644 --- a/sd/source/ui/remotecontrol/ImagePreparer.cxx +++ b/sd/source/ui/remotecontrol/ImagePreparer.cxx @@ -24,19 +24,10 @@ #include <comphelper/processfactory.hxx> #include <osl/file.hxx> #include <rtl/ustrbuf.hxx> -#include <sax/tools/converter.hxx> #include <rtl/strbuf.hxx> #include <sal/log.hxx> -#include <unotools/streamwrap.hxx> - -#include <svl/itemset.hxx> -#include <sfx2/docfile.hxx> #include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/container/XNameAccess.hpp> -#include <com/sun/star/document/XFilter.hpp> -#include <com/sun/star/document/XImporter.hpp> -#include <com/sun/star/document/XExporter.hpp> #include <com/sun/star/drawing/GraphicExportFilter.hpp> #include <com/sun/star/lang/XServiceName.hpp> #include <com/sun/star/presentation/XSlideShowController.hpp> diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx index 04128fa74b4f..3c0309e9e461 100644 --- a/sd/source/ui/remotecontrol/Receiver.cxx +++ b/sd/source/ui/remotecontrol/Receiver.cxx @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "Receiver.hxx" -#include <string.h> #include <com/sun/star/presentation/XSlideShowController.hpp> #include <com/sun/star/presentation/XPresentationSupplier.hpp> #include <com/sun/star/presentation/XPresentation2.hpp> @@ -15,11 +14,6 @@ #include <com/sun/star/uno/RuntimeException.hpp> #include <comphelper/processfactory.hxx> -#include <comphelper/anytostring.hxx> -#include <cppuhelper/exc_hlp.hxx> -#include <osl/file.hxx> -#include <rtl/ustrbuf.hxx> -#include <rtl/strbuf.hxx> #include <sal/log.hxx> #include <com/sun/star/beans/PropertyValue.hpp> #include <vcl/svapp.hxx> diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx index 4171da6f4d84..bf5d0fdc5392 100644 --- a/sd/source/ui/remotecontrol/Server.cxx +++ b/sd/source/ui/remotecontrol/Server.cxx @@ -6,11 +6,10 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <stdlib.h> + #include <algorithm> #include <vector> -#include <officecfg/Office/Common.hxx> #include <officecfg/Office/Impress.hxx> #include <com/sun/star/container/XNameAccess.hpp> @@ -29,7 +28,6 @@ #include "DiscoveryService.hxx" #include "Listener.hxx" -#include "Receiver.hxx" #include <RemoteServer.hxx> #include "BluetoothServer.hxx" #include "Communicator.hxx" |