diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-12-22 23:51:33 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-12-23 00:03:36 +0100 |
commit | 62b9587a0d62a02aaab2ac7a4b34efb2ade16d7b (patch) | |
tree | eead3a5abbe6d5ed5b0cf4f8944879022f25a4ee | |
parent | 3916a9b39577bc1837bff6b2fbc75b5d2d5c67f3 (diff) |
fdo#44082: fix hyphenation attributes:
These have type positiveInteger, so don't write 0 values:
20.191 fo:hyphenation-push-char-count
20.192 fo:hyphenation-remain-char-count
(cherry picked from commit 59a5c37d0df9b5612552c4b749191385ca0adc80)
-rw-r--r-- | xmloff/source/text/txtprmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/txtprmap.cxx b/xmloff/source/text/txtprmap.cxx index 6a2582c755b2..235bc799816c 100644 --- a/xmloff/source/text/txtprmap.cxx +++ b/xmloff/source/text/txtprmap.cxx @@ -260,8 +260,8 @@ XMLPropertyMapEntry aXMLParaPropMap[] = MP_ED( "ParaTabStops", STYLE, TAB_STOPS, MID_FLAG_ELEMENT_ITEM|XML_TYPE_TEXT_TABSTOP, CTF_TABSTOP ), // this is not realy a string! // RES_PARATR_HYPHENZONE MT_E( "ParaIsHyphenation", FO, HYPHENATE, XML_TYPE_BOOL, 0 ), - MT_E( "ParaHyphenationMaxLeadingChars", FO, HYPHENATION_REMAIN_CHAR_COUNT, XML_TYPE_NUMBER16, 0 ), - MT_E( "ParaHyphenationMaxTrailingChars",FO, HYPHENATION_PUSH_CHAR_COUNT, XML_TYPE_NUMBER16, 0 ), + MT_E( "ParaHyphenationMaxLeadingChars", FO, HYPHENATION_REMAIN_CHAR_COUNT, XML_TYPE_NUMBER16_NO_ZERO, 0 ), + MT_E( "ParaHyphenationMaxTrailingChars",FO, HYPHENATION_PUSH_CHAR_COUNT, XML_TYPE_NUMBER16_NO_ZERO, 0 ), MP_E( "ParaHyphenationMaxHyphens", FO, HYPHENATION_LADDER_COUNT, XML_TYPE_NUMBER16_NONE, 0 ), // RES_PARATR_DROP MP_E( "DropCapWholeWord", STYLE, LENGTH, MID_FLAG_SPECIAL_ITEM|XML_TYPE_BOOL, CTF_DROPCAPWHOLEWORD ), |