From 125cbcbe6bbcf1cad7d885f0f6d3da5947d7fbbe Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 28 Aug 2014 21:44:36 +0200 Subject: sw: fix htmlexport test failure Somehow this test failed on Windows, because of restoring a "NONE" field unit to SW_MOD()... apparently the "charborder.odt" test is run first, and preTest() sees a null SW_MOD() then postTest restores a NONE metric. Hack around that by calling SwGlobals::ensure() to create SW_MOD(). Change-Id: I6c0cda3aae397071bca16bf0e5d9f8105635550f --- sw/inc/swdll.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sw/inc') diff --git a/sw/inc/swdll.hxx b/sw/inc/swdll.hxx index 707a2560a212..9f5dddfb77b7 100644 --- a/sw/inc/swdll.hxx +++ b/sw/inc/swdll.hxx @@ -22,6 +22,8 @@ #include #include +#include + namespace sw { class Filters; } /** @@ -31,7 +33,7 @@ namespace sw { class Filters; } */ namespace SwGlobals { - void ensure(); + void SW_DLLPUBLIC ensure(); sw::Filters & getFilters(); } -- cgit