INTEGRATION: CWS components1 (1.10.52); FILE MERGED
2006/09/25 17:32:58 af 1.10.52.2: RESYNC: (1.10-1.12); FILE MERGED 2006/08/22 11:53:04 af 1.10.52.1: #i68075# Adaption to change of signature of ViewShellBase::Get(Main)ViewShell().
This commit is contained in:
parent
c283eab6ec
commit
27b6b8cc2e
1 changed files with 3 additions and 4 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: MasterPagesPanel.cxx,v $
|
||||
*
|
||||
* $Revision: 1.12 $
|
||||
* $Revision: 1.13 $
|
||||
*
|
||||
* last change: $Author: obo $ $Date: 2006-09-16 19:19:44 $
|
||||
* last change: $Author: rt $ $Date: 2007-04-03 16:22:28 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -67,8 +67,7 @@ MasterPagesPanel::MasterPagesPanel (TreeNode* pParent, ViewShellBase& rBase)
|
|||
|
||||
// Create a panel with the master pages that are in use by the currently
|
||||
// edited document.
|
||||
DrawViewShell* pDrawViewShell = static_cast<DrawViewShell*>(
|
||||
rBase.GetMainViewShell());
|
||||
DrawViewShell* pDrawViewShell = dynamic_cast<DrawViewShell*>(rBase.GetMainViewShell().get());
|
||||
pSelector.reset(new controls::CurrentMasterPagesSelector (
|
||||
this,
|
||||
*pDocument,
|
||||
|
|
Loading…
Reference in a new issue