include/LibreOfficeKit/LibreOfficeKit.h | 2 +- include/LibreOfficeKit/LibreOfficeKit.hxx | 6 +++--- include/LibreOfficeKit/LibreOfficeKitGtk.h | 2 +- include/LibreOfficeKit/LibreOfficeKitInit.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit 0d37cbb937e4c8a72de07621ae7d4943b4a032e8 Author: Hossein <[email protected]> AuthorDate: Tue Jan 9 00:44:16 2024 +0000 Commit: Tomaž Vajngerl <[email protected]> CommitDate: Wed Jan 24 06:03:11 2024 +0100 Normalize include syntax in include/LibreOfficeKit Changed #include <LibreOfficeKit/...> to #include "..." in the header folder include/LibreOfficeKit/. The reason is described in: C[++]: Normalizing include syntax ("" vs <>) https://lists.freedesktop.org/archives/libreoffice/2017-November/078778.html Change-Id: I8ccbbde38eb649428f99e39b6f0529dffc3e4206 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161809 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <[email protected]> diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h index ed7f4e7f2d28..963d7962a6c2 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.h +++ b/include/LibreOfficeKit/LibreOfficeKit.h @@ -21,7 +21,7 @@ # include <stdint.h> #endif -#include <LibreOfficeKit/LibreOfficeKitTypes.h> +#include "LibreOfficeKitTypes.h" #ifdef __cplusplus extern "C" diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 6f75eb6be5cb..29e644900caf 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -9,9 +9,9 @@ #pragma once -#include <LibreOfficeKit/LibreOfficeKit.h> -#include <LibreOfficeKit/LibreOfficeKitEnums.h> -#include <LibreOfficeKit/LibreOfficeKitInit.h> +#include "LibreOfficeKit.h" +#include "LibreOfficeKitEnums.h" +#include "LibreOfficeKitInit.h" /* * The reasons this C++ code is not as pretty as it could be are: diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index fe9310c46c51..26b1178c2667 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -13,7 +13,7 @@ #include <gtk/gtk.h> #include <gdk/gdk.h> -#include <LibreOfficeKit/LibreOfficeKit.h> +#include "LibreOfficeKit.h" // Avoid "error C2375: 'foo': redefinition; different linkage" on MSVC #if defined LOK_DOC_VIEW_IMPLEMENTATION diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h index 695784d27941..10085d3c1c35 100644 --- a/include/LibreOfficeKit/LibreOfficeKitInit.h +++ b/include/LibreOfficeKit/LibreOfficeKitInit.h @@ -10,7 +10,7 @@ #ifndef INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKITINIT_H #define INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKITINIT_H -#include <LibreOfficeKit/LibreOfficeKit.h> +#include "LibreOfficeKit.h" #if defined __GNUC__ || defined __clang__ # define LOK_TOLERATE_UNUSED __attribute__((used))
