summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-09-16 16:15:17 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2021-09-20 08:32:14 +0200
commit9819f4221ced92fced1760d75019d399c9a3383c (patch)
treedbde5148535aaffa621438bcefeb4c10462c3295
parent73ad4bc218b5a2c3f8b25e0cf4e3858cddfb4d01 (diff)
Add sal/config.h in preparation for patch
The convention is that we need to add sal/config.h to the start of files. I have a patch queued to be able to create a FontMetric from a PhysicalFontFace. Submitting this patch so I can hopefully one day land this patch. Change-Id: I5817acd6e194da576f2c8a13539d38954a4f4e15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122172 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--cui/source/dialogs/cuicharmap.cxx2
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx2
-rw-r--r--include/vcl/metric.hxx2
-rw-r--r--starmath/source/document.cxx2
-rw-r--r--starmath/source/view.cxx2
-rw-r--r--svtools/source/control/ctrlbox.cxx1
-rw-r--r--svtools/source/control/ctrltool.cxx2
-rw-r--r--toolkit/source/awt/vclxdevice.cxx2
-rw-r--r--vcl/source/font/fontmetric.cxx2
-rw-r--r--vcl/workben/svptest.cxx2
10 files changed, 19 insertions, 0 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index acdacbd803c0..c727af51fc87 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
#include <stdio.h>
#include <vcl/svapp.hxx>
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index 0a90c125ec84..2e43dd0b8609 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
#include <uielement/fontsizemenucontroller.hxx>
#include <services.h>
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx
index 1c0fcd70ef87..7d5ddfd055fa 100644
--- a/include/vcl/metric.hxx
+++ b/include/vcl/metric.hxx
@@ -19,6 +19,8 @@
#pragma once
+#include <sal/config.h>
+
#include <tools/ref.hxx>
#include <tools/gen.hxx>
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 0a0646988c80..bc392a4d13c6 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/uno/Any.h>
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index c82b414bb131..22f3065190b9 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/frame/Desktop.hpp>
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 37119eb50833..217c47967448 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
#include <config_folders.h>
#include <comphelper/lok.hxx>
diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx
index 14968cdf77f0..df3b84759a86 100644
--- a/svtools/source/control/ctrltool.cxx
+++ b/svtools/source/control/ctrltool.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
#include <memory>
#include <string.h>
diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx
index 72b0618d5a2a..2d6cbe6a7c63 100644
--- a/toolkit/source/awt/vclxdevice.cxx
+++ b/toolkit/source/awt/vclxdevice.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
#include <com/sun/star/util/MeasureUnit.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx
index 93984357d4d0..e3baa35f36ca 100644
--- a/vcl/source/font/fontmetric.cxx
+++ b/vcl/source/font/fontmetric.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
#include <i18nlangtag/mslangid.hxx>
#include <officecfg/Office/Common.hxx>
#include <unotools/configmgr.hxx>
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx
index 2bc3ad4adb7c..37aa0dfa1a55 100644
--- a/vcl/workben/svptest.cxx
+++ b/vcl/workben/svptest.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
#include <sal/main.h>
#include <sal/log.hxx>
#include <tools/diagnose_ex.h>