diff options
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 4 | ||||
-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 |
4 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 8e5739732da7..fd349ff01573 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -5402,7 +5402,7 @@ throw (RuntimeException) aStr += ByteString::CreateFromInt32((long)this); aStr += " - "; aStr += ByteString::CreateFromInt32(nLockCount); - DBG_TRACE( aStr.GetBuffer() ); + OSL_TRACE( aStr.GetBuffer() ); #endif Any a( nLockCount ); @@ -5424,7 +5424,7 @@ throw (RuntimeException) aStr += ByteString::CreateFromInt32((long)this); aStr += " - "; aStr += ByteString::CreateFromInt32(nLockCount); - DBG_TRACE( aStr.GetBuffer() ); + OSL_TRACE( aStr.GetBuffer() ); #endif // conform to documentation: unlock with lock count == 0 means force a layout 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 ); |