diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-07 20:33:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-08 09:56:07 +0000 |
commit | 3d213b3dc5130bdbacbd64be00867eecad6373e8 (patch) | |
tree | 32726b77c99f041b48172715b367aae192b39886 /cppcanvas | |
parent | b5acaa42bb44ad358b0c126af18ea3bdf88d4bd3 (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')
-rw-r--r-- | cppcanvas/qa/extras/emfplus/emfplus.cxx | 2 |
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 |