diff options
author | Pranav Kant <pranavk@gnome.org> | 2015-07-12 23:22:51 +0530 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-28 15:04:14 +0200 |
commit | a433ea9f46cc1cc0de7282f3d360d70ad215aaa8 (patch) | |
tree | b086ec24770171fcb8fb598c70121bb699e3ba71 /include | |
parent | cb94e003c066033db96da62596022385794f281c (diff) |
lokdocview: Use a thread pool for most LOK calls
This is a thread pool with just single thread because LOK is
single threaded; using multiple threads in this case would be
useless.
Primary reason we are using a thread pool here is to avoid the
overhead in spawning a new thread for each LOK call.
Change-Id: Ibbfdb7cb0a8ef9f07bcc659e65ce8997716aa245
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitGtk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index 3f56f08b2dce..02789ad3f585 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -81,8 +81,8 @@ gboolean lok_doc_view_get_edit (LOKDocView* /// Posts the .uno: command to the LibreOfficeKit. void lok_doc_view_post_command (LOKDocView* pDocView, - const char* pCommand, - const char* pArguments); + const gchar* pCommand, + const gchar* pArguments); float lok_doc_view_pixel_to_twip (LOKDocView* pDocView, float fInput); |