summaryrefslogtreecommitdiff
path: root/writerperfect/CppunitTest_writerperfect_epubexport.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-09-07 13:02:49 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-09-07 14:12:15 +0200
commit3829949e91c578bc9e99858ec170f0c6736d9828 (patch)
treefc2967c9f51a01ea82711796732be8ed63f5da09 /writerperfect/CppunitTest_writerperfect_epubexport.mk
parent41a85500a70533e1c9791c3a4f8b6c24f2143682 (diff)
EPUB export: handle nested spans
ODT export uses nested spans to represent a combination of named character style + automatic style (instead of having a parent for the automatic style), but librevenge doesn't allow nested spans, so handle this explicitly. The alternative would have been to remember the attribute list as member data, but the underlying SvXMLAttributeList is reused after startElement() returns, so it by the time characters() is invoked, it won't have the data we need anymore. (Would be a trade-off between doing the attributes -> property list conversion exactly once or depending the number of characters() invocation anyway.) Change-Id: I1dd2f060c421c126340db471a257093b30431d17 Reviewed-on: https://gerrit.libreoffice.org/42046 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'writerperfect/CppunitTest_writerperfect_epubexport.mk')
-rw-r--r--writerperfect/CppunitTest_writerperfect_epubexport.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/writerperfect/CppunitTest_writerperfect_epubexport.mk b/writerperfect/CppunitTest_writerperfect_epubexport.mk
index a74de9ebc7fd..d634e59b87da 100644
--- a/writerperfect/CppunitTest_writerperfect_epubexport.mk
+++ b/writerperfect/CppunitTest_writerperfect_epubexport.mk
@@ -21,9 +21,10 @@ $(eval $(call gb_CppunitTest_use_libraries,writerperfect_epubexport, \
cppuhelper \
sal \
test \
+ tl \
unotest \
utl \
- tl \
+ wpftwriter \
$(gb_UWINAPI) \
))