summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/tksimpleanimation.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-12-06 14:14:11 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-12-06 14:14:11 +0100
commit2033a625d3a213755d8c5015bd233b748b514b83 (patch)
tree259f30b33f0dab7e8732fec3497a033cdfbe40fd /toolkit/source/controls/tksimpleanimation.cxx
parentcda10a2d67d77b74cafb41c5ce294c2fd195dc66 (diff)
gridsort: give the UnoControl(Model/Base) classes a ctor taking a service factory, so we have access to the factory
which created us, and don't need to resort to the process'es service factory
Diffstat (limited to 'toolkit/source/controls/tksimpleanimation.cxx')
-rw-r--r--toolkit/source/controls/tksimpleanimation.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolkit/source/controls/tksimpleanimation.cxx b/toolkit/source/controls/tksimpleanimation.cxx
index 3d89bf59af82..f6e559f6e6fc 100644
--- a/toolkit/source/controls/tksimpleanimation.cxx
+++ b/toolkit/source/controls/tksimpleanimation.cxx
@@ -44,7 +44,8 @@ namespace toolkit
//= UnoSimpleAnimationControlModel
//====================================================================
//--------------------------------------------------------------------
- UnoSimpleAnimationControlModel::UnoSimpleAnimationControlModel()
+ UnoSimpleAnimationControlModel::UnoSimpleAnimationControlModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory )
+ :UnoControlModel( i_factory )
{
ImplRegisterProperty( BASEPROPERTY_DEFAULTCONTROL );
ImplRegisterProperty( BASEPROPERTY_REPEAT );
@@ -119,7 +120,8 @@ namespace toolkit
//= UnoSimpleAnimationControl
//====================================================================
//--------------------------------------------------------------------
- UnoSimpleAnimationControl::UnoSimpleAnimationControl()
+ UnoSimpleAnimationControl::UnoSimpleAnimationControl( const uno::Reference< lang::XMultiServiceFactory >& i_factory )
+ :UnoControlBase( i_factory )
{
}