INTEGRATION: CWS components1 (1.4.232); FILE MERGED
2007/01/29 17:34:59 af 1.4.232.4: #i68075# Made ImpressViewShellBase the new base class. 2007/01/25 15:34:50 af 1.4.232.3: RESYNC: (1.5-1.6); FILE MERGED 2006/09/25 17:41:23 af 1.4.232.2: RESYNC: (1.4-1.5); FILE MERGED 2006/08/22 12:45:13 af 1.4.232.1: #i68075# Transition to new drawing framework.
This commit is contained in:
parent
f5ec8d239f
commit
f35a03c381
1 changed files with 16 additions and 4 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: SlideSorterViewShellBase.cxx,v $
|
||||
*
|
||||
* $Revision: 1.6 $
|
||||
* $Revision: 1.7 $
|
||||
*
|
||||
* last change: $Author: kz $ $Date: 2006-12-12 19:07:14 $
|
||||
* last change: $Author: rt $ $Date: 2007-04-03 16:27:48 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -45,6 +45,7 @@
|
|||
#include "DrawDocShell.hxx"
|
||||
#endif
|
||||
#include "strings.hrc"
|
||||
#include "framework/FrameworkHelper.hxx"
|
||||
|
||||
namespace sd {
|
||||
|
||||
|
@ -66,15 +67,23 @@ SfxViewShell* __EXPORT SlideSorterViewShellBase::CreateInstance (
|
|||
SfxViewFrame *pFrame, SfxViewShell *pOldView)
|
||||
{
|
||||
SlideSorterViewShellBase* pBase = new SlideSorterViewShellBase(pFrame, pOldView);
|
||||
pBase->LateInit();
|
||||
pBase->LateInit(framework::FrameworkHelper::msSlideSorterURL);
|
||||
return pBase;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void SlideSorterViewShellBase::RegisterFactory( USHORT nPrio )
|
||||
{
|
||||
pFactory = new SfxViewFactory(
|
||||
&CreateInstance,&InitFactory,nPrio,SdResId(STR_DEFAULTVIEW));
|
||||
InitFactory();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void SlideSorterViewShellBase::InitFactory()
|
||||
{
|
||||
SFX_VIEW_REGISTRATION(DrawDocShell);
|
||||
|
@ -89,7 +98,7 @@ void SlideSorterViewShellBase::InitFactory()
|
|||
SlideSorterViewShellBase::SlideSorterViewShellBase (
|
||||
SfxViewFrame* _pFrame,
|
||||
SfxViewShell* pOldShell)
|
||||
: ViewShellBase (_pFrame, pOldShell, ViewShell::ST_SLIDE_SORTER)
|
||||
: ImpressViewShellBase (_pFrame, pOldShell)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -100,5 +109,8 @@ SlideSorterViewShellBase::~SlideSorterViewShellBase (void)
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
} // end of namespace sd
|
||||
|
||||
|
|
Loading…
Reference in a new issue