summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2017-01-04 12:06:42 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2017-01-17 16:08:47 +0100
commitfdc612619c1c133353026166206cea18c48089a6 (patch)
tree900ab53bc8d88ed4ab4b375e8a80136401bc3145 /extensions/source/bibliography
parent17bb38262471cf68167fa11ad875c2785f43a341 (diff)
Refactor Scheduler to add Task class
Moves all the "task-specific" stuff into a Task class and just keeps the "real" static Scheduler functions in the original Scheduler class. Change-Id: I9eb02d46e2bcf1abb06af5bab1fa0ee734d1984c
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r--extensions/source/bibliography/bibcont.cxx2
-rw-r--r--extensions/source/bibliography/toolbar.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/bibliography/bibcont.cxx b/extensions/source/bibliography/bibcont.cxx
index 834d400fae46..34292481a8b4 100644
--- a/extensions/source/bibliography/bibcont.cxx
+++ b/extensions/source/bibliography/bibcont.cxx
@@ -121,7 +121,7 @@ BibBookContainer::BibBookContainer(vcl::Window* pParent):
{
pBibMod = OpenBibModul();
aIdle.SetIdleHdl(LINK( this, BibBookContainer, SplitHdl));
- aIdle.SetPriority(SchedulerPriority::LOWEST);
+ aIdle.SetPriority(TaskPriority::LOWEST);
}
BibBookContainer::~BibBookContainer()
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index 9f5541d1fdfe..b62a03c0e1a9 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -202,7 +202,7 @@ BibToolBar::BibToolBar(vcl::Window* pParent, Link<void*,void> aLink)
Application::AddEventListener( LINK( this, BibToolBar, SettingsChanged_Impl ) );
aIdle.SetIdleHdl(LINK( this, BibToolBar, SendSelHdl));
- aIdle.SetPriority(SchedulerPriority::LOWEST);
+ aIdle.SetPriority(TaskPriority::LOWEST);
SetDropdownClickHdl( LINK( this, BibToolBar, MenuHdl));