diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-10 14:53:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-10 14:53:47 +0000 |
commit | d7685eb3f417e19a5e61f2fe550eb03d6848365d (patch) | |
tree | 5c34d304fc0e8042bcc9e768265d11f24568feb4 /editeng/qa | |
parent | f596e5d461b6436cdb6ee9efa59807d99bb54135 (diff) |
ensure SfxApplication exists for editeng test
Change-Id: I73814e38437f83f8aa7b87addc285e82f7357bea
Diffstat (limited to 'editeng/qa')
-rw-r--r-- | editeng/qa/unit/core-test.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index 23defaa4e8c1..dea52f3c7505 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -12,6 +12,7 @@ #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> +#include "sfx2/app.hxx" #include "svl/itempool.hxx" #include "editeng/eerdll.hxx" #include "editeng/eerdll2.hxx" @@ -80,6 +81,8 @@ void Test::setUp() test::BootstrapFixture::setUp(); mpItemPool = new EditEngineItemPool(true); + + SfxApplication::GetOrCreate(); } void Test::tearDown() |