summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/tkscrollbar.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/tkscrollbar.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/tkscrollbar.cxx')
-rw-r--r--toolkit/source/controls/tkscrollbar.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/toolkit/source/controls/tkscrollbar.cxx b/toolkit/source/controls/tkscrollbar.cxx
index 2de8b56131c8..f75183186610 100644
--- a/toolkit/source/controls/tkscrollbar.cxx
+++ b/toolkit/source/controls/tkscrollbar.cxx
@@ -47,7 +47,8 @@ namespace toolkit
//= UnoControlScrollBarModel
//====================================================================
//--------------------------------------------------------------------
- UnoControlScrollBarModel::UnoControlScrollBarModel()
+ UnoControlScrollBarModel::UnoControlScrollBarModel( const uno::Reference< lang::XMultiServiceFactory >& i_factory )
+ :UnoControlModel( i_factory )
{
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXScrollBar );
}
@@ -96,8 +97,9 @@ namespace toolkit
//====================================================================
//= UnoControlScrollBarModel
//====================================================================
- UnoScrollBarControl::UnoScrollBarControl()
- : maAdjustmentListeners( *this )
+ UnoScrollBarControl::UnoScrollBarControl( const uno::Reference< lang::XMultiServiceFactory >& i_factory )
+ :UnoControlBase( i_factory )
+ ,maAdjustmentListeners( *this )
{
}