summaryrefslogtreecommitdiff
path: root/sfx2/source/notify
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 /sfx2/source/notify
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 'sfx2/source/notify')
-rw-r--r--sfx2/source/notify/globalevents.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx
index 8b8ae93da046..011d775fcd32 100644
--- a/sfx2/source/notify/globalevents.cxx
+++ b/sfx2/source/notify/globalevents.cxx
@@ -146,7 +146,7 @@ SfxGlobalEvents_Impl::SfxGlobalEvents_Impl( const uno::Reference < uno::XCompone
, pImp (nullptr )
{
m_refCount++;
- SfxGetpApp();
+ SfxApplication::GetOrCreate();
pImp = new GlobalEventConfig();
m_xEvents = pImp;
m_refCount--;