summaryrefslogtreecommitdiff
path: root/cppcanvas/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-07 20:33:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-08 09:56:07 +0000
commit3d213b3dc5130bdbacbd64be00867eecad6373e8 (patch)
tree32726b77c99f041b48172715b367aae192b39886 /cppcanvas/qa
parentb5acaa42bb44ad358b0c126af18ea3bdf88d4bd3 (diff)
make SfxGetpApp just get and move GetOrCreate to the periphery
Change-Id: If3b22635e46dbccf0fad101f51bb653cbbcd3a32 Reviewed-on: https://gerrit.libreoffice.org/34957 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cppcanvas/qa')
-rw-r--r--cppcanvas/qa/extras/emfplus/emfplus.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx
index 5ccbea12bc76..a3c6a674c855 100644
--- a/cppcanvas/qa/extras/emfplus/emfplus.cxx
+++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx
@@ -13,6 +13,7 @@
#include <com/sun/star/graphic/XGraphic.hpp>
#include <comphelper/processfactory.hxx>
+#include <sfx2/app.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/sfxbasemodel.hxx>
#include <test/unoapi_test.hxx>
@@ -33,6 +34,7 @@ public:
{
UnoApiTest::setUp();
mxDesktop.set(frame::Desktop::create(comphelper::getComponentContext(getMultiServiceFactory())));
+ SfxApplication::GetOrCreate();
};
virtual void tearDown() override