summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
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 16:25:04 +0100
commit74acf925171dacdc4c0ad58a6d8edabb1e6c3144 (patch)
tree103478d114e74df3d21f7123cd0ce2e698e6085f /vcl/source/app/svapp.cxx
parentc68a71026341b586e594048b42d18e2a94ad52d2 (diff)
lok: Unit test for setting of the language during load of the document.
Change-Id: Idf4d3ba6b55be1f885f9d8fc89157e7e498d4e42
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 2efd08f451e9..f94e9094ae44 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -547,6 +547,14 @@ 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()
+{
+ Scheduler::ProcessEventsToIdle();
+}
+}
+
void Application::Yield()
{
ImplYield(true, false, 0);