Kaydet (Commit) 2564ef96 authored tarafından Ashod Nakashian's avatar Ashod Nakashian Kaydeden (comit) Caolán McNamara

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/18208Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 72699595
This diff is collapsed.
......@@ -21,6 +21,7 @@
#define INCLUDED_CONFIGMGR_SOURCE_WRITEMODFILE_HXX
#include <sal/config.h>
#include <rtl/strbuf.hxx>
namespace configmgr {
......
......@@ -9,6 +9,7 @@
#include "editeng/fieldupdater.hxx"
#include "editeng/flditem.hxx"
#include <editeng/edtdlg.hxx>
#include "editobj2.hxx"
#include <com/sun/star/text/textfield/Type.hpp>
......
......@@ -26,7 +26,7 @@
#include <basegfx/tools/canvastools.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
#include <svx/svdobj.hxx>
#include <vcl/outdev.hxx>
using namespace com::sun::star;
......
......@@ -21,6 +21,7 @@
#include <sdr/properties/itemsettools.hxx>
#include <svl/itemset.hxx>
#include <svl/whiter.hxx>
#include <vcl/outdev.hxx>
#include <vector>
#include <svx/svdobj.hxx>
......
......@@ -23,7 +23,7 @@
#include <svx/svddef.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdpool.hxx>
#include <vcl/outdev.hxx>
namespace sdr
......
......@@ -25,6 +25,7 @@
#include <svx/svdogrp.hxx>
#include <svx/svditer.hxx>
#include <vcl/region.hxx>
#include <vcl/outdev.hxx>
#include <boost/scoped_ptr.hpp>
// class to remember broadcast start positions
......
......@@ -21,7 +21,7 @@
#include <svl/itemset.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdpool.hxx>
#include <vcl/outdev.hxx>
namespace sdr
......
......@@ -23,6 +23,7 @@
#include <svx/svdogrp.hxx>
#include <svx/svditer.hxx>
#include <svx/xfillit0.hxx>
#include <vcl/outdev.hxx>
using namespace com::sun::star;
......
......@@ -24,7 +24,7 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <tools/helpers.hxx>
#include <vcl/outdev.hxx>
void GradTransformer::GradToVec(GradTransGradient& rG, GradTransVector& rV, const SdrObject* pObj)
......
......@@ -13,6 +13,7 @@
#include <svx/svdglue.hxx>
#include <svl/SfxBroadcaster.hxx>
#include <vcl/outdev.hxx>
SdrObjPlusData::SdrObjPlusData():
pBroadcast(NULL),
......
......@@ -8,6 +8,7 @@
*/
#include <svdobjuserdatalist.hxx>
#include <vcl/outdev.hxx>
SdrObjUserDataList::SdrObjUserDataList() {}
SdrObjUserDataList::~SdrObjUserDataList() {}
......
......@@ -24,6 +24,7 @@
#include <svx/drawitem.hxx>
#include <svx/dialogs.hrc>
#include <svx/dialmgr.hxx>
#include <vcl/toolbox.hxx>
#include <svtools/colrdlg.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
......
......@@ -25,6 +25,7 @@
#include <svx/xpool.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdpool.hxx>
#include <vcl/outdev.hxx>
#include <stack>
using namespace com::sun::star;
......
......@@ -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];
......
......@@ -48,6 +48,7 @@
#include <map>
#include <string>
#include <boost/optional.hpp>
using namespace std;
......
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