summaryrefslogtreecommitdiffstats
path: root/include/xmloff
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2019-08-21 10:30:31 +0200
committerCaolán McNamara <caolanm@redhat.com>2019-08-24 22:36:51 +0200
commit92f527ef00fe7fa4f84e6577c7249de845be6479 (patch)
tree069e0106eb97cd0cb641f1f6c9706b53fbec57ca /include/xmloff
parentRelated: tdf#126693 cannot put focus into combobox entry (diff)
downloadcore-92f527ef00fe7fa4f84e6577c7249de845be6479.tar.gz
core-92f527ef00fe7fa4f84e6577c7249de845be6479.zip
tdf#126792: DOCX legacy drop-downs are only supposed to hold 25 items, DOCX
Truncate item list if the MSO limit is exceeded. Reviewed-on: https://gerrit.libreoffice.org/77844 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 8d84f32d55df06c2944da78e2b779de2dba21d50) Change-Id: I21fd63fd2b8d6c8fe76500e1cdd468d4692612c1 Reviewed-on: https://gerrit.libreoffice.org/77869 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/odffields.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xmloff/odffields.hxx b/include/xmloff/odffields.hxx
index 27525fb39374..fd1b6b4dabfe 100644
--- a/include/xmloff/odffields.hxx
+++ b/include/xmloff/odffields.hxx
@@ -32,6 +32,7 @@
#define ODF_FORMDROPDOWN "vnd.oasis.opendocument.field.FORMDROPDOWN"
#define ODF_FORMDROPDOWN_LISTENTRY "Dropdown_ListEntry"
#define ODF_FORMDROPDOWN_RESULT "Dropdown_Selected"
+#define ODF_FORMDROPDOWN_ENTRY_COUNT_LIMIT 25
#define ODF_TOC "vnd.oasis.opendocument.field.TOC"