diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-01-24 00:12:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-01-30 10:02:09 +0100 |
commit | e265037d6c655675416116b19882c3c29bb7bf40 (patch) | |
tree | c93fd6ae72a33ebf39b6ecd7a30c97ec233ba27b /avmedia/source/viewer | |
parent | 158e8ab5fc3e3db852ddcff510edce2006be5169 (diff) |
tdf#42949 Fix IWYU warnings in avmedia/
Except for MAC and WIN specific parts
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I1066aa31f45a8c81ddaa7d52d7c81aa09741c8d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87312
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'avmedia/source/viewer')
-rw-r--r-- | avmedia/source/viewer/mediaevent_impl.cxx | 1 | ||||
-rw-r--r-- | avmedia/source/viewer/mediawindow.cxx | 5 | ||||
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.cxx | 8 |
3 files changed, 2 insertions, 12 deletions
diff --git a/avmedia/source/viewer/mediaevent_impl.cxx b/avmedia/source/viewer/mediaevent_impl.cxx index c90d12c32729..2adae068bb7a 100644 --- a/avmedia/source/viewer/mediaevent_impl.cxx +++ b/avmedia/source/viewer/mediaevent_impl.cxx @@ -18,7 +18,6 @@ */ #include "mediaevent_impl.hxx" -#include "mediawindow_impl.hxx" #include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <vcl/event.hxx> diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx index 521c4151f98f..45c132df06a7 100644 --- a/avmedia/source/viewer/mediawindow.cxx +++ b/avmedia/source/viewer/mediawindow.cxx @@ -26,10 +26,9 @@ #include <vcl/graph.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> -#include <unotools/pathoptions.hxx> #include <sfx2/filedlghelper.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/media/XManager.hpp> +#include <com/sun/star/awt/Size.hpp> +#include <com/sun/star/media/XPlayer.hpp> #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> #include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp> diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx index 9d2245b0a274..c6cb20df7a36 100644 --- a/avmedia/source/viewer/mediawindow_impl.cxx +++ b/avmedia/source/viewer/mediawindow_impl.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <config_features.h> - #include <iostream> #include "mediawindow_impl.hxx" #include "mediaevent_impl.hxx" @@ -27,14 +25,12 @@ #include <helpids.h> #include <algorithm> -#include <cmath> #include <sal/log.hxx> #include <comphelper/processfactory.hxx> #include <tools/diagnose_ex.h> #include <tools/urlobj.hxx> #include <unotools/securityoptions.hxx> -#include <vcl/svapp.hxx> #include <vcl/commandevent.hxx> #include <vcl/event.hxx> #include <vcl/ptrstyle.hxx> @@ -43,10 +39,6 @@ #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/media/XManager.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <vcl/sysdata.hxx> -#if HAVE_FEATURE_OPENGL -#include <vcl/opengl/OpenGLContext.hxx> -#endif using namespace ::com::sun::star; namespace avmedia::priv { |