summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textdata.cxx
diff options
context:
space:
mode:
authorTobias Madl <tobias.madl.dev@gmail.com>2014-11-07 11:13:37 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2014-12-09 12:34:52 +0000
commit466c7b01e290513fdd252cd1783786e5521baacf (patch)
tree1cc05e666f3cf61b730b84c3fcc9a115248c3dd5 /vcl/source/edit/textdata.cxx
parent545fafea1a21902b16b80c3aa2545f6e4b6f3565 (diff)
change timers to idles
Change-Id: I224976e75b020d03e4b0d8beb79ad1c1310e8874
Diffstat (limited to 'vcl/source/edit/textdata.cxx')
-rw-r--r--vcl/source/edit/textdata.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/edit/textdata.cxx b/vcl/source/edit/textdata.cxx
index a6bd6ac224f0..b4f5047f689f 100644
--- a/vcl/source/edit/textdata.cxx
+++ b/vcl/source/edit/textdata.cxx
@@ -223,6 +223,7 @@ IdleFormatter::IdleFormatter()
{
mpView = 0;
mnRestarts = 0;
+ SetPriority(VCL_IDLE_PRIORITY_HIGH);
}
IdleFormatter::~IdleFormatter()
@@ -240,7 +241,7 @@ void IdleFormatter::DoIdleFormat( TextView* pV, sal_uInt16 nMaxRestarts )
if ( mnRestarts > nMaxRestarts )
{
mnRestarts = 0;
- ((Link&)GetTimeoutHdl()).Call( this );
+ ((Link&)GetIdleHdl()).Call( this );
}
else
{
@@ -254,7 +255,7 @@ void IdleFormatter::ForceTimeout()
{
Stop();
mnRestarts = 0;
- ((Link&)GetTimeoutHdl()).Call( this );
+ ((Link&)GetIdleHdl()).Call( this );
}
}