Kaydet (Commit) e4200feb authored tarafından Jennifer Liebel's avatar Jennifer Liebel Kaydeden (comit) Tobias Madl

changed timers to idle

Change-Id: I5846940cc45781f4a0264047107dbb568604d543
üst 9fe256e5
...@@ -243,7 +243,7 @@ ToolBarManager::ToolBarManager( const Reference< XComponentContext >& rxContext, ...@@ -243,7 +243,7 @@ ToolBarManager::ToolBarManager( const Reference< XComponentContext >& rxContext,
ToolBarManager::~ToolBarManager() ToolBarManager::~ToolBarManager()
{ {
assert(!m_aAsyncUpdateControllersTimer.IsActive()); assert(!m_aAsyncUpdateControllersIdle.IsActive());
OSL_ASSERT( m_pToolBar == 0 ); OSL_ASSERT( m_pToolBar == 0 );
OSL_ASSERT( !m_bAddedToTaskPaneList ); OSL_ASSERT( !m_bAddedToTaskPaneList );
} }
...@@ -631,7 +631,7 @@ void SAL_CALL ToolBarManager::dispose() throw( RuntimeException, std::exception ...@@ -631,7 +631,7 @@ void SAL_CALL ToolBarManager::dispose() throw( RuntimeException, std::exception
// stop timer to prevent timer events after dispose // stop timer to prevent timer events after dispose
// do it last because other calls could restart timer in StateChanged() // do it last because other calls could restart timer in StateChanged()
m_aAsyncUpdateControllersTimer.Stop(); m_aAsyncUpdateControllersIdle.Stop();
m_bDisposed = true; m_bDisposed = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment