compilerplugins/clang/constantparam.booleans.results |    2 +-
 include/LibreOfficeKit/LibreOfficeKit.h              |   16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit bac44a65b0f2d8dfd65a899599e13542c73e1173
Author:     tml <[email protected]>
AuthorDate: Mon Jan 5 16:05:56 2026 +0200
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Wed Jan 7 05:48:11 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: I3eabc8aa3570b17e05259c0d56d3b16246335ffb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196572
    Tested-by: Tor Lillqvist <[email protected]>
    Reviewed-by: Tor Lillqvist <[email protected]>

diff --git a/compilerplugins/clang/constantparam.booleans.results 
b/compilerplugins/clang/constantparam.booleans.results
index af31b82f1ffe..d655a25c1d3b 100644
--- a/compilerplugins/clang/constantparam.booleans.results
+++ b/compilerplugins/clang/constantparam.booleans.results
@@ -411,7 +411,7 @@ desktop/source/deployment/gui/dp_gui_updatedialog.hxx:100
     _Bool bEnableCheckBox
     0
 desktop/source/lib/init.cxx:8214
-    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 4c94cb6041ad..602cdd2e69f2 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;
 

Reply via email to