[Libreoffice-commits] .: libmspub/libmspub-0.0.3.patch libmspub/makefile.mk
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Aug 21 04:02:29 PDT 2012
libmspub/libmspub-0.0.3.patch | 20 ++++++++++++++++++++
libmspub/makefile.mk | 3 +++
2 files changed, 23 insertions(+)
New commits:
commit 6a308e8451ba3c32b203824a229e0c68f8a32cca
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Tue Aug 21 13:01:37 2012 +0200
Fixing error: \u0000 is not a valid universal character
Change-Id: Idfc96e5f4b31cf54fdb9734b6e3cb87d3aabc786
diff --git a/libmspub/libmspub-0.0.3.patch b/libmspub/libmspub-0.0.3.patch
new file mode 100644
index 0000000..c2c8ee1
--- /dev/null
+++ b/libmspub/libmspub-0.0.3.patch
@@ -0,0 +1,20 @@
+--- misc/libmspub-0.0.3/src/lib/MSPUBParser.cpp 2012-08-21 11:40:41.000000000 +0200
++++ misc/build/libmspub-0.0.3/src/lib/MSPUBParser.cpp 2012-08-21 12:58:58.435884355 +0200
+@@ -1151,7 +1151,7 @@
+ ParagraphStyle ret;
+
+ bool isList = false;
+- uint32_t bulletChar = '\u0000';
++ uint32_t bulletChar = 0;
+ NumberingType numberingType = STANDARD_WESTERN;
+ NumberingDelimiter numberingDelimiter = NO_DELIMITER;
+ boost::optional<unsigned> numberIfRestarted;
+@@ -1256,7 +1256,7 @@
+ }
+ if (isList)
+ {
+- if (bulletChar != '\u0000')
++ if (bulletChar)
+ {
+ ret.m_listInfo = ListInfo(bulletChar);
+ }
diff --git a/libmspub/makefile.mk b/libmspub/makefile.mk
index d894e20..635d8ed 100644
--- a/libmspub/makefile.mk
+++ b/libmspub/makefile.mk
@@ -65,6 +65,9 @@ TARFILE_MD5=b2db54b6e96287ac995d7ed654ace4fc
BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS)
BUILD_DIR=src$/lib
+PATCH_FILES=\
+ $(TARFILE_NAME).patch
+
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk
More information about the Libreoffice-commits
mailing list