diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-25 23:03:49 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-25 23:58:12 +0200 |
commit | 07b5102e7b1423becc395660c9f5c02bfab6477a (patch) | |
tree | 90dbe0518f97b3ce5dfc22e20b2d03a8ef71b711 /framework/source/services | |
parent | vcl: fix typo (diff) | |
download | core-07b5102e7b1423becc395660c9f5c02bfab6477a.tar.gz core-07b5102e7b1423becc395660c9f5c02bfab6477a.zip |
There are many ships in the port of Hamburg but "ownership" is not one
Change-Id: I971390d084b08293b21fdc35beb74482a1560bb8
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/frame.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 8750e40d290e..e33e93d5af46 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1546,11 +1546,11 @@ void SAL_CALL Frame::removeFrameActionListener( const css::uno::Reference< css:: @descr This method ask internal component (controller) if he accept this close request. In case of <TRUE/> nothing will be happen (from point of caller of this close method). In case of <FALSE/> a CloseVetoException is thrown. After such exception given parameter - <var>bDeliverOwnerShip</var> regulate which will be the new owner of this instance. + <var>bDeliverOwnership</var> regulate which will be the new owner of this instance. @attention It's the replacement for XTask::close() which is marked as obsolete method. - @param bDeliverOwnerShip + @param bDeliverOwnership If parameter is set to <FALSE/> the original caller will be the owner after thrown veto exception and must try to close this frame at later time again. Otherwhise the source of throwed exception is the right one. May it will be the frame himself. @@ -1560,7 +1560,7 @@ void SAL_CALL Frame::removeFrameActionListener( const css::uno::Reference< css:: @threadsafe yes *//*-*****************************************************************************************************/ -void SAL_CALL Frame::close( sal_Bool bDeliverOwnerShip ) throw( css::util::CloseVetoException, +void SAL_CALL Frame::close( sal_Bool bDeliverOwnership ) throw( css::util::CloseVetoException, css::uno::RuntimeException ) { TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS ); @@ -1583,7 +1583,7 @@ void SAL_CALL Frame::close( sal_Bool bDeliverOwnerShip ) throw( css::util::Close { try { - ((css::util::XCloseListener*)pIterator.next())->queryClosing( aSource, bDeliverOwnerShip ); + ((css::util::XCloseListener*)pIterator.next())->queryClosing( aSource, bDeliverOwnership ); } catch( const css::uno::RuntimeException& ) { @@ -1596,7 +1596,7 @@ void SAL_CALL Frame::close( sal_Bool bDeliverOwnerShip ) throw( css::util::Close // check if this frame is used for any load process currently if (isActionLocked()) { - if (bDeliverOwnerShip) + if (bDeliverOwnership) { /* SAFE */ WriteGuard aWriteLock( m_aLock ); |