summaryrefslogtreecommitdiff
path: root/vcl/headless/svpframe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/headless/svpframe.cxx')
-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 )