compilerplugins/clang/constantparam.booleans.results | 2 +- include/LibreOfficeKit/LibreOfficeKit.h | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-)
New commits: commit 3404d9946405a8284ae99c30412c768ca2b89c3e Author: Tor Lillqvist <[email protected]> AuthorDate: Mon Jan 5 16:05:56 2026 +0200 Commit: Tor Lillqvist <[email protected]> CommitDate: Fri Jan 23 07:28:03 2026 +0100 Don't use illegal identifiers in LibreOfficeKit Identifiers with an initial underscore followed by an uppercase letter are reserved for the C++ implementation. Change-Id: I3eabc8aa3570b17e05259c0d56d3b16246335ffc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196572 Tested-by: Tor Lillqvist <[email protected]> Reviewed-by: Tor Lillqvist <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197868 diff --git a/compilerplugins/clang/constantparam.booleans.results b/compilerplugins/clang/constantparam.booleans.results index 83bdaf10e16e..5472567fae3e 100644 --- a/compilerplugins/clang/constantparam.booleans.results +++ b/compilerplugins/clang/constantparam.booleans.results @@ -439,7 +439,7 @@ desktop/source/deployment/gui/dp_gui_updatedialog.hxx:100 _Bool bEnableCheckBox 0 desktop/source/lib/init.cxx:8431 - struct _LibreOfficeKit * libreofficekit_hook_2(const char *,const char *) + struct LibreOfficeKitStruct * libreofficekit_hook_2(const char *,const char *) const char * user_profile_url 0 drawinglayer/qa/unit/vclmetafileprocessor2d.cxx:62 diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h index 437b3ef883d8..2bed98e212be 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.h +++ b/include/LibreOfficeKit/LibreOfficeKit.h @@ -32,11 +32,11 @@ extern "C" { #endif -typedef struct _LibreOfficeKit LibreOfficeKit; -typedef struct _LibreOfficeKitClass LibreOfficeKitClass; +typedef struct LibreOfficeKitStruct LibreOfficeKit; +typedef struct LibreOfficeKitClassStruct LibreOfficeKitClass; -typedef struct _LibreOfficeKitDocument LibreOfficeKitDocument; -typedef struct _LibreOfficeKitDocumentClass LibreOfficeKitDocumentClass; +typedef struct LibreOfficeKitDocumentStruct LibreOfficeKitDocument; +typedef struct LibreOfficeKitDocumentClassStruct LibreOfficeKitDocumentClass; // Do we have an extended member in this struct ? #define LIBREOFFICEKIT_HAS_MEMBER(strct,member,nSize) \ @@ -44,12 +44,12 @@ typedef struct _LibreOfficeKitDocumentClass LibreOfficeKitDocumentClass; #define LIBREOFFICEKIT_HAS(pKit,member) LIBREOFFICEKIT_HAS_MEMBER(LibreOfficeKitClass,member,(pKit)->pClass->nSize) -struct _LibreOfficeKit +struct LibreOfficeKitStruct { LibreOfficeKitClass* pClass; }; -struct _LibreOfficeKitClass +struct LibreOfficeKitClassStruct { size_t nSize; @@ -187,12 +187,12 @@ struct _LibreOfficeKitClass #define LIBREOFFICEKIT_DOCUMENT_HAS(pDoc,member) LIBREOFFICEKIT_HAS_MEMBER(LibreOfficeKitDocumentClass,member,(pDoc)->pClass->nSize) -struct _LibreOfficeKitDocument +struct LibreOfficeKitDocumentStruct { LibreOfficeKitDocumentClass* pClass; }; -struct _LibreOfficeKitDocumentClass +struct LibreOfficeKitDocumentClassStruct { size_t nSize;
