summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-08 13:48:14 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:41 +0100
commit9a96bb8660de63530fee8cb0c5dace2e1fc28395 (patch)
tree91daac76eaa3b6c52f1a77847971e9ea49ed1540 /sfx2
parent361cfb99621ea60d688b79106340f8c665dbd72b (diff)
Move DBG_TRACE to OSL_TRACE
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appbas.cxx2
-rw-r--r--sfx2/source/appl/appquit.cxx2
-rw-r--r--sfx2/source/control/dispatch.cxx10
-rw-r--r--sfx2/source/dialog/splitwin.cxx26
-rw-r--r--sfx2/source/view/frame2.cxx2
5 files changed, 21 insertions, 21 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index 698514444ec7..5ff2f321d371 100644
--- a/sfx2/source/appl/appbas.cxx
+++ b/sfx2/source/appl/appbas.cxx
@@ -192,7 +192,7 @@ void SfxApplication::EnterBasicCall()
{
if ( 1 == ++pAppData_Impl->nBasicCallLevel )
{
- DBG_TRACE( "SfxShellObject: BASIC-on-demand" );
+ OSL_TRACE( "SfxShellObject: BASIC-on-demand" );
// First load the BASIC
GetBasic();
diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index 4635c8260054..06d1359ea074 100644
--- a/sfx2/source/appl/appquit.cxx
+++ b/sfx2/source/appl/appquit.cxx
@@ -81,7 +81,7 @@ BOOL SfxApplication::QueryExit_Impl()
// Not really exit, only minimize
InfoBox aInfoBox( NULL, SfxResId(MSG_CANT_QUIT) );
aInfoBox.Execute();
- DBG_TRACE( "QueryExit => FALSE (in use)" );
+ OSL_TRACE( "QueryExit => FALSE (in use)" );
return FALSE;
}
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 292dc39b4562..f55559f6bf4c 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -507,7 +507,7 @@ void SfxDispatcher::Pop
pImp->aToDoStack.Push( SfxToDo_Impl(bPush, bDelete, bUntil, rShell) );
if ( bFlushed )
{
- DBG_TRACE("Unflushed dispatcher!");
+ OSL_TRACE("Unflushed dispatcher!");
bFlushed = sal_False;
pImp->bUpdated = sal_False;
@@ -1881,7 +1881,7 @@ void SfxDispatcher::FlushImpl()
DBG_MEMTEST();
SFX_STACK(SfxDispatcher::FlushImpl);
- DBG_TRACE("Flushing dispatcher!");
+ OSL_TRACE("Flushing dispatcher!");
#ifdef DBG_UTIL
ByteString aMsg( "SfxDispatcher(" );
@@ -1962,7 +1962,7 @@ void SfxDispatcher::FlushImpl()
pImp->bFlushing = sal_False;
pImp->bUpdated = sal_False; // not only when bModify, if Doc/Template-Config
bFlushed = sal_True;
- DBG_TRACE("Successfully flushed dispatcher!");
+ OSL_TRACE("Successfully flushed dispatcher!");
// Activate the Shells and possible delete them in the 2nd round
for ( nToDo = aToDoCopy.Count()-1; nToDo >= 0; --nToDo )
@@ -2689,9 +2689,9 @@ void SfxDispatcher::DebugOutput_Impl() const
DbgGetData()->nTraceOut = DBG_OUT_FILE;
if (bFlushed)
- DBG_TRACE("Flushed");
+ OSL_TRACE("Flushed");
if (pImp->bUpdated)
- DBG_TRACE("updated");
+ OSL_TRACE("updated");
for ( sal_uInt16 nShell = pImp->aStack.Count(); nShell > 0; --nShell )
{
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index fe1f854d8638..b2c4d3d07346 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -723,7 +723,7 @@ void SfxSplitWindow::InsertWindow_Impl( SfxDock_Impl* pDock,
pEmptyWin->bFadeIn = FALSE;
SetPinned_Impl( FALSE );
pEmptyWin->Actualize();
- DBG_TRACE( "SfxSplitWindow::InsertWindow_Impl - registering empty Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::InsertWindow_Impl - registering empty Splitwindow" );
pWorkWin->RegisterChild_Impl( *GetSplitWindow(), eAlign, TRUE )->nVisible = CHILD_VISIBLE;
pWorkWin->ArrangeChilds_Impl();
if ( bFadeIn )
@@ -737,11 +737,11 @@ void SfxSplitWindow::InsertWindow_Impl( SfxDock_Impl* pDock,
#ifdef DBG_UTIL
if ( !bPinned || !pEmptyWin->bFadeIn )
{
- DBG_TRACE( "SfxSplitWindow::InsertWindow_Impl - registering empty Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::InsertWindow_Impl - registering empty Splitwindow" );
}
else
{
- DBG_TRACE( "SfxSplitWindow::InsertWindow_Impl - registering real Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::InsertWindow_Impl - registering real Splitwindow" );
}
#endif
pWorkWin->RegisterChild_Impl( *GetSplitWindow(), eAlign, TRUE )->nVisible = CHILD_VISIBLE;
@@ -783,11 +783,11 @@ void SfxSplitWindow::RemoveWindow( SfxDockingWindow* pDockWin, BOOL bHide )
#ifdef DBG_UTIL
if ( !bPinned || !pEmptyWin->bFadeIn )
{
- DBG_TRACE( "SfxSplitWindow::RemoveWindow - releasing empty Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::RemoveWindow - releasing empty Splitwindow" );
}
else
{
- DBG_TRACE( "SfxSplitWindow::RemoveWindow - releasing real Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::RemoveWindow - releasing real Splitwindow" );
}
#endif
pWorkWin->ReleaseChild_Impl( *GetSplitWindow() );
@@ -1074,11 +1074,11 @@ void SfxSplitWindow::SetPinned_Impl( BOOL bOn )
if ( pEmptyWin->bFadeIn )
{
// Unregister replacement windows
- DBG_TRACE( "SfxSplitWindow::SetPinned_Impl - releasing real Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::SetPinned_Impl - releasing real Splitwindow" );
pWorkWin->ReleaseChild_Impl( *this );
Hide();
pEmptyWin->Actualize();
- DBG_TRACE( "SfxSplitWindow::SetPinned_Impl - registering empty Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::SetPinned_Impl - registering empty Splitwindow" );
pWorkWin->RegisterChild_Impl( *pEmptyWin, eAlign, TRUE )->nVisible = CHILD_VISIBLE;
}
@@ -1100,10 +1100,10 @@ void SfxSplitWindow::SetPinned_Impl( BOOL bOn )
if ( pEmptyWin->bFadeIn )
{
// Unregister replacement windows
- DBG_TRACE( "SfxSplitWindow::SetPinned_Impl - releasing empty Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::SetPinned_Impl - releasing empty Splitwindow" );
pWorkWin->ReleaseChild_Impl( *pEmptyWin );
pEmptyWin->Hide();
- DBG_TRACE( "SfxSplitWindow::SetPinned_Impl - registering real Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::SetPinned_Impl - registering real Splitwindow" );
pWorkWin->RegisterChild_Impl( *this, eAlign, TRUE )->nVisible = CHILD_VISIBLE;
}
}
@@ -1134,10 +1134,10 @@ void SfxSplitWindow::SetFadeIn_Impl( BOOL bOn )
}
else
{
- DBG_TRACE( "SfxSplitWindow::SetFadeIn_Impl - releasing empty Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::SetFadeIn_Impl - releasing empty Splitwindow" );
pWorkWin->ReleaseChild_Impl( *pEmptyWin );
pEmptyWin->Hide();
- DBG_TRACE( "SfxSplitWindow::SetFadeIn_Impl - registering real Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::SetFadeIn_Impl - registering real Splitwindow" );
pWorkWin->RegisterChild_Impl( *this, eAlign, TRUE )->nVisible = CHILD_VISIBLE;
pWorkWin->ArrangeChilds_Impl();
pWorkWin->ShowChilds_Impl();
@@ -1150,11 +1150,11 @@ void SfxSplitWindow::SetFadeIn_Impl( BOOL bOn )
if ( !IsFloatingMode() )
{
// The window is not "floating", should be hidden
- DBG_TRACE( "SfxSplitWindow::SetFadeIn_Impl - releasing real Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::SetFadeIn_Impl - releasing real Splitwindow" );
pWorkWin->ReleaseChild_Impl( *this );
Hide();
pEmptyWin->Actualize();
- DBG_TRACE( "SfxSplitWindow::SetFadeIn_Impl - registering empty Splitwindow" );
+ OSL_TRACE( "SfxSplitWindow::SetFadeIn_Impl - registering empty Splitwindow" );
pWorkWin->RegisterChild_Impl( *pEmptyWin, eAlign, TRUE )->nVisible = CHILD_VISIBLE;
pWorkWin->ArrangeChilds_Impl();
pWorkWin->ShowChilds_Impl();
diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx
index e4c3c692d695..f263da6758a4 100644
--- a/sfx2/source/view/frame2.cxx
+++ b/sfx2/source/view/frame2.cxx
@@ -122,7 +122,7 @@ long SfxFrameWindow_Impl::Notify( NotifyEvent& rNEvt )
{
if ( pView->GetViewShell() && !pView->GetViewShell()->GetUIActiveIPClient_Impl() && !pFrame->IsInPlace() )
{
- DBG_TRACE("SfxFrame: GotFocus");
+ OSL_TRACE("SfxFrame: GotFocus");
pView->MakeActive_Impl( FALSE );
}