summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-28 09:31:12 +0200
committerTor Lillqvist <tml@collabora.com>2013-10-28 11:33:09 +0200
commit0d9067906eabf92ab25fb9e0b43e3c972d302da6 (patch)
treec86906ae9f555a2a0c267d3ecb5b3ee68490ab7e /vcl/headless
parent0bb042d4427b746b547c31c25e6594ec5c064116 (diff)
Add some (commented out) SAL_DEBUG() calls
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpframe.cxx6
1 files changed, 6 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 )