[Libreoffice-commits] core.git: 2 commits - sc/qa sw/qa
Markus Mohrhard
markus.mohrhard at googlemail.com
Sun Jul 23 22:11:42 UTC 2017
sc/qa/unit/screenshots/screenshots.cxx | 1 +
sw/qa/unit/sw-dialogs-test_2.cxx | 2 ++
2 files changed, 3 insertions(+)
New commits:
commit 9263470903a46fa030fb941ee024bf24f2b98e59
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Jul 24 00:09:31 2017 +0200
screenshots: the screenshots now need a initialized SwModule
Change-Id: I44ea8630a874300e9163d71bd5094a5941d2a419
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
commit 7ebdc10f04539269542bbe348b5a0a297183f116
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Jul 24 00:09:04 2017 +0200
screenshots: fix the screenshot build
Change-Id: I3c295c4817e19c5e31b793fd455c3071015098d7
diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx
index a49ab9c152ae..adcfe9e93dbe 100644
--- a/sc/qa/unit/screenshots/screenshots.cxx
+++ b/sc/qa/unit/screenshots/screenshots.cxx
@@ -40,6 +40,7 @@
#include <patattr.hxx>
#include <sc.hrc>
+#include <strings.hrc>
#include <scresid.hxx>
#include <scitems.hxx>
More information about the Libreoffice-commits
mailing list