diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-04 10:12:00 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-04 10:12:00 +0000 |
commit | 6b6c0e8853f8e81fd5f912b7ae784eea9a899ba6 (patch) | |
tree | 7920c65c2c03fc26aeb9f0a21db0f88123a1b289 /sfx2 | |
parent | 61a682c9495cfcbeba41c701d10ae9933a6cb3ab (diff) |
INTEGRATION: CWS pb17 (1.122.54); FILE MERGED
2006/07/28 06:27:56 cd 1.122.54.1: #137946# Toggle statusbar must make sure that a statusbar is created. Therefore createElement is mandatory before calling showElement
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 087001751ca5..f597e300fec0 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -4,9 +4,9 @@ * * $RCSfile: viewfrm.cxx,v $ * - * $Revision: 1.122 $ + * $Revision: 1.123 $ * - * last change: $Author: hr $ $Date: 2006-06-19 22:39:31 $ + * last change: $Author: ihi $ $Date: 2006-08-04 11:12:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -3438,7 +3438,10 @@ void SfxViewFrame::MiscExec_Impl( SfxRequest& rReq ) bShow = pShowItem->GetValue(); if ( bShow ) + { + xLayoutManager->createElement( aStatusbarResString ); xLayoutManager->showElement( aStatusbarResString ); + } else xLayoutManager->hideElement( aStatusbarResString ); |