summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-04 14:01:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 14:30:16 +0100
commitca479763afc33824abc7afeaf41a5de1010ac777 (patch)
tree17e6b19f0af0d29a3b155d37d6b22c9fda335686 /sfx2
parent50820ace559d715891e35d9cf1213001049c96a4 (diff)
I can't see that the bVisible as 42 is any difference from 'true'
...in practise. If I'm wrong then this needs to be a TriState Change-Id: I4aa499c89ce2f1a46edf443db053b264f285b0d5
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/workwin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 8eec8bcb9e20..a8b89732c814 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -1514,8 +1514,7 @@ void SfxWorkWindow::UpdateChildWindows_Impl()
void SfxWorkWindow::CreateChildWin_Impl( SfxChildWin_Impl *pCW, sal_Bool bSetFocus )
{
- if ( pCW->aInfo.bVisible != 42 )
- pCW->aInfo.bVisible = sal_True;
+ pCW->aInfo.bVisible = true;
SfxChildWindow *pChildWin = SfxChildWindow::CreateChildWindow( pCW->nId, pWorkWin, &GetBindings(), pCW->aInfo);
if (pChildWin)