Kaydet (Commit) 0d906790 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add some (commented out) SAL_DEBUG() calls

üst 0bb042d4
...@@ -222,6 +222,7 @@ void SvpSalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate ) ...@@ -222,6 +222,7 @@ void SvpSalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate )
{ {
if( bVisible && ! m_bVisible ) if( bVisible && ! m_bVisible )
{ {
// SAL_DEBUG("SvpSalFrame::Show: showing: " << this);
m_bVisible = true; m_bVisible = true;
m_pInstance->PostEvent( this, NULL, SALEVENT_RESIZE ); m_pInstance->PostEvent( this, NULL, SALEVENT_RESIZE );
if( ! bNoActivate ) if( ! bNoActivate )
...@@ -229,10 +230,15 @@ void SvpSalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate ) ...@@ -229,10 +230,15 @@ void SvpSalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate )
} }
else if( ! bVisible && m_bVisible ) else if( ! bVisible && m_bVisible )
{ {
// SAL_DEBUG("SvpSalFrame::Show: hiding: " << this);
m_bVisible = false; m_bVisible = false;
m_pInstance->PostEvent( this, NULL, SALEVENT_RESIZE ); m_pInstance->PostEvent( this, NULL, SALEVENT_RESIZE );
LoseFocus(); LoseFocus();
} }
else
{
// SAL_DEBUG("SvpSalFrame::Show: nothihg: " << this);
}
} }
void SvpSalFrame::Enable( sal_Bool ) void SvpSalFrame::Enable( sal_Bool )
......
...@@ -126,6 +126,7 @@ void Cursor::ImplDraw() ...@@ -126,6 +126,7 @@ void Cursor::ImplDraw()
{ {
if ( mpData && mpData->mpWindow && !mpData->mbCurVisible ) if ( mpData && mpData->mpWindow && !mpData->mbCurVisible )
{ {
// SAL_DEBUG("Cursor::ImplDraw");
Window* pWindow = mpData->mpWindow; Window* pWindow = mpData->mpWindow;
mpData->maPixPos = pWindow->LogicToPixel( maPos ); mpData->maPixPos = pWindow->LogicToPixel( maPos );
mpData->maPixSize = pWindow->LogicToPixel( maSize ); mpData->maPixSize = pWindow->LogicToPixel( maSize );
...@@ -156,6 +157,7 @@ void Cursor::ImplRestore() ...@@ -156,6 +157,7 @@ void Cursor::ImplRestore()
{ {
if ( mpData && mpData->mbCurVisible ) if ( mpData && mpData->mbCurVisible )
{ {
// SAL_DEBUG("Cursor::ImplRestore");
ImplCursorInvert( mpData ); ImplCursorInvert( mpData );
mpData->mbCurVisible = false; mpData->mbCurVisible = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment