summaryrefslogtreecommitdiffstats
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-12-22 19:35:30 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-12-22 19:57:37 +0100
commit71061656d459abecfe55e8725900d699174325df (patch)
tree8f81edfd498d209322631a6ec979b2f634192cbf /writerfilter
parentC4701: potentially uninitialized local variable 'bTestEqualCondition' used (diff)
downloadcore-71061656d459abecfe55e8725900d699174325df.tar.gz
core-71061656d459abecfe55e8725900d699174325df.zip
fdo#57886 fix import of RTF_MLIMLOC
The RTF spec says control words are case sensitive, and page 252 of the v1.9.1 spec defines \mlimloc, but earlier page 118 and 125 also defines \mlimLoc, so let's accept both.
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfcontrolwords.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx b/writerfilter/source/rtftok/rtfcontrolwords.cxx
index 9ecf9becaa0f..d2653f7648d5 100644
--- a/writerfilter/source/rtftok/rtfcontrolwords.cxx
+++ b/writerfilter/source/rtftok/rtfcontrolwords.cxx
@@ -887,6 +887,7 @@ RTFSymbol aRTFControlWords[] = {
{"mjc", CONTROL_VALUE, RTF_MJC},
{"mlim", CONTROL_DESTINATION, RTF_MLIM},
{"mlimloc", CONTROL_DESTINATION, RTF_MLIMLOC},
+ {"mlimLoc", CONTROL_DESTINATION, RTF_MLIMLOC},
{"mlimlow", CONTROL_DESTINATION, RTF_MLIMLOW},
{"mlimLow", CONTROL_DESTINATION, RTF_MLIMLOW},
{"mlimlowPr", CONTROL_DESTINATION, RTF_MLIMLOWPR},