summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_htmlexport.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-11-12 11:00:24 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-12 11:03:06 +0100
commit12fd49a2701f4d23f23f0770bd40c8cd20b523c7 (patch)
tree630528227acb6c4cfd7fee8abee569f03de181df /sw/CppunitTest_sw_htmlexport.mk
parent0215131e36fdabf0e2b02c2f8032d393f31195c3 (diff)
CppunitTest_sw_htmlexport: make this really test the exported model
There were two problems here: 1) The original testsuite just served as a crash-test for the HTML export filter, but the second testcase assumed it also reloads the document model. Once this is fixed, we notice that: 2) There are some nasty 'mm100 <-> in' rounding errors, work this around by using cms unconditionally. (Exact problem was that CharTopBorderDistance was 457, but was expected to be 450.) Change-Id: Iaa1f98486767e4dfa81c2ca3e456bc39131977eb
Diffstat (limited to 'sw/CppunitTest_sw_htmlexport.mk')
-rw-r--r--sw/CppunitTest_sw_htmlexport.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_htmlexport.mk b/sw/CppunitTest_sw_htmlexport.mk
index 603939ae7114..5f0ed0609a7d 100644
--- a/sw/CppunitTest_sw_htmlexport.mk
+++ b/sw/CppunitTest_sw_htmlexport.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_htmlexport, \
comphelper \
cppu \
cppuhelper \
+ i18nlangtag \
sal \
sw \
test \
@@ -36,6 +37,7 @@ $(eval $(call gb_CppunitTest_use_externals,sw_htmlexport,\
$(eval $(call gb_CppunitTest_set_include,sw_htmlexport,\
-I$(SRCDIR)/sw/inc \
+ -I$(SRCDIR)/sw/source/ui/inc \
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/qa/extras/inc \
$$(INCLUDE) \