fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libmspub / ubsan.patch
blobb58249e18e0f3d458a8412e0d2e3eccb5922f533
1 --- src/lib/MSPUBContentChunkType.h
2 +++ src/lib/MSPUBContentChunkType.h
3 @@ -27,7 +27,8 @@
4 CELLS = 0x63,
5 FONT = 0x6C,
6 IMAGE_2K, //these don't exist in Pub 2k3 so their value in the enum is not used.
7 - IMAGE_2K_DATA
8 + IMAGE_2K_DATA,
9 + MSPUBContentChunkType_dummy=0xFF // MSPUBParser.cpp:2359:9: runtime error: load of value 138, which is not a valid value for type 'libmspub::MSPUBContentChunkType'
11 } // namespace libmspub