cui/source/dialogs/cuicharmap.cxx | 2 ++ framework/source/uielement/fontsizemenucontroller.cxx | 2 ++ include/vcl/metric.hxx | 2 ++ starmath/source/document.cxx | 2 ++ starmath/source/view.cxx | 2 ++ svtools/source/control/ctrlbox.cxx | 1 + svtools/source/control/ctrltool.cxx | 2 ++ toolkit/source/awt/vclxdevice.cxx | 2 ++ vcl/source/font/fontmetric.cxx | 2 ++ vcl/workben/svptest.cxx | 2 ++ 10 files changed, 19 insertions(+)
New commits: commit 9819f4221ced92fced1760d75019d399c9a3383c Author: Chris Sherlock <chris.sherloc...@gmail.com> AuthorDate: Thu Sep 16 16:15:17 2021 +1000 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Sep 20 08:32:14 2021 +0200 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.kagan...@collabora.com> 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>