conncleanup.cxx (9b5730f6) | conncleanup.cxx (2df387e6) |
---|---|
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 --- 181 unchanged lines hidden (view full) --- 190 } 191 } 192 } 193 } 194 195 //--------------------------------------------------------------------- 196 void SAL_CALL OAutoConnectionDisposer::disposing( const EventObject& _rSource ) throw (RuntimeException) 197 { | 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 --- 181 unchanged lines hidden (view full) --- 190 } 191 } 192 } 193 } 194 195 //--------------------------------------------------------------------- 196 void SAL_CALL OAutoConnectionDisposer::disposing( const EventObject& _rSource ) throw (RuntimeException) 197 { |
198 // the rowset is beeing disposed, and nobody has set a new ActiveConnection in the meantime | 198 // the rowset is being disposed, and nobody has set a new ActiveConnection in the meantime |
199 if ( isRowSetListening() ) 200 stopRowSetListening(); 201 202 clearConnection(); 203 204 if ( isPropertyListening() ) 205 stopPropertyListening( Reference< XPropertySet >( _rSource.Source, UNO_QUERY ) ); 206 } --- 37 unchanged lines hidden --- | 199 if ( isRowSetListening() ) 200 stopRowSetListening(); 201 202 clearConnection(); 203 204 if ( isPropertyListening() ) 205 stopPropertyListening( Reference< XPropertySet >( _rSource.Source, UNO_QUERY ) ); 206 } --- 37 unchanged lines hidden --- |