summaryrefslogtreecommitdiff
path: root/writerfilter/Module_writerfilter.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-07-20 21:22:14 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-07-21 08:52:38 +0200
commit5a083be34456e91427d0f2e2fea172f49f4502db (patch)
treec69b553a63765a70dd0d22090a6c85a7d6897f24 /writerfilter/Module_writerfilter.mk
parentfa2afa041d9b1588bda9c1a7f1a3065af7175869 (diff)
tdf#134400 RTF import: fix unexpected inner properties for picture-in-textframe
Regression from commit 4ab658b56f5c6ff0082d38d8ace1924d11e30e96 (RTF import: implement support for tables inside text frames, 2013-06-16), the problem was that both the outer "textbox" and the inner "picture frame" object had a shapeType property, and the properties were stored in a vector. So by the time RTFSdrImport::initShape() looked up the shape type for the inner shape, it thought it's not a picture frame, leading to data loss. Change-Id: I4a536789371619d1d54afa8c8d41c7d273b0d21b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99111 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'writerfilter/Module_writerfilter.mk')
-rw-r--r--writerfilter/Module_writerfilter.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/Module_writerfilter.mk b/writerfilter/Module_writerfilter.mk
index 34b75ee9d54d..46d7af0ff63a 100644
--- a/writerfilter/Module_writerfilter.mk
+++ b/writerfilter/Module_writerfilter.mk
@@ -18,6 +18,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,writerfilter,\
CppunitTest_writerfilter_filters_test \
CppunitTest_writerfilter_misc \
CppunitTest_writerfilter_dmapper \
+ CppunitTest_writerfilter_rtftok \
))
# vim: set noet sw=4 ts=4: