summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-03-24 16:23:02 +0100
committerJan Holesovsky <kendy@collabora.com>2017-03-24 19:01:53 +0100
commit221247679bcbc2507d6f904f519040fc4467d4a1 (patch)
tree71df17cce099a21572589e81c8c8ed5bda20efe2 /vcl
parent5fefac660ae5d978843fd7abbc6db1fce0800566 (diff)
lok: Unit test for setting of the language during load of the document.
Change-Id: Idf4d3ba6b55be1f885f9d8fc89157e7e498d4e42
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/svapp.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index ecd87c90637a..409953bf42d5 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -544,6 +544,15 @@ void Scheduler::ProcessEventsToIdle()
}
}
+extern "C" {
+/// used by unit tests that test only via the LOK API
+SAL_DLLPUBLIC_EXPORT void unit_lok_process_events_to_idle()
+{
+ const SolarMutexGuard aGuard;
+ Scheduler::ProcessEventsToIdle();
+}
+}
+
void Application::Yield()
{
ImplYield(true, false, 0);