Kaydet (Commit) 19d9ac10 authored tarafından Michael Weghorn's avatar Michael Weghorn

SalGtk{File,}Picker.hxx: Add missing includes

Since 'XComponentContext' and 'DECL_STATIC_LINK' are used,
add the corresponding includes.

Otherwise a successful build depends on the header being
included after other headers that make sure that compilation
still works.

An error could be provoked e.g. by moving the
'#include <gtk/fpicker/SalGtkFilePicker.hxx>' in
'vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx' above all
other existing includes.

Change-Id: Ib23f8b714fb971238eab28a8d4d02414a0b13812
Reviewed-on: https://gerrit.libreoffice.org/65208
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Weghorn <m.weghorn@posteo.de>
üst 4229dc0b
......@@ -25,6 +25,7 @@
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilePreview.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/beans/StringPair.hpp>
#include <vector>
......
......@@ -21,12 +21,14 @@
#define INCLUDED_VCL_UNX_GTK_FPICKER_SALGTKPICKER_HXX
#include <osl/mutex.hxx>
#include <tools/link.hxx>
#include <cppuhelper/compbase.hxx>
#include <com/sun/star/awt/XTopWindowListener.hpp>
#include <com/sun/star/awt/XExtendedToolkit.hpp>
#include <com/sun/star/frame/XDesktop.hpp>
#include <com/sun/star/frame/XTerminateListener.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment