diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-24 00:09:31 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-24 00:11:02 +0200 |
commit | 9263470903a46fa030fb941ee024bf24f2b98e59 (patch) | |
tree | da925cc3f7a86fb7bf66074892e71b3faf7cb4d2 /sw | |
parent | 7ebdc10f04539269542bbe348b5a0a297183f116 (diff) |
screenshots: the screenshots now need a initialized SwModule
Change-Id: I44ea8630a874300e9163d71bd5094a5941d2a419
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/unit/sw-dialogs-test_2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/qa/unit/sw-dialogs-test_2.cxx b/sw/qa/unit/sw-dialogs-test_2.cxx index a2adfdc1bf08..261735c9405c 100644 --- a/sw/qa/unit/sw-dialogs-test_2.cxx +++ b/sw/qa/unit/sw-dialogs-test_2.cxx @@ -16,6 +16,7 @@ #include <vcl/abstdlg.hxx> #include <swabstdlg.hxx> +#include <swdll.hxx> using namespace ::com::sun::star; @@ -56,6 +57,7 @@ SwDialogsTest2::SwDialogsTest2() void SwDialogsTest2::setUp() { ScreenshotTest::setUp(); + SwGlobals::ensure(); // Make sure the swui library's global pSwResMgr is initialized // (alternatively to dynamically loading the library, SwCreateDialogFactory // could be declared in an include file and this CppunitTest link against |