summaryrefslogtreecommitdiff
path: root/svx/source/dialog/svxbmpnumvalueset.cxx
diff options
context:
space:
mode:
authorTobias Madl <tobias.madl.dev@gmail.com>2014-11-17 09:25:25 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2014-12-09 12:34:58 +0000
commitd9f9cb96c9874767656bcb02dfdc661336afbddf (patch)
treea6bc8a858071c793bd81ccee7bfb231e44dfbb6e /svx/source/dialog/svxbmpnumvalueset.cxx
parentd843f3de731667a298a83fc66637c7f983f3b24d (diff)
changed timers to idles
Change-Id: Icb6e3e72939ab0d04d9f099f1e476131a223de48
Diffstat (limited to 'svx/source/dialog/svxbmpnumvalueset.cxx')
-rw-r--r--svx/source/dialog/svxbmpnumvalueset.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx
index 0963e6d635df..55aebe385f83 100644
--- a/svx/source/dialog/svxbmpnumvalueset.cxx
+++ b/svx/source/dialog/svxbmpnumvalueset.cxx
@@ -480,15 +480,15 @@ void SvxBmpNumValueSet::init()
GalleryExplorer::BeginLocking(GALLERY_THEME_BULLETS);
SetStyle( GetStyle() | WB_VSCROLL );
SetLineCount( 3 );
- aFormatTimer.SetTimeout(300);
- aFormatTimer.SetTimeoutHdl(LINK(this, SvxBmpNumValueSet, FormatHdl_Impl));
+ aFormatIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST);
+ aFormatIdle.SetIdleHdl(LINK(this, SvxBmpNumValueSet, FormatHdl_Impl));
}
SvxBmpNumValueSet::~SvxBmpNumValueSet()
{
GalleryExplorer::EndLocking(GALLERY_THEME_BULLETS);
- aFormatTimer.Stop();
+ aFormatIdle.Stop();
}
void SvxBmpNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )