summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-08 14:30:10 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:42 +0100
commit8ca72e1a77282f353bfc09a9682c7b0caf41cedb (patch)
tree55147da45edeb47fe2560daa33b27ccaf9279ce1
parent6de13b4ea6cdc063dd4f743c81561bbc393bb968 (diff)
Move DBG_TRACE to OSL_TRACE for strings foo().GetBuffer()
-rw-r--r--sfx2/source/control/dispatch.cxx6
-rw-r--r--sfx2/source/control/statcach.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index fb1ccf84ca37..cb493a14dd38 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -832,7 +832,7 @@ void SfxDispatcher::DoDeactivate_Impl( sal_Bool bMDI, SfxViewFrame* pNew )
if ( bMDI )
{
- DBG_TRACE(ByteString("Deactivate Dispatcher ").Append(ByteString::CreateFromInt64( (sal_uIntPtr) this )).GetBuffer());
+ OSL_TRACE(ByteString("Deactivate Dispatcher ").Append(ByteString::CreateFromInt64( (sal_uIntPtr) this )).GetBuffer());
DBG_ASSERT( pImp->bActive, "Deactivate error" );
pImp->bActive = sal_False;
@@ -853,7 +853,7 @@ void SfxDispatcher::DoDeactivate_Impl( sal_Bool bMDI, SfxViewFrame* pNew )
}
}
else {
- DBG_TRACE( ByteString ("Non-MDI-DeActivate Dispatcher").Append(ByteString::CreateFromInt64( (sal_uIntPtr) this )).GetBuffer() );
+ OSL_TRACE( ByteString ("Non-MDI-DeActivate Dispatcher").Append(ByteString::CreateFromInt64( (sal_uIntPtr) this )).GetBuffer() );
}
if ( IsAppDispatcher() && !pSfxApp->IsDowning() )
@@ -2697,7 +2697,7 @@ void SfxDispatcher::DebugOutput_Impl() const
{
SfxShell *pShell = GetShell(nShell-1);
const SfxInterface *pIFace = pShell->GetInterface();
- DBG_TRACE (pIFace->GetClassName().GetBuffer());
+ OSL_TRACE(pIFace->GetClassName().GetBuffer());
}
DbgGetData()->nTraceOut = nOld;
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx
index 24c666c9db64..71d6e9e40aa0 100644
--- a/sfx2/source/control/statcach.cxx
+++ b/sfx2/source/control/statcach.cxx
@@ -529,7 +529,7 @@ void SfxStateCache::DeleteFloatingWindows()
SfxControllerItem *pNextCtrl=0;
for ( SfxControllerItem *pCtrl=pController; pCtrl; pCtrl=pNextCtrl )
{
- DBG_TRACE((ByteString("pCtrl: ").Append(ByteString::CreateFromInt64((sal_uIntPtr)pCtrl))).GetBuffer());
+ OSL_TRACE((ByteString("pCtrl: ").Append(ByteString::CreateFromInt64((sal_uIntPtr)pCtrl))).GetBuffer());
pNextCtrl = pCtrl->GetItemLink();
pCtrl->DeleteFloatingWindow();
}