diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-04 10:34:59 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-04 10:41:18 +0100 |
commit | 0d9a5bfb1845a40fe701317486014145fdd08d06 (patch) | |
tree | 0a610952dd63dfba80715dac30f6a64140c78164 /writerfilter/qa | |
parent | 622a6338dc9c5e1eb795f67cd3224ddfba4ab88a (diff) |
fdo#49666 RTF import: fix crash on picture frame with shape text
The bugdoc contains a shape with type 75 (ESCHER_ShpInst_PictureFrame),
which also has a shape text. Looks like this is an RTF which is
generated by some 3rd-party tool: Word can open it, but it doesn't show
the text on the picture frame, either.
So, let's just ignore the shape text for picture frames at RTF import
time as well, that avoids the crash.
Change-Id: If673122eb16f4a4f7eddf107877fcfa7cb052821
Diffstat (limited to 'writerfilter/qa')
-rw-r--r-- | writerfilter/qa/cppunittests/rtftok/data/pass/fdo49666.rtf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/writerfilter/qa/cppunittests/rtftok/data/pass/fdo49666.rtf b/writerfilter/qa/cppunittests/rtftok/data/pass/fdo49666.rtf new file mode 100644 index 000000000000..5a673ca0461c --- /dev/null +++ b/writerfilter/qa/cppunittests/rtftok/data/pass/fdo49666.rtf @@ -0,0 +1,13 @@ +{\rtf1 \ansi \ansicpg1252 \uc1 \deff1 \deflang1033 \deflangfe1033 +{\shp +{\*\shpinst \shpleft144 \shptop490 \shpright2049 \shpbottom1840 \shpfhdr1 \shpbxcolumn \shpbypara \shpwr4 \shpwrk2 \shpfblwtxt1 \shpz0 \shplid2053 +{\sp +{\sn shapeType} +{\sv 75} +} +{\shptxt foo +} +} +} +\par +} |