summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parenttdf#105983 libxmlsec: backport NSS / ECDSA patches (diff)
downloadcore-3d213b3dc5130bdbacbd64be00867eecad6373e8.tar.gz
core-3d213b3dc5130bdbacbd64be00867eecad6373e8.zip
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 'include')
-rw-r--r--include/sfx2/app.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 573504413c17..315e3aeaa767 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -246,7 +246,7 @@ public:
inline SfxApplication* SfxGetpApp()
{
- return SfxApplication::GetOrCreate();
+ return SfxApplication::Get();
}
#endif