diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-08 14:29:28 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:42 +0100 |
commit | 6de13b4ea6cdc063dd4f743c81561bbc393bb968 (patch) | |
tree | 47835a4ad92895f120339f55dd907db06915e49b /sfx2 | |
parent | 3f121f22067981f358d37e09167e7165c7872106 (diff) |
Move DBG_TRACE to OSL_TRACE for strings GetBuffer()
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index d6ccd302b892..bfe35837a2f6 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -155,7 +155,7 @@ IMPL_LINK(SfxEventAsyncer_Impl, TimerHdl, Timer*, pAsyncTimer) { ByteString aTmp( "SfxEvent: "); aTmp += ByteString( String( aHint.GetEventName() ), RTL_TEXTENCODING_UTF8 ); - DBG_TRACE( aTmp.GetBuffer() ); + OSL_TRACE( aTmp.GetBuffer() ); } #endif SFX_APP()->Broadcast( aHint ); @@ -1007,7 +1007,7 @@ void SfxApplication::NotifyEvent( const SfxEventHint& rEventHint, bool bSynchron { ByteString aTmp( "SfxEvent: "); aTmp += ByteString( String( rEventHint.GetEventName() ), RTL_TEXTENCODING_UTF8 ); - DBG_TRACE( aTmp.GetBuffer() ); + OSL_TRACE( aTmp.GetBuffer() ); } #endif Broadcast(rEventHint); diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 5838b9030f2b..fb1ccf84ca37 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -407,7 +407,7 @@ SfxDispatcher::~SfxDispatcher() #ifdef DBG_UTIL ByteString sTemp( "Delete Dispatcher " ); sTemp += ByteString::CreateFromInt64( (sal_uIntPtr)this ); - DBG_TRACE( sTemp.GetBuffer() ); + OSL_TRACE( sTemp.GetBuffer() ); DBG_ASSERT( !pImp->bActive, "deleting active Dispatcher" ); #endif @@ -744,7 +744,7 @@ void SfxDispatcher::DoActivate_Impl( sal_Bool bMDI, SfxViewFrame* /* pOld */ ) #ifdef DBG_UTIL ByteString sTemp("Activate Dispatcher "); sTemp += ByteString::CreateFromInt64( (sal_uIntPtr) this ); - DBG_TRACE(sTemp.GetBuffer()); + OSL_TRACE(sTemp.GetBuffer()); DBG_ASSERT( !pImp->bActive, "Activation error" ); #endif pImp->bActive = sal_True; @@ -761,7 +761,7 @@ void SfxDispatcher::DoActivate_Impl( sal_Bool bMDI, SfxViewFrame* /* pOld */ ) #ifdef DBG_UTIL ByteString sTemp("Non-MDI-Activate Dispatcher"); sTemp += ByteString::CreateFromInt64( (sal_uIntPtr) this ); - DBG_TRACE( sTemp.GetBuffer() ); + OSL_TRACE( sTemp.GetBuffer() ); #endif } diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index e47ee5d5cc3f..7d36263c5c45 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -2858,7 +2858,7 @@ void SfxBaseModel::postEvent_Impl( ::rtl::OUString aName ) #ifdef DBG_UTIL ByteString aTmp( "SfxEvent: "); aTmp += ByteString( String(aName), RTL_TEXTENCODING_UTF8 ); - DBG_TRACE( aTmp.GetBuffer() ); + OSL_TRACE( aTmp.GetBuffer() ); #endif document::EventObject aEvent( (frame::XModel *)this, aName ); ::cppu::OInterfaceContainerHelper aIC( m_aMutex ); |