src/lib/MSPUBContentChunkType.h |    3 ++-
 src/lib/libmspub_utils.cpp      |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit bfe296615efb5256b4a84d60d49cf0ab07363346
Author:     Christian Lohmaier <[email protected]>
AuthorDate: Sat Apr 7 19:28:17 2018 +0200
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri May 22 21:41:21 2026 +0200

    libmspub: fix build for android-arm with debug enabled
    
    Change-Id: Idaa76bf51b3abbbeffcfec65e6eb0f11c29cc4a3
    Reviewed-on: https://gerrit.libreoffice.org/c/libmspub/+/205566
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/src/lib/libmspub_utils.cpp b/src/lib/libmspub_utils.cpp
index b2e1391..64c93a7 100644
--- a/src/lib/libmspub_utils.cpp
+++ b/src/lib/libmspub_utils.cpp
@@ -29,7 +29,7 @@ void debugPrint(const char *const format, ...)
 {
   va_list args;
   va_start(args, format);
-  std::vfprintf(stderr, format, args);
+  vfprintf(stderr, format, args);
   va_end(args);
 }
 
commit ff25d38ec24b3b2c41a5b36635f74276e309afcc
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Tue Jan 13 11:13:40 2015 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri May 22 21:41:14 2026 +0200

    external/libmspub: Work around -fsanitize=enum
    
    Change-Id: Ic8286c9949abef06684a258ac1ec38d721a89e2e
    Reviewed-on: https://gerrit.libreoffice.org/c/libmspub/+/205565
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/src/lib/MSPUBContentChunkType.h b/src/lib/MSPUBContentChunkType.h
index ab86e1c..a4055a7 100644
--- a/src/lib/MSPUBContentChunkType.h
+++ b/src/lib/MSPUBContentChunkType.h
@@ -27,7 +27,8 @@ enum MSPUBContentChunkType //Please fill this in and replace 
magic constants in
   CELLS      = 0x63,
   FONT       = 0x6C,
   IMAGE_2K, //these don't exist in Pub 2k3 so their value in the enum is not 
used.
-  IMAGE_2K_DATA
+  IMAGE_2K_DATA,
+  MSPUBContentChunkType_dummy=0xFF // MSPUBParser.cpp:2359:9: runtime error: 
load of value 138, which is not a valid value for type 
'libmspub::MSPUBContentChunkType'
 };
 } // namespace libmspub
 

Reply via email to