diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 09:58:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 10:31:18 +0200 |
commit | d772b9bdc442c767fe99da74df375e5ecf6c8454 (patch) | |
tree | 09c605059d340df4a9129fb432b6f4598e1f2e61 /forms/source/component/FormComponent.cxx | |
parent | c3dc46723234c3fd5101a26ff374e59140997582 (diff) |
loplugin:constantfunction: forms
Change-Id: Icb1b4bb3fd73b54378b77fbaa6c41c3a0f03706a
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r-- | forms/source/component/FormComponent.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 662aec432ba4..ca893dae1def 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -194,11 +194,6 @@ Sequence<Type> OControl::_getTypes() return TypeBag( OComponentHelper::getTypes(), OControl_BASE::getTypes() ).getTypes(); } -void OControl::initFormControlPeer( const Reference< XWindowPeer >& /*_rxPeer*/ ) -{ - // nothing to do here -} - // OComponentHelper void OControl::disposing() { @@ -289,7 +284,6 @@ void SAL_CALL OControl::createPeer(const Reference<XToolkit>& _rxToolkit, const if ( m_xControl.is() ) { m_xControl->createPeer( _rxToolkit, _rxParent ); - initFormControlPeer( getPeer() ); impl_resetStateGuard_nothrow(); } } @@ -2221,10 +2215,6 @@ void OBoundControlModel::onConnectedExternalValue( ) calculateExternalValueType(); } -void OBoundControlModel::onDisconnectedExternalValue( ) -{ -} - void OBoundControlModel::onConnectedDbColumn( const Reference< XInterface >& /*_rxForm*/ ) { OSL_PRECOND( !hasExternalValueBinding(), "OBoundControlModel::onConnectedDbColumn: how this? There's an external value binding!" ); @@ -2505,8 +2495,6 @@ void OBoundControlModel::disconnectExternalValueBinding( ) // re-connect to database column of the new parent if ( m_xAmbientForm.is() && m_xAmbientForm->isLoaded() ) impl_connectDatabaseColumn_noNotify( false ); - // tell the derivee - onDisconnectedExternalValue(); } void SAL_CALL OBoundControlModel::setValueBinding( const Reference< XValueBinding >& _rxBinding ) throw (IncompatibleTypesException, RuntimeException, std::exception) |