summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorTobias Madl <tobias.madl.dev@gmail.com>2014-11-11 09:44:53 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2014-12-09 12:34:56 +0000
commit8a0ae49abe165218df5f473b35f924ff47144854 (patch)
tree0cea0ab20bc8fddcdf4f9c76092ef3b1dae84d6c /sw/source/ui
parente3b098a8166d05494c8584ac0d099dae3531291f (diff)
changed timer to idle
Change-Id: I58bcbf7f7f2d1f7237561d5abf8e73d46d0726de
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/dbui/mmoutputtypepage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx b/sw/source/ui/dbui/mmoutputtypepage.cxx
index 9c849c025e50..57abcdef9892 100644
--- a/sw/source/ui/dbui/mmoutputtypepage.cxx
+++ b/sw/source/ui/dbui/mmoutputtypepage.cxx
@@ -86,13 +86,13 @@ struct SwSendMailDialog_Impl
::rtl::Reference< IMailDispatcherListener> xMailListener;
uno::Reference< mail::XMailService > xConnectedMailService;
uno::Reference< mail::XMailService > xConnectedInMailService;
- Timer aRemoveTimer;
+ Idle aRemoveIdle;
SwSendMailDialog_Impl() :
nCurrentDescriptor(0),
nDocumentCount(0)
{
- aRemoveTimer.SetTimeout(500);
+ aRemoveIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST);
}
~SwSendMailDialog_Impl()
@@ -513,9 +513,9 @@ void SwSendMailDialog::StateChanged( StateChangedType nStateChange )
ModelessDialog::StateChanged( nStateChange );
if(StateChangedType::VISIBLE == nStateChange && !IsVisible())
{
- m_pImpl->aRemoveTimer.SetTimeoutHdl( STATIC_LINK( this, SwSendMailDialog,
+ m_pImpl->aRemoveIdle.SetIdleHdl( STATIC_LINK( this, SwSendMailDialog,
RemoveThis ) );
- m_pImpl->aRemoveTimer.Start();
+ m_pImpl->aRemoveIdle.Start();
}
}