enable async. termination of office for normal AND plugin mode
This commit is contained in:
parent
444c5cbdeb
commit
9491e5432d
1 changed files with 3 additions and 6 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: framecontainer.cxx,v $
|
||||
*
|
||||
* $Revision: 1.4 $
|
||||
* $Revision: 1.5 $
|
||||
*
|
||||
* last change: $Author: as $ $Date: 2000-10-19 11:00:38 $
|
||||
* last change: $Author: as $ $Date: 2000-10-25 06:16:44 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -373,16 +373,13 @@ Reference< XFrame > FrameContainer::getActive() const
|
|||
//*****************************************************************************************************************
|
||||
// public method
|
||||
//*****************************************************************************************************************
|
||||
void FrameContainer::enableQuitTimer( const Reference< XDesktop >& xDesktop ,
|
||||
const TAsyncQuitMode& aMode )
|
||||
void FrameContainer::enableQuitTimer( const Reference< XDesktop >& xDesktop )
|
||||
{
|
||||
// If no current timer exist - create a new one.
|
||||
if( m_rQuitTimer.isEmpty() == sal_True )
|
||||
{
|
||||
m_rQuitTimer.bind( new AsyncQuit( xDesktop ) );
|
||||
}
|
||||
// Set given mode on existing or created timer member!
|
||||
m_rQuitTimer->setMode( aMode );
|
||||
}
|
||||
|
||||
//*****************************************************************************************************************
|
||||
|
|
Loading…
Reference in a new issue