diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2018-12-16 00:22:33 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2018-12-16 01:50:57 +0100 |
commit | 19d9ac1031a08525ed5a5638ceaf508be870825e (patch) | |
tree | 5cbea970d30e8a130cd29046f525bc9df57a9cb7 /vcl/unx | |
parent | 4229dc0ba4e02b17ad73d62ead281441f1786e9e (diff) |
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: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkPicker.hxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx index d6265702f314..ae3e1baa8275 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx +++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx @@ -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> diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx index a8e6f247acd4..0eb8720f771a 100644 --- a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx +++ b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx @@ -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> |