diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-28 09:31:12 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-28 11:33:09 +0200 |
commit | 0d9067906eabf92ab25fb9e0b43e3c972d302da6 (patch) | |
tree | c86906ae9f555a2a0c267d3ecb5b3ee68490ab7e /vcl | |
parent | 0bb042d4427b746b547c31c25e6594ec5c064116 (diff) |
Add some (commented out) SAL_DEBUG() calls
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpframe.cxx | 6 | ||||
-rw-r--r-- | vcl/source/window/cursor.cxx | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx index bfe0259ceed8..b0073712f665 100644 --- a/vcl/headless/svpframe.cxx +++ b/vcl/headless/svpframe.cxx @@ -222,6 +222,7 @@ void SvpSalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate ) { if( bVisible && ! m_bVisible ) { + // SAL_DEBUG("SvpSalFrame::Show: showing: " << this); m_bVisible = true; m_pInstance->PostEvent( this, NULL, SALEVENT_RESIZE ); if( ! bNoActivate ) @@ -229,10 +230,15 @@ void SvpSalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate ) } else if( ! bVisible && m_bVisible ) { + // SAL_DEBUG("SvpSalFrame::Show: hiding: " << this); m_bVisible = false; m_pInstance->PostEvent( this, NULL, SALEVENT_RESIZE ); LoseFocus(); } + else + { + // SAL_DEBUG("SvpSalFrame::Show: nothihg: " << this); + } } void SvpSalFrame::Enable( sal_Bool ) diff --git a/vcl/source/window/cursor.cxx b/vcl/source/window/cursor.cxx index 11d3ad182a87..77baa2b3b317 100644 --- a/vcl/source/window/cursor.cxx +++ b/vcl/source/window/cursor.cxx @@ -126,6 +126,7 @@ void Cursor::ImplDraw() { if ( mpData && mpData->mpWindow && !mpData->mbCurVisible ) { + // SAL_DEBUG("Cursor::ImplDraw"); Window* pWindow = mpData->mpWindow; mpData->maPixPos = pWindow->LogicToPixel( maPos ); mpData->maPixSize = pWindow->LogicToPixel( maSize ); @@ -156,6 +157,7 @@ void Cursor::ImplRestore() { if ( mpData && mpData->mbCurVisible ) { + // SAL_DEBUG("Cursor::ImplRestore"); ImplCursorInvert( mpData ); mpData->mbCurVisible = false; } |