INTEGRATION: CWS impress36 (1.2.108); FILE MERGED

2005/02/24 12:20:52 af 1.2.108.1: #i43335# Made controls constructable on demand.
This commit is contained in:
Kurt Zenker 2005-03-18 16:00:40 +00:00
parent 056b6c8fe3
commit d05f58a36a

View file

@ -2,9 +2,9 @@
*
* $RCSfile: CustomAnimationPanel.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2004-11-26 20:25:57 $
* last change: $Author: kz $ $Date: 2005-03-18 17:00:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -61,6 +61,8 @@
#include "CustomAnimationPanel.hxx"
#include "taskpane/TaskPaneControlFactory.hxx"
#include "strings.hrc"
#include "sdresid.hxx"
@ -85,6 +87,12 @@ CustomAnimationPanel::~CustomAnimationPanel()
delete mpWrappedControl;
}
std::auto_ptr<ControlFactory> CustomAnimationPanel::CreateControlFactory (ViewShellBase& rBase)
{
return std::auto_ptr<ControlFactory>(
new ControlFactoryWithArgs1<CustomAnimationPanel,ViewShellBase>(rBase));
}
Size CustomAnimationPanel::GetPreferredSize()
{
return maPreferredSize;