formcontroller.cxx (f6e50924) formcontroller.cxx (3d762826)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 2742 unchanged lines hidden (view full) ---

2751 Reference< XPropertySet > xSet( m_xModelAsIndex, UNO_QUERY );
2752 if ( m_bDBConnection && xSet.is() )
2753 stopFormListening( xSet, sal_False );
2754
2755 m_bDBConnection = sal_False;
2756 m_bCanInsert = m_bCanUpdate = m_bCycle = sal_False;
2757 m_bCurrentRecordModified = m_bCurrentRecordNew = m_bLocked = sal_False;
2758
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 2742 unchanged lines hidden (view full) ---

2751 Reference< XPropertySet > xSet( m_xModelAsIndex, UNO_QUERY );
2752 if ( m_bDBConnection && xSet.is() )
2753 stopFormListening( xSet, sal_False );
2754
2755 m_bDBConnection = sal_False;
2756 m_bCanInsert = m_bCanUpdate = m_bCycle = sal_False;
2757 m_bCurrentRecordModified = m_bCurrentRecordNew = m_bLocked = sal_False;
2758
2759 m_pColumnInfoCache.reset( NULL );
2759 m_pColumnInfoCache.reset();
2760}
2761
2762// -----------------------------------------------------------------------------
2763void FormController::removeBoundFieldListener()
2764{
2765 const Reference< XControl >* pControls = m_aControls.getConstArray();
2766 const Reference< XControl >* pControlsEnd = pControls + m_aControls.getLength();
2767 while ( pControls != pControlsEnd )

--- 1566 unchanged lines hidden ---
2760}
2761
2762// -----------------------------------------------------------------------------
2763void FormController::removeBoundFieldListener()
2764{
2765 const Reference< XControl >* pControls = m_aControls.getConstArray();
2766 const Reference< XControl >* pControlsEnd = pControls + m_aControls.getLength();
2767 while ( pControls != pControlsEnd )

--- 1566 unchanged lines hidden ---