From d772b9bdc442c767fe99da74df375e5ecf6c8454 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 24 Mar 2015 09:58:49 +0200 Subject: loplugin:constantfunction: forms Change-Id: Icb1b4bb3fd73b54378b77fbaa6c41c3a0f03706a --- forms/source/component/FormComponent.cxx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'forms/source/component/FormComponent.cxx') 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 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& _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) -- cgit -5.3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff