diff options
Diffstat (limited to 'sw/source/ui/envelp/labfmt.cxx')
-rw-r--r-- | sw/source/ui/envelp/labfmt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/envelp/labfmt.cxx b/sw/source/ui/envelp/labfmt.cxx index f57c4bd1854a..a6673a180c85 100644 --- a/sw/source/ui/envelp/labfmt.cxx +++ b/sw/source/ui/envelp/labfmt.cxx @@ -354,7 +354,7 @@ SwLabFormatPage::SwLabFormatPage(vcl::Window* pParent, const SfxItemSet& rSet) m_pSavePB->SetClickHdl( LINK (this, SwLabFormatPage, SaveHdl)); // Set timer aPreviewIdle.SetPriority(TaskPriority::LOWEST); - aPreviewIdle.SetIdleHdl(LINK(this, SwLabFormatPage, PreviewHdl)); + aPreviewIdle.SetInvokeHandler(LINK(this, SwLabFormatPage, PreviewHdl)); } SwLabFormatPage::~SwLabFormatPage() @@ -390,7 +390,7 @@ IMPL_LINK_NOARG(SwLabFormatPage, ModifyHdl, Edit&, void) } // Invalidate preview -IMPL_LINK_NOARG(SwLabFormatPage, PreviewHdl, Idle *, void) +IMPL_LINK_NOARG(SwLabFormatPage, PreviewHdl, Timer *, void) { aPreviewIdle.Stop(); ChangeMinMax(); |