summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorJennifer Liebel <jliebel94@gmail.com>2014-11-04 11:51:15 +0000
committerMichael Meeks <michael.meeks@collabora.com>2014-11-05 20:59:44 +0000
commitedabf0c5c1e7a74262e4e4e04da9760ede15f86d (patch)
tree9164079076b41c59b95950ea2384f49a26560b0b /editeng
parentd6e89e7516271d246b255ec5ebc752713da3dfd5 (diff)
changed some timer to idle
Change-Id: Ifd5e2d87732d3e537c7754e52be24ef768ecb8d9
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.hxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index 68ef6edcf255..9c44b36ddffb 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -182,7 +182,7 @@ struct FormatterFontMetric
sal_uInt16 GetHeight() const { return nMaxAscent+nMaxDescent; }
};
-class IdleFormattter : public Timer
+class IdleFormattter : public Idle
{
private:
EditView* pView;
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 9a46f587d06a..27c2ad9eee2b 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -145,7 +145,7 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
aStatusTimer.SetTimeout( 200 );
aStatusTimer.SetTimeoutHdl( LINK( this, ImpEditEngine, StatusTimerHdl ) );
- aIdleFormatter.SetTimeout( 5 );
+ aIdleFormatter.SetPriority( VCL_IDLE_PRIORITY_REPAINT );
aIdleFormatter.SetTimeoutHdl( LINK( this, ImpEditEngine, IdleFormatHdl ) );
aOnlineSpellTimer.SetTimeout( 100 );