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 /sfx2/source/notify | |
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 'sfx2/source/notify')
-rw-r--r-- | sfx2/source/notify/globalevents.cxx | 2 |
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--; |