vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx | 1 + vcl/unx/gtk/fpicker/SalGtkPicker.hxx | 2 ++ 2 files changed, 3 insertions(+)
New commits: commit 19d9ac1031a08525ed5a5638ceaf508be870825e Author: Michael Weghorn <[email protected]> AuthorDate: Sun Dec 16 00:22:33 2018 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Sun Dec 16 01:50:57 2018 +0100 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 <[email protected]> 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> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
