include/vcl/outdev.hxx | 2 ++ vcl/inc/PhysicalFontCollection.hxx | 2 ++ vcl/inc/PhysicalFontFamily.hxx | 2 ++ vcl/source/font/PhysicalFontCollection.cxx | 2 ++ vcl/source/font/PhysicalFontFamily.cxx | 2 ++ vcl/source/gdi/embeddedfontshelper.cxx | 2 ++ vcl/source/gdi/print.cxx | 2 ++ vcl/source/gdi/virdev.cxx | 2 ++ vcl/source/outdev/font.cxx | 2 ++ vcl/win/gdi/salfont.cxx | 2 ++ 10 files changed, 20 insertions(+)
New commits: commit 363d0e7e2875d0f99cf0442353202c96c097f5e2 Author: Chris Sherlock <chris.sherloc...@gmail.com> AuthorDate: Thu Sep 16 12:52:07 2021 +1000 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sat Sep 18 05:52:05 2021 +0200 vcl: add sal/config.h in preparation for patch The convention is that we need to add sal/config.h to the start of files. <chris_wot> mikekaganski do you want me to add sal/config.h to cxx files <chris_wot> as well as headers? <mikekaganski> chris_wot: rather ask sberg :) <@sberg> chris_wot, always, always as first include, by convention <chris_wot> thanks, I'll make sure I do this on any files I touch - if that's OK I have a patch queued to rename ImplDeviceFontList to PhysicalFontFaceCollection, which I am adding a test to. Submitting this patch so I can hopefully one day land this patch. Change-Id: I9d74f850745760774a9f8050023f584cf52dc070 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122167 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 0890da948a0b..b70ad6664038 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -19,6 +19,8 @@ #pragma once +#include <sal/config.h> + #include <tools/gen.hxx> #include <tools/ref.hxx> #include <tools/solar.h> diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx index 89d6fdf222e8..38e591600467 100644 --- a/vcl/inc/PhysicalFontCollection.hxx +++ b/vcl/inc/PhysicalFontCollection.hxx @@ -19,6 +19,8 @@ #pragma once +#include <sal/config.h> + #include <vcl/dllapi.h> #include "fontinstance.hxx" diff --git a/vcl/inc/PhysicalFontFamily.hxx b/vcl/inc/PhysicalFontFamily.hxx index f883d383be54..0137aca3b7c4 100644 --- a/vcl/inc/PhysicalFontFamily.hxx +++ b/vcl/inc/PhysicalFontFamily.hxx @@ -19,6 +19,8 @@ #pragma once +#include <sal/config.h> + #include <vcl/dllapi.h> #include <vcl/outdev.hxx> diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index f6a693068d34..7161e5b35c49 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + #include <memory> #include <i18nlangtag/languagetag.hxx> diff --git a/vcl/source/font/PhysicalFontFamily.cxx b/vcl/source/font/PhysicalFontFamily.cxx index d5ab2415b338..cd8634aeb0ed 100644 --- a/vcl/source/font/PhysicalFontFamily.cxx +++ b/vcl/source/font/PhysicalFontFamily.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + #include <rtl/ustring.hxx> #include <unotools/fontdefs.hxx> diff --git a/vcl/source/gdi/embeddedfontshelper.cxx b/vcl/source/gdi/embeddedfontshelper.cxx index 1a67603da911..cbe4ceed3454 100644 --- a/vcl/source/gdi/embeddedfontshelper.cxx +++ b/vcl/source/gdi/embeddedfontshelper.cxx @@ -7,6 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <sal/config.h> + #include <memory> #include <config_folders.h> #include <config_eot.h> diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 91e516b67c86..f46d6ed03ec5 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + #include <sal/types.h> #include <sal/log.hxx> #include <comphelper/processfactory.hxx> diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx index bc9f9ffe5838..8f5a1d96f329 100644 --- a/vcl/source/gdi/virdev.cxx +++ b/vcl/source/gdi/virdev.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + #include <sal/log.hxx> #include <tools/debug.hxx> diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx index 53727e3378cc..4161ea8ce236 100644 --- a/vcl/source/outdev/font.cxx +++ b/vcl/source/outdev/font.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <tools/debug.hxx> diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index b65ea0ae69cf..e07680c87dec 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + #include <sal/types.h> #include <config_folders.h>