diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-03-18 16:02:31 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-03-18 16:02:31 +0000 |
commit | a3bb982613c9313569efa985d1e82becdf10be59 (patch) | |
tree | 47bd1683646e105e221627ee50b22a1398ce093b /sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx | |
parent | 6795a1e1554ac8fefc3dee49cbf21cf06a1e3632 (diff) |
INTEGRATION: CWS impress36 (1.2.108); FILE MERGED
2005/02/24 12:22:20 af 1.2.108.1: #i43335# Made controls constructable on demand.
Diffstat (limited to 'sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx')
-rw-r--r-- | sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx index 433505530866..1b07ae9f134d 100644 --- a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx +++ b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx @@ -2,9 +2,9 @@ * * $RCSfile: SlideTransitionPanel.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-11-26 20:26:30 $ + * last change: $Author: kz $ $Date: 2005-03-18 17:02:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -60,6 +60,8 @@ ************************************************************************/ #include "SlideTransitionPanel.hxx" +#include "taskpane/TaskPaneControlFactory.hxx" + #include "strings.hrc" #include "sdresid.hxx" @@ -76,6 +78,7 @@ namespace sd namespace toolpanel { namespace controls { + SlideTransitionPanel::SlideTransitionPanel(TreeNode* pParent, ViewShellBase& rBase) : SubToolPanel (pParent), maPreferredSize( 100, 200 ) @@ -89,6 +92,12 @@ SlideTransitionPanel::~SlideTransitionPanel() delete mpWrappedControl; } +std::auto_ptr<ControlFactory> SlideTransitionPanel::CreateControlFactory (ViewShellBase& rBase) +{ + return std::auto_ptr<ControlFactory>( + new ControlFactoryWithArgs1<SlideTransitionPanel,ViewShellBase>(rBase)); +} + Size SlideTransitionPanel::GetPreferredSize() { return maPreferredSize; |