diff options
author | Ashod Nakashian <ashodnakashian@yahoo.com> | 2015-08-31 20:33:37 -0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-03 08:19:36 +0000 |
commit | 2564ef96d295b2e09fb5e382c8f76924ea2cdb5c (patch) | |
tree | 76b43593baed3ed10e64303761f8eb027a986210 /vcl | |
parent | 72699595aaa3ecb8975050b6dfc6fde437770493 (diff) |
Restored missing includes from source files.
These source files relied on pch to include
these missing headers (at least on Windows).
Also included the script used to find the
missing includes. The script is self-contained
and includes unittests. It detects superfluous
includes and required includes (which was used
to restore the includes in this patch).
Change-Id: I7ee09e5c712f42d5f6c3524898bc62dda78f5cc0
Reviewed-on: https://gerrit.libreoffice.org/18208
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 2 | ||||
-rw-r--r-- | vcl/win/source/gdi/salnativewidgets-luna.cxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index c2022418800d..ee522be40163 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -10,11 +10,13 @@ #include "opengl/win/WinDeviceInfo.hxx" #include "blocklist_parser.hxx" +#include <config_folders.h> #include <windows.h> #include <setupapi.h> #include <algorithm> #include <cstdint> +#include <rtl/bootstrap.hxx> #include <rtl/ustrbuf.hxx> OUString* WinOpenGLDeviceInfo::mpDeviceVendors[wgl::DeviceVendorMax]; diff --git a/vcl/win/source/gdi/salnativewidgets-luna.cxx b/vcl/win/source/gdi/salnativewidgets-luna.cxx index ec3d79f44972..e10de37da9c4 100644 --- a/vcl/win/source/gdi/salnativewidgets-luna.cxx +++ b/vcl/win/source/gdi/salnativewidgets-luna.cxx @@ -48,6 +48,7 @@ #include <map> #include <string> +#include <boost/optional.hpp> using namespace std; |