diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-06-27 10:26:55 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-06-27 17:08:04 +0200 |
commit | d92aa2f445662aa9ca7d81fef1e667bcae031fc6 (patch) | |
tree | a773275c7753286fbf116eef4d20c1f31bb6b123 /svx/source/form/fmtextcontrolshell.cxx | |
parent | 556981f07815a0de0ad3576ba6f8639671a6c13c (diff) |
remove SFX_APP() macro that was a mer wrapper for SfxGetApp()
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
Diffstat (limited to 'svx/source/form/fmtextcontrolshell.cxx')
-rw-r--r-- | svx/source/form/fmtextcontrolshell.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index 594afb09fa6d..4682df6244ab 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -585,8 +585,8 @@ namespace svx SfxSlotId nSlotId( aFeature->first ); #if OSL_DEBUG_LEVEL > 0 OUString sUnoSlotName; - if ( SFX_APP() ) - sUnoSlotName = lcl_getUnoSlotName( *SFX_APP(), nSlotId ); + if ( SfxGetpApp() ) + sUnoSlotName = lcl_getUnoSlotName( *SfxGetpApp(), nSlotId ); else sUnoSlotName = "<unknown>"; OString sUnoSlotNameAscii( "\"" ); @@ -739,7 +739,7 @@ namespace svx sError += "\n WhichID: "; sError += OString::number( nWhich ); sError += "\n UNO name: "; - OUString sUnoSlotName = lcl_getUnoSlotName( *SFX_APP(), nSlotForItemSet ); + OUString sUnoSlotName = lcl_getUnoSlotName( *SfxGetpApp(), nSlotForItemSet ); if ( !sUnoSlotName.isEmpty() ) sError += OString( sUnoSlotName.getStr(), sUnoSlotName.getLength(), RTL_TEXTENCODING_ASCII_US ); else @@ -1275,7 +1275,7 @@ namespace svx ControlFeatures& _rDispatchers ) { Reference< XDispatchProvider > xProvider( _rxControl, UNO_QUERY ); - SfxApplication* pApplication = SFX_APP(); + SfxApplication* pApplication = SfxGetpApp(); DBG_ASSERT( pApplication, "FmTextControlShell::fillFeatureDispatchers: no SfxApplication!" ); if ( xProvider.is() && pApplication ) { |