diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-02-23 09:58:44 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-02-23 09:58:44 +0100 |
commit | 2a722a41a6819844227216dcf884c49f916eb91a (patch) | |
tree | b08d3588e11b8e415612c3055d4407187ff4ce2e /svx/source/form | |
parent | dba34d: #i116991# fix ScriptEventListenerWrapper to report failures in the de... (diff) | |
parent | masterfix DEV300: #i10000# init order fix (diff) | |
download | core-2a722a41a6819844227216dcf884c49f916eb91a.tar.gz core-2a722a41a6819844227216dcf884c49f916eb91a.zip |
debuglevels: merged to-be-m101
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/formcontroller.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 528661d2abe4..6f6cdbf9c2a6 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -479,7 +479,10 @@ class FmXAutoControl: public UnoControl friend Reference< XInterface > SAL_CALL FmXAutoControl_NewInstance_Impl(); public: - FmXAutoControl(){} + FmXAutoControl( const ::comphelper::ComponentContext& i_context ) + :UnoControl( i_context.getLegacyServiceFactory() ) + { + } virtual ::rtl::OUString GetComponentServiceName() {return ::rtl::OUString::createFromAscii("Edit");} virtual void SAL_CALL createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw( RuntimeException ); @@ -1451,7 +1454,7 @@ void FormController::toggleAutoFields(sal_Bool bAutoFields) && ::comphelper::getBOOL( xField->getPropertyValue( FM_PROP_AUTOINCREMENT ) ) ) { - replaceControl( xControl, new FmXAutoControl ); + replaceControl( xControl, new FmXAutoControl( m_aContext ) ); } } } |