[Libreoffice-commits] core.git: vcl/headless vcl/inc

Chris Sherlock (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 4 16:35:25 UTC 2021


 vcl/headless/svptext.cxx    |    2 ++
 vcl/inc/headless/svpgdi.hxx |    1 +
 vcl/inc/textrender.hxx      |    2 ++
 vcl/inc/unx/geninst.h       |    2 ++
 4 files changed, 7 insertions(+)

New commits:
commit b26a1185d71d30f9b9ed86f99a2fc6ee41899130
Author:     Chris Sherlock <chris.sherlock79 at gmail.com>
AuthorDate: Fri Sep 17 23:00:23 2021 +1000
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Oct 4 18:34:50 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.
    
    Made in preparation of movement of PhysicalFontCollection to vcl::font
    namespace and test class.
    
    Change-Id: I7768d9b4c7335f0d9feeba96f0dc67aaaaf8441e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122259
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/vcl/headless/svptext.cxx b/vcl/headless/svptext.cxx
index 0abb57e6e9e4..4f64c7469aff 100644
--- a/vcl/headless/svptext.cxx
+++ b/vcl/headless/svptext.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 <unotools/configmgr.hxx>
 #include <vcl/fontcharmap.hxx>
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index e14279978d6d..7be2f35e2cc1 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -24,6 +24,7 @@
 #error This file is not for iOS
 #endif
 
+#include <sal/config.h>
 #include <config_features.h>
 
 #include <osl/endian.h>
diff --git a/vcl/inc/textrender.hxx b/vcl/inc/textrender.hxx
index eb0280535e33..aa2057ba62c1 100644
--- a/vcl/inc/textrender.hxx
+++ b/vcl/inc/textrender.hxx
@@ -20,6 +20,8 @@
 #ifndef INCLUDED_VCL_INC_UNX_CAIROFONTIMPL_HXX
 #define INCLUDED_VCL_INC_UNX_CAIROFONTIMPL_HXX
 
+#include <sal/config.h>
+
 #include "salgdi.hxx"
 
 class ImplFontMetricData;
diff --git a/vcl/inc/unx/geninst.h b/vcl/inc/unx/geninst.h
index dcd8bdd6fe95..ab2a0b51d77d 100644
--- a/vcl/inc/unx/geninst.h
+++ b/vcl/inc/unx/geninst.h
@@ -20,6 +20,8 @@
 #ifndef INCLUDED_VCL_INC_GENERIC_GENINST_H
 #define INCLUDED_VCL_INC_GENERIC_GENINST_H
 
+#include <sal/config.h>
+
 #include <memory>
 #include <comphelper/solarmutex.hxx>
 #include <salinst.hxx>


More information about the Libreoffice-commits mailing list